Commit c857fcf6 authored by Stephan Artmann's avatar Stephan Artmann

Restored Nicos Changes.

parent fc7bdf19
......@@ -56,16 +56,27 @@ clean.human #human readable table
clean.translations #table matching human readible strings to machine readible strings
clean.one_hot #one-hot encoded table
```
***Note**: This code assumes that the xls-Tables have not changed and loads pre-computed cleaned tables. If you work with new xls-Tables, or if they have changed, change the second line to*
```
clean = clp.clean_table(reload_tables=True)
```
The corresponding code files can be found in ```src/cleanup/cleanup.py```.
In order to include the additional data found on the WorldPop Project website, it is necessary to place the .tif files in
```data/external/literacy/```, ```data/external/population/``` and ```data/external/poverty/```.
## Predictions
tbd
The folders containing the scripts of the logistic regression and the random forest are located in ```src/```.
Each model has its own script.
The commands required to train/predict a model can be found in the first lines of the corresponding model script.
The input features as well as the training/testing mode can be adjusted in the main function of the scripts.
## Visualisations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment