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 individual modules to be specified by string for config dicts. For example ["LogisticRegression", "KNN"] etc. #60

Closed
perib opened this issue Sep 28, 2023 · 1 comment
Labels
API enhancement New feature or request

Comments

@perib
Copy link
Collaborator

perib commented Sep 28, 2023

Add a function that takes in a string name for a sklearn pipeline or the sklearn type (e.g "LogisticRegression" OR sklearn.linear_model.LogisticRegression) and returns the appropriate params function. So that we can support users easily choosing a specific set of operators one by one. (e.g. root_config_dict=["logisticregression", "randomforest"]). This function should take the following parameters name, n_samples, n_features, classification, subsets=None, feature_names=None, n_classes=None. It will be used in this function https://github.com/EpistasisLab/tpot2/blob/main/tpot2/tpot_estimator/estimator_utils.py#L24C43-L24C130

@perib
Copy link
Collaborator Author

perib commented Sep 30, 2024

now supported with the new search space API

@perib perib closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants