Deep Learning/Tensorflow

fit

Naranjito 2023. 12. 20. 15:24
  • fit

A function that let learns a model. It updates the weight of the model by input data and correct answer data.

fit(
    x=None,
    y=None,
    batch_size=None,
    epochs=1,
    verbose='auto',
    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,
    validation_batch_size=None,
    validation_freq=1,
    max_queue_size=10,
    workers=1,
    use_multiprocessing=False)

https://www.tensorflow.org/api_docs/python/tf/keras/Model#fit