i want to know what does model fit mean & how to put it?
* After the creation of model, it is configured with losses and metrices with model.compile() , After that it is trained using model.fit() or used to predict with model.predict() .
* It trains the model by slicing the data to batches with size "batch_size". It repeatedly iterate over the entire database for a given number of "epochs" .
* The history of the objects is returned, which holds a record of loss value and metric value while training.
* After that evaluate the model on test using evaluate ().
- Compiling method:
* Inorder to train the model with fit() , we need to first specify the loss function , optimizer and some metrices to monitor (optional).
* After that this is passed to the model as arguments to the compile() method.
Get Answers For Free
Most questions answered within 1 hours.