
上QQ阅读APP看书,第一时间看更新
Train the model
This method is used to train the model for a given number of epochs (iterations on a dataset):
fit(x=None, y=None, batch_size=None, epochs=1, verbose=1, callbacks=None, validation_split=0.0, validation_data=None, shuffle=True, class_weight=None, sample_weight=None, initial_epoch=0, steps_per_epoch=None, validation_steps=None)
Please refer to the docs for details on what each parameter means: https://keras.io/models/sequential/#the-sequential-model-api.