evaluate_generator | R Documentation |
The generator should return the same kind of data as accepted by
test_on_batch()
.
evaluate_generator(
object,
generator,
steps,
max_queue_size = 10,
workers = 1,
callbacks = NULL
)
object |
Model object to evaluate |
generator |
Generator yielding lists (inputs, targets) or (inputs, targets, sample_weights) |
steps |
Total number of steps (batches of samples) to yield from
|
max_queue_size |
Maximum size for the generator queue. If unspecified,
|
workers |
Maximum number of threads to use for parallel processing. Note that
parallel processing will only be performed for native Keras generators (e.g.
|
callbacks |
List of callbacks to apply during evaluation. |
Named list of model test loss (or losses for models with multiple outputs) and model metrics.
Other model functions:
compile.keras.engine.training.Model()
,
evaluate.keras.engine.training.Model()
,
fit.keras.engine.training.Model()
,
fit_generator()
,
get_config()
,
get_layer()
,
keras_model()
,
keras_model_sequential()
,
multi_gpu_model()
,
pop_layer()
,
predict.keras.engine.training.Model()
,
predict_generator()
,
predict_on_batch()
,
predict_proba()
,
summary.keras.engine.training.Model()
,
train_on_batch()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.