How to interpret Keras model.fit output?

后端 未结 2 1744
灰色年华
灰色年华 2020-12-15 18:01

I\'ve just started using Keras. The sample I\'m working on has a model and the following snippet is used to run the model

from sklearn.preprocessing import          


        
2条回答
  •  孤街浪徒
    2020-12-15 18:52

    32 is your batch size. 32 is the default value that you can change in your fit function if you wish to do so.

    After the first batch is trained Keras estimates the training duration (ETA: estimated time of arrival) of one epoch which is equivalent to one round of training with all your samples.

    In addition to that you get the losses (the difference between prediction and true labels) and your metric (in your case the accuracy) for both the training and the validation samples.

提交回复
热议问题