Skip to content

Commit

Permalink
Add list of possible primitive types
Browse files Browse the repository at this point in the history
  • Loading branch information
roquelopez committed May 31, 2024
1 parent 73a5889 commit 895ff33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions alpha_automl/automl_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,13 @@ def get_pipeline(self, pipeline_id=None):

def add_primitives(self, new_primitives):
"""
Add new primitives.
Add new primitives to the search space.
:param new_primitives: Set of new primitives, tuples of name and object primitive
:param new_primitives: Set of new primitives, tuples of name and object primitive. Possible names are:
`IMPUTER`, `FEATURE_GENERATOR`, `FEATURE_SCALER`, `FEATURE_SELECTOR`, `TEXT_ENCODER`, `CATEGORICAL_ENCODER`,
`DATETIME_ENCODER`, `IMAGE_ENCODER`, `CLASSIFICATION_SINGLE_ENSEMBLER`, `CLASSIFICATION_MULTI_ENSEMBLER`,
`REGRESSION_SINGLE_ENSEMBLER`, `REGRESSION_MULTI_ENSEMBLER`, `CLASSIFIER`, `REGRESSOR`, `CLUSTERER`,
`TIME_SERIES_FORECASTER`, `SEMISUPERVISED_SELFTRAINER`, and `SEMISUPERVISED_LABELPROPAGATOR`
"""
for primitive_object, primitive_type in new_primitives:
#check_input_for_multiprocessing(self._start_method, primitive_object, 'primitive')
Expand Down

0 comments on commit 895ff33

Please sign in to comment.