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
0
votes
1 answer

BaggingClassifier and CatBoost with categorical features don't work properly

I want to run sklearn.ensemble.BaggingClassifier with CatBoostClassifier as estimator but the thing is there are some categorical features and this cause such error: CatBoostError: 'data' is numpy array of floating point numerical type, it means no…
0
votes
1 answer

Does CatBoost support L1 regularization of the cost function?

Does CatBoost suppport L1 regularization? The hyper parameter l2_leaf_reg controls the L2 regularization term of the cost function, but is there any way to use the L1 norm?
Leo
  • 63
  • 1
  • 6
0
votes
1 answer

CatBoost RandomizedSearch stopping and finding out hyperparameters for it

So I started running CatBoost's RandomizedSearch implementation and so far as I see from the log (which I know from verbose=1, down below is the log), there is one model that is the best one for a really long time, and I cannot wait anymore for it…
GreatDuke
  • 214
  • 1
  • 10
0
votes
1 answer

Bug in CatBoost? CatBoostClassifier doesn't work well with sklearn's CalibratedClassifierCV

catboost version: 0.16 When trying to calibrate the class probability estimates with scikit-learn's CalibratedClassifierCV, all I get are 1's for the negative target and 0's for the positive target in a binary classification problem. If I use…
0
votes
1 answer

how to increase the precision and recall value

hi am trying to create a staff promotion aloghritim which will have a high recall and precision value,trying to fit my model but get this error pls help below is my collab link to my works so…
0
votes
0 answers

error in importing catboost ubuntu18.04 on conda environment

Error while importing catboost. from catboost import CatBoostRegressor. I am using conda on ubuntu. Followed suggested way to install catboost as on the official website. But run into an error while importing it. AttributeError …
0
votes
2 answers

Is it possible to prevent command-line CatBoost to shuffle of the input data in cross-validation mode?

My data contains of 10 weeks observations. I would like to cross-validate the model in 9-to-1 week mode. So, I dont want CatBoost to shuffle the data before splitting. Is it possible with command line? I'm not sure if "--cv-rand 0" (or any other…
0
votes
1 answer

Is it possible to export MultiClassification model in Python with Catboost?

I am trying to save my MultiClassification model in Python. I know that currently Catboost currently does not support saving MultiClassification models in Python. Are there any workarounds to this, if I want to save and apply this model do I have…
rreg101
  • 209
  • 1
  • 9
0
votes
1 answer

How CV determines which function to use?

I am confused with CV class. I thought it accepts a regressor or classifier model like in scikit-learn. However, I haven't found any such model in the input of CV. Could you please tell how CV class determines which model to fit?
vinu
  • 457
  • 4
  • 11
0
votes
1 answer

CatBoost border

I can't start catboost learning with catboost because of a small border. X = pandas.read_csv("../input/x_y_test/X.csv") X_test = pandas.read_csv("../input/x_y_test/X_test.csv") y = pandas.read_csv("../input/y-data/y.csv") X = X.reset_index(drop =…
OverFitter
  • 49
  • 8
0
votes
1 answer

catboost R categorical conversion to numbers

If I have a data frame with, let's say, factors in columns 1 and 2 and the label in column 3 , is there any difference between: train_pool <- catboost.load_pool(data = training[,1:2], label = training[,3]) And train_pool <- catboost.load_pool(data…
0
votes
1 answer

Unable to install catboost in R

I'm facing trouble downloading catboost in R. Kindly help to resolve this issue, > install.packages('catboost') Installing package into ‘C:/Users/Rishabh Ojha/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : …
Rishabh Ojha
  • 57
  • 1
  • 8
0
votes
1 answer

Can I weight of observations in the evaluation set while fitting a CatBoostRegressor?

I'm trying to fit a CatBoostRegressor, using both a train set and an eval set. There is a parameter, sample_weight, to weight observations in the train_set, but I see no equivalent for the eval set. Here is an example: from catboost import…
Mario
  • 23
  • 5
0
votes
1 answer

min samples per categorical value in catboost

How can I tell CatBoost to group together categorical values with little samples. For example, let's say I have a column called Country which has only 1 sample for 'Cambodia' and 2 samples for 'Mongolia' and 999,998 other countries each of each has…
Hanan Shteingart
  • 8,480
  • 10
  • 53
  • 66
0
votes
2 answers

How can I transform catboosts raw prediction score (RawFormulaVal) into a probability?

For some objects from catboost library (like the python code export model - https://tech.yandex.com/catboost/doc/dg/concepts/python-reference_catboostclassifier_save_model-docpage/) predictions…
user4556577
  • 21
  • 1
  • 4