Skip to content

Add method to merge boosters #8

Description

@leofidus

The C API contains a LGBM_BoosterMerge method. I can't find any examples of this being used (except the python library using it to copy an existing booster into an empty one), but I'm hoping it might be useful for handling ensembles of boosters trained on different data sets.

I'd imagine something in the form of pub fn merge_from(&mut self, other: &Booster), implemented on Booster, along with a unit test that trains two simple boosters, merges them and demonstrates the prediction of the merge.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions