Changelog¶
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2025-02-05¶
Features¶
- made optional params Optional in Pydantic definition (01b060d by mgrapotte).
Bug Fixes¶
- added to gitignore. (c2f6c03 by mgrapotte).
- sometimes tuning reports no best trial found (daf30f2 by mgrapotte).
- added extra tests. (503048a by mgrapotte).
- tune should output results (e0ee5a3 by mgrapotte).
- added error checking for checking that output of tune is not None (d9e1bd5 by mgrapotte).
- fixed bad arg definition. (ddcc969 by mgrapotte).
- fix documentation error in check_model (7af84d0 by mgrapotte).
- fixed pytest not closing files and moved ray init outside of check_model. (15a92de by mgrapotte).
- run make format (f8dcaf6 by mgrapotte).
- ran make format (58cc43c by mgrapotte).
- added comments and ran make format (200e30a by mgrapotte).
- added debug section for checking tensor shapes and make format (748b887 by mgrapotte).
- fix linting issues (6ea4bb0 by mgrapotte).
- run make format (4256e88 by mgrapotte).
- correct tensor shapes. - stack during forward was not well executed - target shape was incorrect (b37f099 by mgrapotte).
- make format (189aab7 by mgrapotte).
- current implementation was considering everything as a slice. (539089d by mgrapotte).
- pass data refs through config instead of function def (fe76db1 by mgrapotte).
- replace bad model_param keyword with network_params in config (476b322 by mgrapotte).
- fixed arg issue (86cd582 by mgrapotte).
- fixed data init to be within the trainable setup, this prevents from passing data through ray object store (3e83e8b by mgrapotte).
- fix issue where raytune was not shutting down properly (74c1944 by mgrapotte).
- make format (789591f by mgrapotte).
- add init.py to make linter happy (01bf0bf by mgrapotte).
- fixed issues in raytune_learner (45e3292 by mgrapotte).
- fixed import error. (15f809f by mgrapotte).
- main was calling args.json instead of args.yaml (b5265b5 by mgrapotte).
- fix imports in raytune_learner (5bf0481 by mgrapotte).
- resolve merge conflicts (5e6faa0 by mgrapotte).
- added mode field to custom parameter class (8f8cd06 by mgrapotte).
- added arbitrary_type support for Domain (72e692e by mgrapotte).
- changed order of validator to output better error messages (39f1d0c by mgrapotte).
- modified gpu test config to accomodate for new Pydantic format (97158b5 by mgrapotte).
- fixed linting by adding punctuation to main docstring (c075a12 by mgrapotte).
- model_ is a pydantic protected namespace, replaced by network_ (d94df0a by mgrapotte).
Code Refactoring¶
- removed analysis default as it was outdated (3833486 by mgrapotte).
- use ray grid instead of dict. (6f6471e by mgrapotte).
- added error detection for tuning parsing. (31f833c by mgrapotte).
- refactored tuning cli to comply with current implementations. (8d627ed by mgrapotte).
- refactored check_model cli (ac60446 by mgrapotte).
- removed unused launch utils. (4e4519d by mgrapotte).
- fixed import to use refactored classes and removed unused flag with current paradigm (f014373 by mgrapotte).
- removed check_ressources function (088f85c by mgrapotte).
- explicit declaration of RunConfig (d2ceca8 by mgrapotte).
- refactored TuneConfig creation (47061ce by mgrapotte).
- now takes as input the seed instead of loading it from the config (270f068 by mgrapotte).
- now takes as input the model config directly instead of path (1868e71 by mgrapotte).
- run make format (07ca1c6 by mgrapotte).
- removed ressource allocation specifics since ray cluster will be initialized outside of the python script (7fb60d0 by mgrapotte).
- modified model_schema to output pydantic class instead of dumped model (d0f6d07 by mgrapotte).
- YamlConfigLoader now fully depends on pydantic class (4931f3b by mgrapotte).
- class YamlRayConfigLoader should properly use Pydantic classes (7241179 by mgrapotte). todo: Pydantic class does not yet use TunableParameters, YamlRayConfigLoader should be adapted for this (mostly the convert to ray method)
- moved validation from space_selector to pydantic (5bc0008 by mgrapotte).
- adding a pydantic class for dealing with tunable parameters (9213522 by mgrapotte).
- reverted changes for adding raytune objects in yaml config. (660fdc3 by mgrapotte).
- added Pydantic classes for parsing model yaml (6ee91ea by mgrapotte).
- have model yaml take ray search space directly (1ee47aa by mgrapotte).
- improve TransformLoader initialization and organization (94ca92b by mgrapotte).
- implement initial manager classes for dataset handling (f27101d by mgrapotte).
0.2.1 - 2025-02-05¶
0.2.2 - 2025-02-05¶
Bug Fixes¶
- remove deprecated tests from analysis types. (1dc4ed9 by mgrapotte).
- removed deprecated types from analysis in init.py. (7a7390f by mgrapotte).
- added split-yaml removed deprecated split json and run analysis-default. (ddd9c9f by mgrapotte).
Code Refactoring¶
- removed analysis cli since it is deprecated. (e2f44cf by mgrapotte).
Feedback
Changelog¶
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2025-02-05¶
Features¶
- made optional params Optional in Pydantic definition (01b060d by mgrapotte).
Bug Fixes¶
- added to gitignore. (c2f6c03 by mgrapotte).
- sometimes tuning reports no best trial found (daf30f2 by mgrapotte).
- added extra tests. (503048a by mgrapotte).
- tune should output results (e0ee5a3 by mgrapotte).
- added error checking for checking that output of tune is not None (d9e1bd5 by mgrapotte).
- fixed bad arg definition. (ddcc969 by mgrapotte).
- fix documentation error in check_model (7af84d0 by mgrapotte).
- fixed pytest not closing files and moved ray init outside of check_model. (15a92de by mgrapotte).
- run make format (f8dcaf6 by mgrapotte).
- ran make format (58cc43c by mgrapotte).
- added comments and ran make format (200e30a by mgrapotte).
- added debug section for checking tensor shapes and make format (748b887 by mgrapotte).
- fix linting issues (6ea4bb0 by mgrapotte).
- run make format (4256e88 by mgrapotte).
- correct tensor shapes. - stack during forward was not well executed - target shape was incorrect (b37f099 by mgrapotte).
- make format (189aab7 by mgrapotte).
- current implementation was considering everything as a slice. (539089d by mgrapotte).
- pass data refs through config instead of function def (fe76db1 by mgrapotte).
- replace bad model_param keyword with network_params in config (476b322 by mgrapotte).
- fixed arg issue (86cd582 by mgrapotte).
- fixed data init to be within the trainable setup, this prevents from passing data through ray object store (3e83e8b by mgrapotte).
- fix issue where raytune was not shutting down properly (74c1944 by mgrapotte).
- make format (789591f by mgrapotte).
- add init.py to make linter happy (01bf0bf by mgrapotte).
- fixed issues in raytune_learner (45e3292 by mgrapotte).
- fixed import error. (15f809f by mgrapotte).
- main was calling args.json instead of args.yaml (b5265b5 by mgrapotte).
- fix imports in raytune_learner (5bf0481 by mgrapotte).
- resolve merge conflicts (5e6faa0 by mgrapotte).
- added mode field to custom parameter class (8f8cd06 by mgrapotte).
- added arbitrary_type support for Domain (72e692e by mgrapotte).
- changed order of validator to output better error messages (39f1d0c by mgrapotte).
- modified gpu test config to accomodate for new Pydantic format (97158b5 by mgrapotte).
- fixed linting by adding punctuation to main docstring (c075a12 by mgrapotte).
- model_ is a pydantic protected namespace, replaced by network_ (d94df0a by mgrapotte).
Code Refactoring¶
- removed analysis default as it was outdated (3833486 by mgrapotte).
- use ray grid instead of dict. (6f6471e by mgrapotte).
- added error detection for tuning parsing. (31f833c by mgrapotte).
- refactored tuning cli to comply with current implementations. (8d627ed by mgrapotte).
- refactored check_model cli (ac60446 by mgrapotte).
- removed unused launch utils. (4e4519d by mgrapotte).
- fixed import to use refactored classes and removed unused flag with current paradigm (f014373 by mgrapotte).
- removed check_ressources function (088f85c by mgrapotte).
- explicit declaration of RunConfig (d2ceca8 by mgrapotte).
- refactored TuneConfig creation (47061ce by mgrapotte).
- now takes as input the seed instead of loading it from the config (270f068 by mgrapotte).
- now takes as input the model config directly instead of path (1868e71 by mgrapotte).
- run make format (07ca1c6 by mgrapotte).
- removed ressource allocation specifics since ray cluster will be initialized outside of the python script (7fb60d0 by mgrapotte).
- modified model_schema to output pydantic class instead of dumped model (d0f6d07 by mgrapotte).
- YamlConfigLoader now fully depends on pydantic class (4931f3b by mgrapotte).
- class YamlRayConfigLoader should properly use Pydantic classes (7241179 by mgrapotte). todo: Pydantic class does not yet use TunableParameters, YamlRayConfigLoader should be adapted for this (mostly the convert to ray method)
- moved validation from space_selector to pydantic (5bc0008 by mgrapotte).
- adding a pydantic class for dealing with tunable parameters (9213522 by mgrapotte).
- reverted changes for adding raytune objects in yaml config. (660fdc3 by mgrapotte).
- added Pydantic classes for parsing model yaml (6ee91ea by mgrapotte).
- have model yaml take ray search space directly (1ee47aa by mgrapotte).
- improve TransformLoader initialization and organization (94ca92b by mgrapotte).
- implement initial manager classes for dataset handling (f27101d by mgrapotte).
0.2.1 - 2025-02-05¶
0.2.2 - 2025-02-05¶
Bug Fixes¶
- remove deprecated tests from analysis types. (1dc4ed9 by mgrapotte).
- removed deprecated types from analysis in init.py. (7a7390f by mgrapotte).
- added split-yaml removed deprecated split json and run analysis-default. (ddd9c9f by mgrapotte).
Code Refactoring¶
- removed analysis cli since it is deprecated. (e2f44cf by mgrapotte).
Feedback
SUMMARY
Feedback
SUMMARY
Feedback
cli ¶
Command line interface package for the stimulus library.
Modules:
-
check_model
–CLI module for checking model configuration and running initial tests.
-
predict
–CLI module for model prediction on datasets.
-
shuffle_csv
–CLI module for shuffling CSV data files.
-
split_csv
–CLI module for splitting CSV data files.
-
split_yaml
–CLI module for splitting YAML configuration files.
-
transform_csv
–CLI module for transforming CSV data files.
-
tuning
–CLI module for running raytune tuning experiment.
Feedback
cli ¶
Command line interface package for the stimulus library.
Modules:
-
check_model
–CLI module for checking model configuration and running initial tests.
-
predict
–CLI module for model prediction on datasets.
-
shuffle_csv
–CLI module for shuffling CSV data files.
-
split_csv
–CLI module for splitting CSV data files.
-
split_yaml
–CLI module for splitting YAML configuration files.
-
transform_csv
–CLI module for transforming CSV data files.
-
tuning
–CLI module for running raytune tuning experiment.
Feedback
encoding ¶
Encoding package for data transformation.
Modules:
-
encoders
–This file contains encoders classes for encoding various types of data.
Feedback
encoding ¶
Encoding package for data transformation.
Modules:
-
encoders
–This file contains encoders classes for encoding various types of data.
Feedback
data ¶
Data handling and processing module.
This module provides functionality for loading, transforming, and managing data in various formats like CSV. It includes classes and utilities for:
- Loading and processing CSV data files
- Applying data transformations and augmentations
- Splitting data into train/validation/test sets
- Converting data into PyTorch datasets
Modules:
-
data_handlers
–This module provides classes for handling CSV data files in the STIMULUS format.
-
encoding
–Encoding package for data transformation.
-
handlertorch
–This file provides the class API for handling the data in pytorch using the Dataset and Dataloader classes.
-
loaders
–Loaders serve as interfaces between the CSV master class and custom methods.
-
splitters
–This package provides splitter classes for splitting data into train, validation, and test sets.
-
transform
–Transform package for data manipulation.
Feedback
data ¶
Data handling and processing module.
This module provides functionality for loading, transforming, and managing data in various formats like CSV. It includes classes and utilities for:
- Loading and processing CSV data files
- Applying data transformations and augmentations
- Splitting data into train/validation/test sets
- Converting data into PyTorch datasets
Modules:
-
data_handlers
–This module provides classes for handling CSV data files in the STIMULUS format.
-
encoding
–Encoding package for data transformation.
-
handlertorch
–This file provides the class API for handling the data in pytorch using the Dataset and Dataloader classes.
-
loaders
–Loaders serve as interfaces between the CSV master class and custom methods.
-
splitters
–This package provides splitter classes for splitting data into train, validation, and test sets.
-
transform
–Transform package for data manipulation.
Feedback
transform ¶
Transform package for data manipulation.
Modules:
-
data_transformation_generators
–This file contains noise generators classes for generating various types of noise.
Feedback
transform ¶
Transform package for data manipulation.
Modules:
-
data_transformation_generators
–This file contains noise generators classes for generating various types of noise.
Feedback
stimulus ¶
stimulus-py package.
Modules:
-
cli
–Command line interface package for the stimulus library.
-
data
–Data handling and processing module.
-
debug
–Debugging utilities.
-
learner
–Learner package for model training and evaluation.
-
typing
–Typing for Stimulus Python API.
-
utils
–Utility functions package.
Feedback
stimulus ¶
stimulus-py package.
Modules:
-
cli
–Command line interface package for the stimulus library.
-
data
–Data handling and processing module.
-
debug
–Debugging utilities.
-
learner
–Learner package for model training and evaluation.
-
typing
–Typing for Stimulus Python API.
-
utils
–Utility functions package.
Feedback
learner ¶
Learner package for model training and evaluation.
Modules:
-
predict
–A module for making predictions with PyTorch models using DataLoaders.
-
raytune_learner
–Ray Tune wrapper and trainable model classes for hyperparameter optimization.
-
raytune_parser
–Ray Tune results parser for extracting and saving best model configurations and weights.
Feedback
learner ¶
Learner package for model training and evaluation.
Modules:
-
predict
–A module for making predictions with PyTorch models using DataLoaders.
-
raytune_learner
–Ray Tune wrapper and trainable model classes for hyperparameter optimization.
-
raytune_parser
–Ray Tune results parser for extracting and saving best model configurations and weights.
Feedback
typing ¶
Typing for Stimulus Python API.
This module contains all Stimulus types which will be used for variable typing and likely not instantiated, as well as aliases for other types to use for typing purposes.
The aliases from this module should be used for typing purposes only.
Feedback
typing ¶
Typing for Stimulus Python API.
This module contains all Stimulus types which will be used for variable typing and likely not instantiated, as well as aliases for other types to use for typing purposes.
The aliases from this module should be used for typing purposes only.
Feedback
utils ¶
Utility functions package.
Modules:
-
generic_utils
–Utility functions for general purpose operations like seed setting and tensor manipulation.
-
launch_utils
–Utility functions for launching and configuring experiments and ray tuning.
-
performance
–Utility module for computing various performance metrics for machine learning models.
-
yaml_data
–Utility module for handling YAML configuration files and their validation.
-
yaml_model_schema
–Module for handling YAML configuration files and converting them to Ray Tune format.
Feedback
utils ¶
Utility functions package.
Modules:
-
generic_utils
–Utility functions for general purpose operations like seed setting and tensor manipulation.
-
launch_utils
–Utility functions for launching and configuring experiments and ray tuning.
-
performance
–Utility module for computing various performance metrics for machine learning models.
-
yaml_data
–Utility module for handling YAML configuration files and their validation.
-
yaml_model_schema
–Module for handling YAML configuration files and converting them to Ray Tune format.