signaux-faibles / predictsignauxfaibles

Dépôt du code python permettant la production de liste de prédiction Signaux Faibles.
MIT License
6 stars 1 forks source link

Feat/optional arguments #51

Closed slebastard closed 3 years ago

slebastard commented 3 years ago

This branch adds optional arguments to python3 -m predictsignauxfaibles using argparse, and stores final values used for training, testing and predicting into dictionary model_stats. Solves #46: as he ArgumentParser is called once with all optional arguments considered, the help message becomes exhaustive. You can now try python3 -m predictsignauxfaibles --help and get a full list of optional arguments, including the size of the training/test/predict sets, the starting and ending date determining train and test sets, and the month to predict failures on.