This file contains hidden or 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
| """ Step 0. Import Keras, Optuna, and OptKeras """ | |
| from keras.models import Sequential | |
| from keras.layers import Flatten, Dense, Conv2D | |
| from keras.optimizers import Adam | |
| import keras.backend as K | |
| import optuna | |
| from optkeras.optkeras import OptKeras |