Skip to content

Set model to another iteration breaks $getParameterAtIteration() for OptimizerAGBM #365

@schalkdaniel

Description

@schalkdaniel

Check:

cboost = boostSplines(iris, "Sepal.Length", loss = LossQuadratic$new(), optimizer = OptimizerAGBM$new())

cboost$model$getEstimatedParameter()
cboost$model$getParameterAtIteration(30)
cboost$model$setToIteration(30, 0)
cboost$model$getEstimatedParameter()
cboost$model$getParameterAtIteration(30)

The parameter do not match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions