"[](https://colab.research.google.com/drive/1Z5s0WXnjtxSi2oLxKG1ZTTcpVXqIjLyv#scrollTo=-ZrgwiL9kR_L)"
"[](https://colab.research.google.com/github/mcint170/DataTools_Tutorial_Demo/blob/main/Auto-SKLearn_AutoML/Classification.ipynb)"
],
],
"metadata": {
"metadata": {
"id": "-ZrgwiL9kR_L"
"id": "-ZrgwiL9kR_L"
...
...
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
# Classification Using Auto-SKLearn
# Classification Using Auto-SKLearn
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
[](https://colab.research.google.com/drive/1Z5s0WXnjtxSi2oLxKG1ZTTcpVXqIjLyv#scrollTo=-ZrgwiL9kR_L)
[](https://colab.research.google.com/github/mcint170/DataTools_Tutorial_Demo/blob/main/Auto-SKLearn_AutoML/Classification.ipynb)
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
!pip install auto-sklearn
!pip install auto-sklearn
```
```
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
If running on Google Colab: After running this cell, Click Runtime -> Restart runtime. Then you can run the following cells.
If running on Google Colab: After running this cell, Click Runtime -> Restart runtime. Then you can run the following cells.
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
# imports
# imports
from pprint import pprint
from pprint import pprint
import sklearn.datasets
import sklearn.datasets
import sklearn.metrics
import sklearn.metrics
import pickle
import pickle
import autosklearn.classification
import autosklearn.classification
```
```
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
# split the dataset
# split the dataset
X, y = sklearn.datasets.load_breast_cancer(return_X_y=True)
X, y = sklearn.datasets.load_breast_cancer(return_X_y=True)
X_train, X_test, y_train, y_test = \
X_train, X_test, y_train, y_test = \
sklearn.model_selection.train_test_split(X, y, random_state=1)
sklearn.model_selection.train_test_split(X, y, random_state=1)