sum_models

Purpose

Blend trees and counters of two or more trained CatBoost models into a new model. Leaf values can be individually weighted for each input model. For example, it may be useful to blend models trained on different validation datasets.

Method call format

sum_models(models, 
           weights=None, 
           ctr_merge_policy='IntersectingCountersAverage')

Parameters

Parameter Possible values Description Default value
models list of CatBoost models

A list of models to blend.

Required parameter
weights list of numbers

A list of weights for the leaf values of each model. The length