<jupyter_start><jupyter_text>[View in Colaboratory](https://colab.research.google.com/github/tonyhuang84/notebook_dnn/blob/master/AutoKeras_study.ipynb)  Sourcehttps://autokeras.com/  https://github.com/jhfjhfj1/autokeras  [开源的“谷歌AutoML杀手”来了 | Auto Keras](https://zhuanlan.zhihu.com/p/41197845)    問題* 與 Google CoLab 不相容(https://github.com/jhfjhfj1/autokeras/issues/99)<jupyter_code>!git clone https://github.com/jhfjhfj1/autokeras.git
!cd autokeras; pip install -r requirements.txt; python setup.py install
!ls -la
from keras.datasets import mnist
from autokeras import ImageClassifier
import tensorflow
print(tensorflow.__version__)
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train = x_train.reshape(x_train.shape+(1,))
x_test = x_test.reshape(x_test.shape+(1,))
clf = ImageClassifier(verbose=True, augment=False)
clf.fit(x_train, y_train, time_limit=12 * 60 * 60)
clf.final_fit(x_train, y_train, x_test, y_test, retrain=True)<jupyter_output>Initializing search.
Initialization finished.


╒==============================================╕
|               Training model 0               |
╘==============================================╛
{'fraction_non_alphanumeric': 0.20103986135181975, 'fraction_numerical': 0.02079722703639515, 'mean_word_length': 5.916167664670659, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '427895', 'license': 'BSD-2-Clause', 'n_tokens_mistral': 452, 'n_tokens_neox': 429, 'n_words': 67, 'path': 'AutoKeras_study.ipynb', 'repo_name': 'tonyhuang84/notebook_dnn', 'size': '1154'}