Learn R Programming

spartan (version 3.0.2)

calculate_fold_MSE: Calculate the mean squared error for this fold in k-fold cross validation

Description

Calculate the mean squared error for this fold in k-fold cross validation

Usage

calculate_fold_MSE(nn_predictions, test_fold, nn, measures)

Arguments

nn_predictions

Predictions made by neural net

test_fold

The test data on which performance is being assessed

nn

The generated neural network

measures

The simulation output responses that are being predicted

Value

Mean Squared error for this fold.