Popular posts from this blog
Keras Sequential Model Creating the model | Specifying input size and batch size | specifying the activation function Sequential Model : Linear stack of layers. Create a Sequential Model by passing the layer instances to the constructor. Import sequential model from Keras models. from keras.models import Sequential Import dense layer and activation function from keras layers from keras.layers import Dense, Activation Create sequential model Input = can be of any dimension or a single element Shape = length along each dimension of the input Model needs to know the input shape it expects. Only the first layer of the sequential model should know its input shape. Batch = collection of inputs Batch Size = no of inputs Create the model model = Sequential() Create the layer with batch size of 32 and input size of 784 Dense(32,input_dim=784) Add the la...
Installing Keras Before installing keras you need to install one of its back end engines. Here we use Tensor Flow as the back end engine. There are other back end engines as well. This is the recommended one. Installing Tensor Flow On Windows Installing with native pip One of the following versions of python should be installed in your machine. Python 3.5.x 64-bit from python.org Python 3.6.x 64-bit from python.org Download this installer for windows (64 bit) machines Windows x86-64 executable installer
Comments
Post a Comment