-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* option for either Regression or Classification model * fine tuned selection of conflict data points * option to provide ML target variable * use simulation_name as output dir * data extraction from netCDF files in a separate function * target variable and estimator used determined in main script * should belong to previous commit * first step towards flexible target_vars when extracting conflict (Y) data * added class docstrings * constructing X and Y data as dataframes instead of arrays * no log-scale support for now, more consistent treatment of polygons w/o feature data * removing all polygons with 1 or more NaNs * fully pd.dataframe support implemented * save only selected conflicts which fall in simulation period * finetuning print output * no random state set for Kfold in GridSearchCV to ensure all n models are fitted on different data * better handling of cores via command line * remove content of output dir to avoid conflicts with expected files * settings parsed for projections with new yaml file structure * udpated docstring for load_estimators * fixed definition of projection period * reinitated initiate_X_data function * saving files as GPKG instead GeoJSON * no output for None output from rasterstats * make run_prediction() work * apply isort * no ML target var for nwo * fix Geopandas driver * corrected number of function arguments
- Loading branch information
1 parent
338021e
commit ecdc385
Showing
17 changed files
with
463 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.