catboost/docs/en/concepts/r-reference_catboost-get_object_importance.md
catboost.get_object_importance(model,
pool,
train_pool,
top_size = -1,
type = '{{ fit__ostr__ostr_type__PerPool }}',
update_method = 'SinglePoint',
thread_count = -1)
{% include sections-with-methods-desc-get_object_importance__div %}
The model obtained as the result of training.
Default value
{{ r--required }}
The input dataset.
{% if audience == "internal" %}
{% include files-internal-files-internal__desc__full %}
{% endif %}
Default value
{{ r--required }}
The dataset used for training.
Default value
{{ r--required }}
Defines the number of most important objects from the training dataset. The number of returned objects is limited to this number.
Default value
{{ fit__ostr__top_size }}
The method for calculating the object importances.
Possible values:
Default value
{{ fit__ostr__ostr_type }}
The algorithm accuracy method.
Possible values:
Supported parameters:
top — Defines the number of leaves to use for the {{ ostr__update-method__TopKLeaves }} update method. See the Finding Influential Training Samples for Gradient Boosted Decision Trees for more details.For example, the following value sets the method to {{ ostr__update-method__TopKLeaves }} and limits the number of leaves to 3:
TopKLeaves:top=3
Default value
{{ ostr__update-method__default }}
{% include reusage-thread-count-short-desc %}
{% include reusage-thread_count__cpu_cores__optimizes-the-speed-of-execution %}
Default value
{{ fit__thread_count__wrappers }}
{% include ostr__r-object-strength__r__p %}