mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
warning -> info for low cost partial config (#231)
* warning -> info for low cost partial config #195, #110 * when n_estimators < 0, use trained_estimator's * log debug info * test random seed * remove "objective"; avoid ZeroDivisionError * hp config to estimator params * check type of searcher * default n_jobs * try import * Update searchalgo_auto.py * CLASSIFICATION * auto_augment flag * min_sample_size * make catboost optional
This commit is contained in:
@@ -103,7 +103,7 @@ print(automl.model)
|
||||
|
||||
```python
|
||||
from flaml import AutoML
|
||||
from sklearn.datasets import load_boston
|
||||
from sklearn.datasets import fetch_california_housing
|
||||
# Initialize an AutoML instance
|
||||
automl = AutoML()
|
||||
# Specify automl goal and constraint
|
||||
@@ -113,7 +113,7 @@ automl_settings = {
|
||||
"task": 'regression',
|
||||
"log_file_name": "test/boston.log",
|
||||
}
|
||||
X_train, y_train = load_boston(return_X_y=True)
|
||||
X_train, y_train = fetch_california_housing(return_X_y=True)
|
||||
# Train with labeled input data
|
||||
automl.fit(X_train=X_train, y_train=y_train,
|
||||
**automl_settings)
|
||||
|
||||
Reference in New Issue
Block a user