evalml.automl.AutoMLSearch¶
-
class
evalml.automl.
AutoMLSearch
(X_train=None, y_train=None, problem_type=None, objective='auto', max_iterations=None, max_time=None, patience=None, tolerance=None, data_splitter=None, allowed_component_graphs=None, allowed_model_families=None, start_iteration_callback=None, add_result_callback=None, error_callback=None, additional_objectives=None, alternate_thresholding_objective='F1', random_seed=0, n_jobs=- 1, tuner_class=None, optimize_thresholds=True, ensembling=False, max_batches=None, problem_configuration=None, train_best_pipeline=True, pipeline_parameters=None, custom_hyperparameters=None, sampler_method='auto', sampler_balanced_ratio=0.25, _ensembling_split_size=0.2, _pipelines_per_batch=5, engine=None)[source]¶ Automated Pipeline search.
Methods
Automated pipeline search
Fits and evaluates a given pipeline then adds the results to the automl rankings with the requirement that automl search has been run.
Describe a pipeline
Given the ID of a pipeline training result, returns an untrained instance of the specified pipeline initialized with the parameters used to train that pipeline during automl search.
Loads AutoML object at file path
Saves AutoML object at file path
Score a list of pipelines on the given holdout data.
Find the best pipeline for the data set.
Train a list of pipelines on the training data.
Attributes
best_pipeline
Returns a trained instance of the best pipeline and parameters found during automl search.
full_rankings
Returns a pandas.DataFrame with scoring results from all pipelines searched
plot
rankings
Returns a pandas.DataFrame with scoring results from the highest-scoring set of parameters used with each pipeline.
results
Class that allows access to a copy of the results from automl_search.