Work in progress
Perform all steps listed here to complete setup
pip install -r requirements.txt
- Login on https://data.castoredc.com
- Create an API Client ID and Client Secret in your Castor account settings
- Save the client_id (string with dashes) in a file called 'client'
- Save the client_secret (long alphanumerical string) in a file called 'secret'
- Put these two files in one seperate private folder
- Fill in paths to API-credentials and/or path to files in
covid19_createconfig.py
. Do not push this file filled in to master. - Run
covid19_createconfig.py
-
Change parameters at the bottom of
covid19_ICU_admission.py __main__
to set:- The prediction goal (
goal
) - Variables to include in the prediction (
variables_to_include
). These are based on the variables names used in Castor anddata_struct
- The
model
to use, these are classes stored in.\Classifiers
.
- The prediction goal (
-
Run the file from an editor or command line
python covid19_ICU_admission.py
Add new models by using the blueprint in .\Classifiers\classifier_blueprint.py
. Read the comments within the file carefully and do NOT change the prewritten variables. DO NOT edit the blueprint file but copy it.
See https://github.com/wouterpotters/castor-python
For questions:
API: Wouter Potters
Pipeline: Maarten Ottenhoff