Optimizing Neural Network Structures with Keras-Tuner
Tuning and optimizing neural networks with the Keras-Tuner package: https://keras-team.github.io/keras-tuner/
Kite AI autocomplete for Python download: https://kite.com/download/?utm_medium=referral&utm_source=youtube&utm_campaign=sentdex&utm_content=keras-tuner
Text-based tutorial and sample code: https://pythonprogramming.net/keras-tuner-optimizing-neural-network-tutorial/
Starting model:
from tensorflow import keras
from tensorflow.keras.layers import Conv2D, MaxPooling2D, Dense, Flatten, Activation
model = keras.models.Sequential()
model.add(Conv2D(32, (3, 3), input_shape=x_train.shape[1:]))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Conv2D(32, (3, 3)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Flatten()) # this converts our 3D feature maps to 1D feature vectors
model.add(Dense(10))
model.add(Activation("softmax"))
model.compile(optimizer="adam",
loss="sparse_categorical_crossentropy",
metrics=["accuracy"])
model.fit(x_train, y_train, batch_size=64, epochs=1, validation_data = (x_test, y_test))
Channel membership: https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ/join
Discord: https://discord.gg/sentdex
Support the content: https://pythonprogramming.net/support-donate/
Twitter: https://twitter.com/sentdex
Instagram: https://instagram.com/sentdex
Facebook: https://www.facebook.com/pythonprogramming.net/
Twitch: https://www.twitch.tv/sentdex
#deeplearning #tutorial #keras
Видео Optimizing Neural Network Structures with Keras-Tuner канала sentdex
Kite AI autocomplete for Python download: https://kite.com/download/?utm_medium=referral&utm_source=youtube&utm_campaign=sentdex&utm_content=keras-tuner
Text-based tutorial and sample code: https://pythonprogramming.net/keras-tuner-optimizing-neural-network-tutorial/
Starting model:
from tensorflow import keras
from tensorflow.keras.layers import Conv2D, MaxPooling2D, Dense, Flatten, Activation
model = keras.models.Sequential()
model.add(Conv2D(32, (3, 3), input_shape=x_train.shape[1:]))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Conv2D(32, (3, 3)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Flatten()) # this converts our 3D feature maps to 1D feature vectors
model.add(Dense(10))
model.add(Activation("softmax"))
model.compile(optimizer="adam",
loss="sparse_categorical_crossentropy",
metrics=["accuracy"])
model.fit(x_train, y_train, batch_size=64, epochs=1, validation_data = (x_test, y_test))
Channel membership: https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ/join
Discord: https://discord.gg/sentdex
Support the content: https://pythonprogramming.net/support-donate/
Twitter: https://twitter.com/sentdex
Instagram: https://instagram.com/sentdex
Facebook: https://www.facebook.com/pythonprogramming.net/
Twitch: https://www.twitch.tv/sentdex
#deeplearning #tutorial #keras
Видео Optimizing Neural Network Structures with Keras-Tuner канала sentdex
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Tutorial 27- Create CNN Model and Optimize using Keras Tuner- Deep LearningWhat I do for a living - Q&A #1But what is a Neural Network? | Deep learning, chapter 1Cloud vs Local GPU Hosting (what to use and when?)Keras Tuner Hyperparameter Tuning-How To Select Hidden Layers And Number of Hidden Neurons In ANNBayesian Hyperparameter Optimization for Keras (8.4)Hyperparameter Optimization - The Math of Intelligence #7Optimizers - EXPLAINED!Optimizing with TensorBoard - Deep Learning w/ Python, TensorFlow & Keras p.5Auto-Tuning Hyperparameters with Optuna and PyTorchFirst hour with a Kaggle ChallengeCutting Edge TensorFlow - Keras Tuner: Hypertuning for humans - Google I/O 2019Hyperparameter Optimization: This Tutorial Is All You NeedHow Should you Architect Your Keras Neural Network: Hyperparameters (8.3)Quantum Computer Programming w/ Qiskit181 - Multivariate time series forecasting using LSTM15. Batch Size and Learning Rate in CNNsCryptocurrency-predicting RNN intro - Deep Learning w/ Python, TensorFlow and Keras p.8Neural network tuning in Python|Hyper parameter tuning of neural network in python