Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow passing feature extractors on init #116

Merged
merged 3 commits into from
Jun 28, 2023

Conversation

ofrimasad
Copy link
Collaborator

This allows the user to pass feature extractors (one or more. as a sting, type, or instance) when initializing the Manager.
That way, the user can choose a small subset of FEs without manipulating the YAML

This allows the user to simply choose one or few FEs without manipulating the YAML
Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few small comments, but looks great!
Besides what I already wrote, I think that _get_grouped_feature_extractors should actually be a function moved to the config utils, because it is solely about loading the config and doesnt incorporate any concept of the AnalysisManager.

src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/detection_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/detection_manager.py Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@ofrimasad ofrimasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed

src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/abstract_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/detection_manager.py Outdated Show resolved Hide resolved
src/data_gradients/managers/detection_manager.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ofrimasad ofrimasad merged commit 5920672 into master Jun 28, 2023
@ofrimasad ofrimasad deleted the feature/DG-000_allow_passing_fe_on_init branch June 28, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants