본문 바로가기
Python Library/Keras

[Keras] Model.fit 함수

by goatlab 2022. 1. 4.
728x90
반응형
SMALL

Model.fit 함수

 

Model.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,
)
verbose : Verbosity mode. 0, 1 or 2 

0 = silent 
1 = progress bar
2 = one line per epoch

 

https://keras.io/api/models/model_training_apis/#fit-method

 

Keras documentation: Model training APIs

Model training APIs compile method Model.compile( optimizer="rmsprop", loss=None, metrics=None, loss_weights=None, weighted_metrics=None, run_eagerly=None, steps_per_execution=None, **kwargs ) Configures the model for training. Example model.compile(optimi

keras.io

 

728x90
반응형
LIST