This class defines a new object for the greedy optimizer. The optimizer just calculates for each base-learner the sum of squared errors and returns the base-learner with the smallest SSE.

Format

S4 object.

Usage

OptimizerCoordinateDescent$new()
OptimizerCoordinateDescent$new(ncores)

Arguments

ncores [integer(1)]

Number of cores used to fit the algorithm. Note that number of used cores should be smaller or equal the number of base learner.

Examples


# Define optimizer:
optimizer = OptimizerCoordinateDescent$new()