FunctionalModel.fit.optim: Use the 'optim' Method from the 'stats' Package for Fitting a...

Description Usage Arguments Value

Description

Apply one of the algorithms provided by the optim method from the stats package. Although the optim method should support using gradients, I just did not find out how to get this to work.

Usage

1
2
FunctionalModel.fit.optim(metric, model, par = NULL, q = 0.75,
  method = "L-BFGS-B")

Arguments

metric

an instance of regressoR.quality::RegressionQualityMetric

model

an instance of FunctionalModel

par

the initial starting point

q

the effort to spent in learning, a value between 0 (min) and 1 (max). Higher values may lead to much more computational time, lower values to potentially lower result quality.

method

the method to apply, see the documentation of optim

Value

On success, an instance of FittedFunctionalModel. NULL on failure.


thomasWeise/regressoR.functional documentation built on May 10, 2019, 10:24 a.m.