Learn R Programming

simpleMLP (version 1.0.0)

evaluate: Evaluate Model

Description

Evaluates the performance of a model on a given dataset.

Usage

evaluate(inputs, target, model)

Arguments

inputs

set of inputs to the model

target

set of targets in one-hot encoded form

model

list of weights and biases

Value

accuracy of the model

Examples

Run this code
# NOT RUN {
evaluate(train_data, train_target, mlp_model)
# }

Run the code above in your browser using DataLab