Reshape a MONMLP weight vector

Share:

Description

Reshapes a weight vector used during fitting of a MONMLP model into the appropriate weight matrices.

Usage

1
monmlp.reshape(x, y, weights, hidden1, hidden2)

Arguments

x

covariate matrix with number of rows equal to the number of samples and number of columns equal to the number of covariates.

y

predictand matrix with number of rows equal to the number of samples and number of columns equal to the number of predictands.

weights

weight vector of length returned by monmlp.initialize.

hidden1

number of hidden nodes in the first hidden layer.

hidden2

number of hidden nodes in the second hidden layer.

See Also

monmlp.initialize