🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 169 (from laksa100)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
2 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.1 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://catboost.ai/docs/en/concepts/python-reference_catboostregressor_attributes
Last Crawled2026-04-07 17:41:37 (2 days ago)
First Indexed2024-11-18 16:19:28 (1 year ago)
HTTP Status Code200
Meta TitleAttributes | CatBoost
Meta Descriptiontree_count_ Purpose. Return the number of trees in the model.
Meta Canonicalnull
Boilerpipe Text
tree_count_ Purpose Return the number of trees in the model. This number can differ from the value specified in the  --iterations training parameter in the following cases: The training is stopped by the overfitting detector . The  --use-best-model training parameter is set to True . Type int feature_importances_ Purpose Return the calculated feature importances . The output data depends on the type of the model's loss function: Non-ranking loss functions — PredictionValuesChange Ranking loss functions — LossFunctionChange If the corresponding feature importance is not calculated the returned value is  None . Use the `` function to surely calculate the LossFunctionChange feature importance. Type numpy.ndarray random_seed_ Purpose The random seed used for training. Type int learning_rate_ Purpose The learning rate used for training. Type float feature_names_ Purpose The names of features in the dataset. Type list evals_result_ Purpose Return the values of metrics calculated during the training. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: PFound YetiRank NDCG YetiRankPairwise AUC NormalizedGini FilteredDCG DCG Use the hints=skip_train~false parameter to enable the calculation. See the Enable, disable and configure metrics calculation section for more details. Type dict Output format: {pool_name: {metric_name_1-1: [value_1, value_2, .., value_N]}, .., {metric_name_1-M: [value_1, value_2, .., value_N]}} For example: {'learn': {'Logloss': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782], 'AUC': [1.0, 1.0, 1.0], 'CrossEntropy': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782]}} best_score_ Purpose Return the best result for each metric calculated on each validation dataset. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: PFound YetiRank NDCG YetiRankPairwise AUC NormalizedGini FilteredDCG DCG Use the hints=skip_train~false parameter to enable the calculation. See the Enable, disable and configure metrics calculation section for more details. Type dict Output format: {pool_name_1: {metric_1: value,..., metric_N: value}, ..., pool_name_M: {metric_1: value,..., metric_N: value} For example: { 'validation' : { 'Logloss' : 0.6085537606941837, 'AUC' : 0.0}} best_iteration_ Purpose Return the identifier of the iteration with the best result of the evaluation metric or loss function on the last validation set. Type int or None if the validation dataset is not specified.
Markdown
[![Logo icon](https://yastatic.net/s3/locdoc/daas-static/catboost/71b237a322eec6f2889af0dae2a9c549.svg)](https://catboost.ai/ "CatBoost") - Installation - [Overview](https://catboost.ai/docs/en/concepts/en/concepts/installation) - Python package installation - CatBoost for Apache Spark installation - R package installation - Command-line version binary - Build from source - Key Features - Training parameters - Python package - [Quick start](https://catboost.ai/docs/en/concepts/en/concepts/python-quickstart) - CatBoost - CatBoostClassifier - CatBoostRanker - CatBoostRegressor - [Overview](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor) - [fit](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_fit) - [predict](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_predict) - [Attributes](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes) - [calc\_leaf\_indexes](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboost_calc_leaf_indexes) - [calc\_feature\_statistics](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_calc_feature_statistics) - [copy](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_copy) - [compare](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_modelcompare) - [eval\_metrics](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_eval-metrics) - [get\_all\_params](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_all_params) - [get\_best\_iteration](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_best_iteration) - [get\_best\_score](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_best_score) - [get\_borders](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_borders) - [get\_evals\_result](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_evals_result) - [get\_feature\_importance](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_feature_importance) - [get\_metadata](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_metadata) - [get\_object\_importance](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_object_importance) - [get\_param](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_param) - [get\_params](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_params) - [get\_scale\_and\_bias](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_scale_and_bias) - [get\_test\_eval](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_get_test_eval) - [grid\_search](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_grid_search) - [is\_fitted](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_is_fitted) - [load\_model](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_load_model) - [plot\_predictions](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_plot_predictions) - [plot\_tree](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_plot_tree) - [randomized\_search](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_randomized_search) - [save\_borders](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_save_borders) - [save\_model](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_save_model) - [score](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_score) - [select\_features](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_select_features) - [set\_feature\_names](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_set_feature_names) - [set\_params](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_set_params) - [set\_scale\_and\_bias](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_set_scale_and_bias) - [shrink](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_shrink) - [staged\_predict](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_staged_predict) - [cv](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_cv) - datasets - FeaturesData - MetricVisualizer - Pool - [sample\_gaussian\_process](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_sample_gaussian_process) - [sum\_models](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_sum_models) - [to\_classifier](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_to_classifier) - [to\_regressor](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_to_regressor) - [train](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_train) - Text processing - utils - [Usage examples](https://catboost.ai/docs/en/concepts/en/concepts/python-usages-examples) - CatBoost for Apache Spark - R package - Command-line version - Applying models - Objectives and metrics - Model analysis - Data format description - [Parameter tuning](https://catboost.ai/docs/en/concepts/en/concepts/parameter-tuning) - [Speeding up the training](https://catboost.ai/docs/en/concepts/en/concepts/speed-up-training) - Data visualization - Algorithm details - [FAQ](https://catboost.ai/docs/en/concepts/en/concepts/faq) - Educational materials - [Development and contributions](https://catboost.ai/docs/en/concepts/en/concepts/development-and-contributions) - [Contacts](https://catboost.ai/docs/en/concepts/en/concepts/contacts) Attributes ## In this article: - [tree\_count\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#tree_count_) - [feature\_importances\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#feature_importances_) - [random\_seed\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#random_seed_) - [learning\_rate\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#learning_rate_) - [feature\_names\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#feature_names_) - [evals\_result\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#eval_result_) - [best\_score\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#best_score) - [best\_iteration\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#best_iteration) 1. Python package 2. [CatBoostRegressor](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor) 3. Attributes # Attributes - [tree\_count\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#tree_count_) - [feature\_importances\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#feature_importances_) - [random\_seed\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#random_seed_) - [learning\_rate\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#learning_rate_) - [feature\_names\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#feature_names_) - [evals\_result\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#eval_result_) - [best\_score\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#best_score) - [best\_iteration\_](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_attributes#best_iteration) ## tree\_count\_ #### Purpose Return the number of trees in the model. This number can differ from the value specified in the `--iterations` training parameter in the following cases: - The training is stopped by the [overfitting detector](https://catboost.ai/docs/en/concepts/en/concepts/overfitting-detector). - The `--use-best-model` training parameter is set to "True". #### Type int ## feature\_importances\_ #### Purpose Return the calculated [feature importances](https://catboost.ai/docs/en/concepts/en/concepts/fstr). The output data depends on the type of the model's loss function: - Non-ranking loss functions — [PredictionValuesChange](https://catboost.ai/docs/en/concepts/en/concepts/fstr#regular-feature-importance) - Ranking loss functions — [LossFunctionChange](https://catboost.ai/docs/en/concepts/en/concepts/fstr#regular-feature-importances__lossfunctionchange) If the corresponding feature importance is not calculated the returned value is "None". Use the \`` function to surely calculate the [LossFunctionChange](https://catboost.ai/docs/en/concepts/en/concepts/fstr#regular-feature-importances__lossfunctionchange) feature importance. #### Type numpy.ndarray ## random\_seed\_ #### Purpose The random seed used for training. #### Type int ## learning\_rate\_ #### Purpose The learning rate used for training. #### Type float ## feature\_names\_ #### Purpose The names of features in the dataset. #### Type list ## evals\_result\_ #### Purpose Return the values of metrics calculated during the training. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: - PFound - YetiRank - NDCG - YetiRankPairwise - AUC - NormalizedGini - FilteredDCG - DCG Use the `hints=skip_train~false` parameter to enable the calculation. See the [Enable, disable and configure metrics calculation](https://catboost.ai/docs/en/concepts/en/concepts/loss-functions#enable-disable-configure-metrics) section for more details. #### Type dict Output format: ``` {pool_name: {metric_name_1-1: [value_1, value_2, .., value_N]}, .., {metric_name_1-M: [value_1, value_2, .., value_N]}} ``` For example: ``` {'learn': {'Logloss': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782], 'AUC': [1.0, 1.0, 1.0], 'CrossEntropy': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782]}} ``` ## best\_score\_ #### Purpose Return the best result for each metric calculated on each validation dataset. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: - PFound - YetiRank - NDCG - YetiRankPairwise - AUC - NormalizedGini - FilteredDCG - DCG Use the `hints=skip_train~false` parameter to enable the calculation. See the [Enable, disable and configure metrics calculation](https://catboost.ai/docs/en/concepts/en/concepts/loss-functions#enable-disable-configure-metrics) section for more details. #### Type dict Output format: ``` {pool_name_1: {metric_1: value,..., metric_N: value}, ..., pool_name_M: {metric_1: value,..., metric_N: value} ``` For example: ``` {'validation': {'Logloss': 0.6085537606941837, 'AUC': 0.0}} ``` ## best\_iteration\_ #### Purpose Return the identifier of the iteration with the best result of the evaluation metric or loss function on the last validation set. #### Type int or None if the validation dataset is not specified. ### Was the article helpful? Yes No Previous [predict](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboostregressor_predict) Next [calc\_leaf\_indexes](https://catboost.ai/docs/en/concepts/en/concepts/python-reference_catboost_calc_leaf_indexes) ![](https://mc.yandex.ru/watch/60763294)
Readable Markdown
## tree\_count\_ #### Purpose Return the number of trees in the model. This number can differ from the value specified in the `--iterations` training parameter in the following cases: - The training is stopped by the [overfitting detector](https://catboost.ai/docs/en/concepts/overfitting-detector). - The `--use-best-model` training parameter is set to "True". #### Type int ## feature\_importances\_ #### Purpose Return the calculated [feature importances](https://catboost.ai/docs/en/concepts/fstr). The output data depends on the type of the model's loss function: - Non-ranking loss functions — [PredictionValuesChange](https://catboost.ai/docs/en/concepts/fstr#regular-feature-importance) - Ranking loss functions — [LossFunctionChange](https://catboost.ai/docs/en/concepts/fstr#regular-feature-importances__lossfunctionchange) If the corresponding feature importance is not calculated the returned value is "None". Use the \`` function to surely calculate the [LossFunctionChange](https://catboost.ai/docs/en/concepts/fstr#regular-feature-importances__lossfunctionchange) feature importance. #### Type numpy.ndarray ## random\_seed\_ #### Purpose The random seed used for training. #### Type int ## learning\_rate\_ #### Purpose The learning rate used for training. #### Type float ## feature\_names\_ #### Purpose The names of features in the dataset. #### Type list ## evals\_result\_ #### Purpose Return the values of metrics calculated during the training. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: - PFound - YetiRank - NDCG - YetiRankPairwise - AUC - NormalizedGini - FilteredDCG - DCG Use the `hints=skip_train~false` parameter to enable the calculation. See the [Enable, disable and configure metrics calculation](https://catboost.ai/docs/en/concepts/loss-functions#enable-disable-configure-metrics) section for more details. #### Type dict Output format: ``` {pool_name: {metric_name_1-1: [value_1, value_2, .., value_N]}, .., {metric_name_1-M: [value_1, value_2, .., value_N]}} ``` For example: ``` {'learn': {'Logloss': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782], 'AUC': [1.0, 1.0, 1.0], 'CrossEntropy': [0.6720840012056274, 0.6476800666988386, 0.6284055381249782]}} ``` ## best\_score\_ #### Purpose Return the best result for each metric calculated on each validation dataset. Note Only the values of calculated metrics are output. The following metrics are not calculated by default for the training dataset and therefore these metrics are not output: - PFound - YetiRank - NDCG - YetiRankPairwise - AUC - NormalizedGini - FilteredDCG - DCG Use the `hints=skip_train~false` parameter to enable the calculation. See the [Enable, disable and configure metrics calculation](https://catboost.ai/docs/en/concepts/loss-functions#enable-disable-configure-metrics) section for more details. #### Type dict Output format: ``` {pool_name_1: {metric_1: value,..., metric_N: value}, ..., pool_name_M: {metric_1: value,..., metric_N: value} ``` For example: ``` {'validation': {'Logloss': 0.6085537606941837, 'AUC': 0.0}} ``` ## best\_iteration\_ #### Purpose Return the identifier of the iteration with the best result of the evaluation metric or loss function on the last validation set. #### Type int or None if the validation dataset is not specified.
Shard169 (laksa)
Root Hash17435841955170310369
Unparsed URLai,catboost!/docs/en/concepts/python-reference_catboostregressor_attributes s443