SectionSearch: SectionSearch

Description Usage Details Value

View source: R/optimizers.R

Description

Implements a variant of golden section search where the stepsize can be choosen freely.

Usage

1

Details

Hence its is possible to trade robustness against computational effciency. This function is a closure that implements a cache for already calculated values and returns a function that can be used to find the global minimum numerically.

Value

Returns a function with arguments split_candidates, left, mid, right, x, SegmentLossFUN, RecFUN, stepsize where RecFun should always be set to the object name of the function has been assigned so the function can call itself recursively.


lorenzha/hdcd documentation built on Sept. 2, 2018, 8:20 p.m.