initialize-nnePtR-method: Initializor to catch input errors

Description Usage Arguments

Description

Initializor to catch input errors

Usage

1
2
3
## S4 method for signature 'nnePtR'
initialize(.Object, input, outcome, levels, n_layers,
  n_units, penalty, cost, fitted_params, info)

Arguments

.Object

object of class nnePtR

input

matrix of inputs. Dimensions are (n training samples x n features)

outcome

factor variable for outcome

levels

character vector of levels of outcome

n_layers

number of hidden layers in the network

n_units

number of units in the hidden layers

penalty

penalty term (weight decay)

cost

final cost obtained through optimisation

fitted_params

list of matrices holding the fitted parameters

info

list containing infomation from optimisation


philipmgoddard/nnePtR documentation built on May 25, 2019, 5:04 a.m.