Training the model

We defined and also compiled the model. Now, we will train the model. Training the model can be done using the fit function. We specify our features, x; labels, y; the number of epochs we want to train; and the batch_size, as follows:

model.fit(x=data, y=labels, epochs=100, batch_size=10)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset