train: Trains a GMDH model which solves the y=f(x) regression task.

Description Usage Arguments Value

Description

Trains a GMDH model which solves the y=f(x) regression task.

Usage

1
train(x, y, M = ncol(x), val.size = 0.25)

Arguments

x

a matrix with independent (input) variables

y

a numeric vector with the dependent (output) variable

M

the number of polynomials which get selected at the end of i-th iteration, and are processed durint iteration i+1

val.size

fraction of the available data used for validation

Value

a trained GMDH model - an object of class 'gmdh'


pzawistowski/rGMDH documentation built on May 26, 2019, 11:35 a.m.