Learn R Programming

spartan (version 3.0.2)

kfoldCrossValidation: Perform k-fold cross validation for assessing neural network structure performance

Description

Perform k-fold cross validation for assessing neural network structure performance

Usage

kfoldCrossValidation(dataset, parameters, measures, algorithm_settings)

Arguments

dataset

Data on which the neural network is being trained and assessed

parameters

Names of the parameters that form the input nodes of the neural network

measures

Names of the simulation responses that form the output node of the neural network

algorithm_settings

Object output from the function emulation_algorithm_settings, containing the settings of the machine learning algorithms to use in emulation creation. In this case, the settings parameter we are interested in is number of generations

Value

Mean Squared errors for all potential structures