Giter Site home page Giter Site logo

conflictrisk's Introduction

1.Description

Replication materials for Q Ge#, M Hao#, F Ding*, D Jiang*, J Scheffran, D Helman, T Ide. (2022). Modelling armed conflict risk under climate change with machine learning and time-series data.

The materials in this repository allow users to reproduce the data analysis appearing in the paper.

If you have questions or suggestions, please contact Fangyu Ding at [email protected] or [email protected]

2.Acknoledgemnet

We acknowledge to authors of R packages used in this study.

3.System requirements

Operating systems: Win 7/8/10.

Software: R (Version X64 3.3/3.4/3.5) and Python (Version X64 3.6)

Memory capacity: 16G/32G/64G

Note: There must be an E disk, and the remaining capacity of the disk must be higher than 450G. It is recommended to build an operating environment on a workstation or server.

4.Installation

Firstlly, we need to install some packages in R platform:

install.packages("caret")

install.packages("ggplot2")

install.packages("nnet")

install.packages("e1071")

install.packages("ROCR")

install.packages("RColorBrewer")

install.packages("MLmetrics")

install.packages("ggthemes")

install.packages("coin")

install.packages("plotrix")

install.packages("dismo")

install.packages("gbm")

install.packages("car")

5.Dataset

The authors declare that all data supporting the findings were obtained from open data.

6.Examples

Running the code (Steps 1,2,3 and 4 section) in "StrategyA-12M-modelling.R", "StrategyA-24M-modelling.R", "StrategyB-12M-modelling.R" and "StrategyB-24M-modelling.R".

Running the code in "StatisticalTest.R" to make a statistical analysis (collinearity test and significance analysis).

Running the code in "Performance-Estimated.R" to analyze the performance of the ensemble models.

conflictrisk's People

Contributors

celyon avatar

Stargazers

Alex Zakotyanskyi avatar  avatar Adi Tantravahi avatar Mingxi Zhang avatar  avatar  avatar jay avatar  avatar

Watchers

 avatar

Forkers

mldavies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.