Created
October 7, 2021 11:45
-
-
Save omchaithanyav/cd768f065303fd49f3dc43865230c044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flaml import AutoML | |
# Initialize | |
automl = AutoML() | |
# Specify the constraints | |
automl_settings = { | |
"time_budget": 10, # in seconds | |
"metric": 'accuracy', | |
"task": 'classification', | |
"log_file_name": "iris.log", | |
} | |
X_train, y_train = X, y | |
automl.fit(X_train=X_train, y_train=y_train, **automl_settings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment