Description Usage Arguments Value References See Also Examples
Trains an IBHM model using training data with input variables x
and a single output variable y
.
1 | TrainIBHM(x, y, config = ConfigureIBHM())
|
x |
Training data input variables. Should be convertible to a |
y |
Training data output variable. Should be convertible to a |
config |
A configuration object created using |
The created model which is an object of class "IBHM".
Zawistowski, P. and Arabas, J.: "Benchmarking IBHM method using NN3 competition dataset." In Proc. 6th int. conf. on Hybrid artificial intelligent systems - Vol. 1, HAIS'11, pp 263–270, 2011. Springer-Verlag.
ConfigureIBHM
,summary.IBHM
,predict.IBHM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Training data
x <- seq(-3,3,length.out=400)
y <- tanh(x)
# A held out validation set for the stop criterion
x.val <- runif(50,min=-6,max=6)
y.val <- tanh(x.val)
# Training the model using the validation set to prevent overfitting
m <- TrainIBHM(x,y,
ConfigureIBHM(stop.criterion = ValidationSC(x.val, y.val))
)
summary(m)
plot(y.val,predict(m,x.val),asp=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.