Questions tagged [catboost]

CatBoost is an open-source gradient boosting on decision trees library with categorical features support out of the box for Python, R

344 questions
3
votes
1 answer

CatBoost -- suppressing iteration results in a grid search

I am trying to use CatBoost Classifier. Using it I do perform a grid search using randomised_search() method. Unfortunately, the method prints to stdout iteration results for each tree built for each model tried. There is a parameter supposed to…
3
votes
1 answer

How to convert logit shap values to probability

I've been trying to convert shap values with the logit link to probabilities for all my features in a dataset. The model_output ='probability' parameter doesn't work for my catboost model. I want to convert the shap values for each feature so that…
user13561313
3
votes
2 answers

What does CTR mean in CatBoost

The acronym "CTR" is frequently used in CatBoost https://catboost.ai/docs/concepts/algorithm-main-stages_cat-to-numberic.html to represent a type of value. But I couldn't find what the acronym stands for. Could you please spell out the non acronym…
jaky
  • 33
  • 3
3
votes
0 answers

"CatBoostError: wrong json type" when running predict on a loaded model

We have a catboostClassifer model saved and loaded using default parameters. Model is saved in a Linux environment and loaded into Windows using Anaconda. The following error is generated on predicting, after the model is loaded. Do you have any…
Jeannief
  • 31
  • 1
3
votes
1 answer

CATBoost and GridSearch

model.fit(train_data, y=label_data, eval_set=eval_dataset) eval_dataset = Pool(val_data, val_labels) model = CatBoostClassifier(depth=8 or 10, iterations=10, task_type="GPU", devices='0-2', eval_metric='Accuracy', boosting_type="Ordered",…
PabloDK
  • 2,181
  • 2
  • 19
  • 42
3
votes
0 answers

How to implement custom multi-class objective function in CatBoost?

I am trying to implement custom objective function for multiclassification following the guides in: https://catboost.ai/docs/concepts/python-usages-examples.html#custom-objective-function I would like to know what is the expected format of the…
bzografov
  • 31
  • 2
3
votes
2 answers

How Do I pass numpy array as Categorical feature in Catboost Python

I want to pass 12th column of a numpy array as categorical feature. The column has int values from 1 to 10. I tried this: cbr.fit(X_train, y, eval_set=(X_train_test, y_test), cat_features=[X_train[:,12]], …
John Doe
  • 437
  • 1
  • 5
  • 14
3
votes
2 answers

Can CatBoost be installed in a Conda environment?

Does Yandex support Anaconda environments? I'm trying to get CatBoost working in PyCharm using an Anaconda environment as Python interpreter, but I continue to get the ModuleNotFoundError: No module named 'catboost'. I'm able to install CatBoost…
John Strong
  • 1,844
  • 1
  • 15
  • 24
3
votes
2 answers

Catboost training model for huge data(~22GB) with multiple chunks

I'm trying to train a CatboostClassifier with around 22GB of data in csv file which has around 50 columns. I tried loading all data at once in pandas dataframes but couldn't do that. Is there anyway I could train the model with multiple chunks of…
Mathan Kumar
  • 55
  • 1
  • 6
3
votes
1 answer

use catboost for ranking task

I'd like to know how to configure catboost for a ranking task. The catboost homepage alludes that it can be used for ranking tasks. However, it seems documentation for ranking tasks is…
ampt
  • 1,106
  • 9
  • 9
3
votes
2 answers

Use the previously trained model for further prediction in catboost

I want to find optimal parameters for doing classification using Catboost. I have training data and test data. I want to run the algorithm for say 500 iterations and then make predictions on test data. Next, I want to repeat this for 600 iterations…
Rozen Moon
  • 103
  • 1
  • 8
3
votes
1 answer

Python process crashes when trying to fit CatBoost model

I have win64-system with Anaconda3 installed on a Windows Server 2012R2 machine (Intel Xeon CPU X5650). CatBoost module was installed perfectly, but when i try to fit the model (ex. CatBoostRegressor) the python process crashes. Does anynone know…
2
votes
0 answers

Java issues when training a Catboost model in pyspark (Databricks environment)

I am trying to fit a CatBoostClassifier in my data but I'm having some issues related with Java staff. This is what I want to run: from pyspark.sql import Row,SparkSession from pyspark.ml.linalg import Vectors, VectorUDT from pyspark.sql.types…
cesilro
  • 21
  • 2
2
votes
0 answers

Can anyone explain about "Formula Value" of v1 ,v2 ​ in PredictionValuesChange of Feature importance in CatBoost? what is Formula Value?

what is Formula Value? --> "Formula Value" of v1 ,v2 ​ in PredictionValuesChange of Feature importance in CatBoost? to find out what meaning of Formula Value ? calculate from what criteria?
2
votes
1 answer

How to build Catboost C Evaluation Library API?

I had to use a Catboost model in some programming languages, Golang and Python. The best option (for performance and compatibility) is to use an evaluation library which can be a C or C++ API. I followed the official documentation to compile the C…