Last updated: 2021-03-24

Checks: 5 1

Knit directory: thesis/analysis/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210321) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Tracking code development and connecting the code version to the results is critical for reproducibility. To start using Git, open the Terminal and type git init in your project directory.


This project is not being versioned with Git. To obtain the full reproducibility benefits of using workflowr, please see ?wflow_start.


1 Predicting violent conflict in Africa - Leveraging open geodata and deep learning for spatiotemporal event detection

1.1 Abstract

Violent conflicts endanger human lives, the social cohesion of societies and the natural environment. While the number of intensive international conflicts has remained on a low level during the 21st century, civil wars are on the rise. Since the 1990s, research engages in predicting the outbreak of violence. However, findings on the role the natural environment plays in the emergence of violence remain mostly inconclusive. In order to contribute to the discussion this thesis sets out to compare the predictive performance of deep learning models using data from the Uppsala Conflict Data Program (UCDP) on civil conflict between 2001 to 2019. The data is simultaneously aggregated on administrative districts and sub-basin watersheds and combined with socio-economic and environmental predictors. The hyperparameters of CNN-LSTM architectures are optimized employing a Bayesian Optimization strategy. The results in terms of F2-score suggest significant improvements for aggregating predictors on sub-basin watersheds (+7.16,p=3.4e-11) as well as integrating environmental predictors (+3.98,p=5.9e-05) for a combined conflict class. For other conflict classes, the results tend to the same direction but are not significant. Through the comparison to existing conflict prediction tools, the thesis exposes the sensitivity of prediction models to spatial scale and units of aggregation. It is argued that in order to fulfill the requirements of effective conflict prevention efforts, prediction research will have to fully integrate modern deep learning frameworks and constant data streams on different earth processes in the future.

1.2 Graphical Abstract

1.3 Disclaimer

This thesis was submitted to the Department of Geography, University of Marburg, in partial fulfillment of the requirements for the degree of M.Sc. Phyisical Geography. It was written by customizing the huwiwidown template of the Berlin School of Buisness and Economics, HU Berlin. The online version of the thesis just wraps the original R Markdown files which were written to produce LaTex and builds a workflowr project out of it. By the conversion to html some outputs my render not totally as expected. However, you can download the original pdf version from here. All code available in this repository is licensed under GPL-3.

1.3.1 Assets

  • Link to Website

  • Link to presentation

  • Link to pdf


sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.5.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=C             
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] stringr_1.4.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5        knitr_1.31        magrittr_2.0.1    workflowr_1.6.2  
 [5] R6_2.5.0          rlang_0.4.10      tools_3.6.3       xfun_0.21        
 [9] git2r_0.27.1      htmltools_0.5.1.1 ellipsis_0.3.1    yaml_2.2.1       
[13] digest_0.6.27     rprojroot_2.0.2   tibble_3.0.6      lifecycle_0.2.0  
[17] crayon_1.4.0      bookdown_0.21     later_1.1.0.1     vctrs_0.3.6      
[21] fs_1.5.0          promises_1.1.1    glue_1.4.2        evaluate_0.14    
[25] rmarkdown_2.7.3   stringi_1.5.3     compiler_3.6.3    pillar_1.4.7     
[29] httpuv_1.5.5      pkgconfig_2.0.3