OSelm_train.formula {ELMR} | R Documentation |
Trains an extreme learning machine with random weights
OSelm_train.formula(formula, data, Elm_type, nHiddenNeurons, ActivationFunction,
N0, Block)
formula |
a symbolic description of the model to be fitted. |
data |
training data frame containing the variables specified in formula. |
Elm_type |
select if the ELM must perform a "regression" or "classification" |
nHiddenNeurons |
number of neurons in the hidden layer |
ActivationFunction |
"rbf" for radial basis function with Gaussian kernels , "sig" for sigmoidal fucntion, "sin" for sine function, "hardlim" for hard limit function |
N0 |
size of the first block to be processed |
Block |
size of each chunk to be processed at each step |
returns all the parameters used in the function, the weight matrix, the labels for the classification, the number of classes found, the bias, the beta activation function and the accuracy on the trainingset