Gone are the days of bare metal installs, gone are the days of cliché excuse “Well, it worked on my machine!”, its the time of containers. Docker is the most loved platform for building containers.
So here we are about to start our journey into understanding Docker and using it in our daily life :) If you find any of the explanation here non sensible, just dial up here, https://docs.docker.com/get-started/ and you will get all the answers you are looking for.
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker your-user
Grid search becomes useful when it comes to finding best hyper-parameters for small models (models aimed for micro controllers, tiny processors etc)
Here is an MNIST example for grid search with scitkit learn,
Install the requirements using pip
And here is the full code!
import matplotlib.pyplot as plt# seed random number generator to improve reproducibility
import numpy as np
np.random.seed(22)# the MNIST data set from keras.datasets import mnist # feed-forward neural network from keras.models import Sequential # required for dense final layers from keras.layers import Dense, Flatten # required for convolutional layers and max pooling from keras.layers.convolutional import…