Commits on Source (60)
-
charly.lamothe authored
-
charly.lamothe authored
-
Charly LAMOTHE authored
- Add error handling module (TODO: add logging over the code) - Record dataset parameters and model parameters - Begin compute_results, plotter and visualize files
-
Luc Giffon authored
-
Luc Giffon authored
rassemble le code dans un répertoire 'code' + update setup.py en conséquence + ajoute scikit-learn à requirements.txt
-
Luc Giffon authored
petit problème de nommage
-
Charly Lamothe authored
Luc new archi See merge request !1
-
Luc Giffon authored
-
Luc Giffon authored
-
Luc Giffon authored
-
Luc Giffon authored
-
Luc Giffon authored
-
Charly LAMOTHE authored
- Add train_on_subset option to specify on which subset the model will be trained (either train or dev); - find_dotenv() only working by specifying the example env on my machine? - Add the seeds option to specify the seed(s) to use, and remove the use_random_seed, because it's obv if random_seed_number is used; - Use a logger in train.py instead of prints.
-
Charly Lamothe authored
Luc manage normalization See merge request !2
-
Charly LAMOTHE authored
- In compute_results, add loadenv, load raw results, and update experiment_ids so that it's possible to specify a list of experiments ids. The default behavior is to load all exp ids; - Fix normalization option in train.py. By default it normalizes D, and it doesn't when specify wo_normalization option; - Fix logger.warn to logger.warning in train.py - Replace the dumping of result in trainer.py by a dedicated class to save and load the trained model and training metadatas: model_raw_results.py; - Rename too long func DatasetLoader.load_from_name to DatasetLoader.load; - Add loading functions in dataset_parameters and model_parameters; - Set console logging level to INFO to summarize the most important console logs; - Add a load function in model_factory; - In omp_forest_regressor, move private funcs to the bottom of the file. TODO: compute the plot from the loaded raw results in compute_results file.
-
Charly LAMOTHE authored
- Update requirements packages.
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
- Fix bug of resolve_experiment_id after 10 exp ids; - Display the new experiment id at the beginning of the training; - For now there's only a simple losses plot in compute_results.
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
- Save and load json files from __dict__.
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Léo Bouscarrat authored
-
Léo Bouscarrat authored
-
Charly LAMOTHE authored
- Add a TODO for the subset in train - Remove an useless new line
-
Charly Lamothe authored
Resolve "Add plots" See merge request !5
-
Charly LAMOTHE authored
Replace use_dev_subset by subsets_used parameter, in order to specify more clearly which combination of train dev to used to train the forest and OMP
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
- Use as much CPU as possible when training a random forest regressor.
-
Charly LAMOTHE authored
- Add experiment_configuration parameter to run an experiment from a json configuration file. If the experiment configuration are commnig from the arguments, save it to a file to keep trace of it; - Add few comments in train.py.
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
-
Charly LAMOTHE authored
Introduce the notion of "stage" in the experiments (see TODO comment in compute_results.py file. Add example of experiment configuration file tree in experiments/boston/stage3 for stage 3 (unoptimized parameters due to missing stage 1 and 2 results).
-
Léo Bouscarrat authored
-
Luc Giffon authored
-
Luc Giffon authored
Big changes: Create intermediate classes OMPForest and SingleOmpForest for code factoring: share code between OmpForestRegressor and OmpForestBinaryClassifer. Remove set_wweights and set_forest which are not relevant anymore. load function from model_factory isn't trustfull now: raises an error. TODO: multiclass classifier
-
Luc Giffon authored
-
Luc Giffon authored
-
Luc Giffon authored
-
Luc Giffon authored
-
Léo Bouscarrat authored
When training, look if there is bayesian search results, if yes use this. Exception: forest_size use the one given by parser if applicable
-
Charly Lamothe authored
- Fix small typos and issues; - Add some best hyperparameters (TODO: fix score for regression task, and separate best parameters for regression and classif tasks).
-
Charly Lamothe authored
- Update wrong load_dotenv in compute_results and compute_hyperparams; - Replace old remaining task.CLASSIFICATION enum.
-
Charly Lamothe authored
- Move bolsonaro imports on top of the file in compute_hyperparam file; - Move change_binary_func_load to utils file.
-
Charly Lamothe authored
-
Charly Lamothe authored
- Update TODO list.
-
Léo Bouscarrat authored
-
Léo Bouscarrat authored
(
-
Léo Bouscarrat authored
-
Charly Lamothe authored
clean scripts See merge request !3
Showing
- .gitignore 287 additions, 0 deletions.gitignore
- README.md 11 additions, 0 deletionsREADME.md
- TODO.md 7 additions, 8 deletionsTODO.md
- bolsonaro/data/__init__.py 0 additions, 0 deletionsbolsonaro/data/__init__.py
- bolsonaro/data/make_dataset.py 0 additions, 0 deletionsbolsonaro/data/make_dataset.py
- bolsonaro/example.py 0 additions, 3 deletionsbolsonaro/example.py
- bolsonaro/models/__init__.py 0 additions, 0 deletionsbolsonaro/models/__init__.py
- bolsonaro/models/create_model.py 0 additions, 0 deletionsbolsonaro/models/create_model.py
- bolsonaro/utils.py 0 additions, 3 deletionsbolsonaro/utils.py
- bolsonaro/visualization/__init__.py 0 additions, 0 deletionsbolsonaro/visualization/__init__.py
- bolsonaro/visualization/visualize.py 0 additions, 0 deletionsbolsonaro/visualization/visualize.py
- code/bolsonaro/__init__.py 3 additions, 0 deletionscode/bolsonaro/__init__.py
- code/bolsonaro/data/.gitkeep 0 additions, 0 deletionscode/bolsonaro/data/.gitkeep
- code/bolsonaro/data/__init__.py 3 additions, 0 deletionscode/bolsonaro/data/__init__.py
- code/bolsonaro/data/dataset.py 43 additions, 0 deletionscode/bolsonaro/data/dataset.py
- code/bolsonaro/data/dataset_loader.py 94 additions, 0 deletionscode/bolsonaro/data/dataset_loader.py
- code/bolsonaro/data/dataset_parameters.py 42 additions, 0 deletionscode/bolsonaro/data/dataset_parameters.py
- code/bolsonaro/data/task.py 7 additions, 0 deletionscode/bolsonaro/data/task.py
- code/bolsonaro/error_handling/__init__.py 29 additions, 0 deletionscode/bolsonaro/error_handling/__init__.py
- code/bolsonaro/error_handling/logger_factory.py 66 additions, 0 deletionscode/bolsonaro/error_handling/logger_factory.py
bolsonaro/data/__init__.py
deleted
100644 → 0
bolsonaro/data/make_dataset.py
deleted
100644 → 0
bolsonaro/example.py
deleted
100644 → 0
bolsonaro/models/__init__.py
deleted
100644 → 0
bolsonaro/models/create_model.py
deleted
100644 → 0
bolsonaro/utils.py
deleted
100644 → 0
bolsonaro/visualization/__init__.py
deleted
100644 → 0
bolsonaro/visualization/visualize.py
deleted
100644 → 0
code/bolsonaro/__init__.py
0 → 100644
code/bolsonaro/data/__init__.py
0 → 100644
code/bolsonaro/data/dataset.py
0 → 100644
code/bolsonaro/data/dataset_loader.py
0 → 100644
code/bolsonaro/data/dataset_parameters.py
0 → 100644
code/bolsonaro/data/task.py
0 → 100644
code/bolsonaro/error_handling/__init__.py
0 → 100644