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

How mlxtend StackingRegressor with multiple cpu?

I would like to use mlxtend StackingRegressor to ensemble XGBoost,LGBM and Catboost .But I am not sure how much cpu I will use in this method. For example: In XGboost: import xgboost as xgb xgb_pars = {'nthread':…
Hq Li
  • 3
  • 4
0
votes
1 answer

Does catboost implements xgboost (extreme gradient boosting) or a simple gradient boosting?

On their website they say 'gradient boosting' but it seems people here compare it to other 'xgboost' algorithm. I would like to know whether it is a real extreme gradient boosting algorithm. thanks
0
votes
1 answer

CatBoost and UnicodeEncodeError

I'm trying to use Python 2.7 and CatBoostRegressor with Pandas but I get UnicodeEncodeError: 'ascii' codec can not encode characters in position 0-4: ordinal not in range (128) I use a unicode sandwich and read csv as: df = pd.read_csv…
hyper
  • 139
  • 10
0
votes
1 answer

Using GPU with multiclass in Catboost

I am trying to use catboost to predict multiclass, but I got an error as below. Error: loss function is not supported for GPU learning MultiClass I used catboost option as below. CatboostClassifier(loss_function='MultiClass',task_type='GPU') I…
Ken Kim
  • 149
  • 2
  • 9
0
votes
1 answer

How do I get CatBoost get_object_importance to work with AUC?

I replicated the example here. The example tries to improve RMSE (lower->better). My limited understanding is that CatBoost will try to minimize LogLoss under the hood. In this example lower LogLoss seems to correlate to lower RMSE. RMSE on…
ADJ
  • 4,892
  • 10
  • 50
  • 83
0
votes
0 answers

joblibsystemerror while hyperparameter tuning of catboost

I am trying to find the optimal values of Catboost classifier using GridsearchCV from sklearn. from catboost import CatBoostClassifier from sklearn.grid_search import GridSearchCV cb_model = …
0
votes
1 answer

Mlogloss value in catboost starts negative and increases

I am running catboost classifier with catboost using settings: model = CatBoostClassifier(iterations=1000, learning_rate=0.05, depth=7, loss_function='MultiClass',calc_feature_importance=True) I have 5 classes and it starts from -ve values and…
muni
  • 1,263
  • 4
  • 22
  • 31
0
votes
1 answer

LightGBM and Catboost are both installed but give ModuleNotFoundError when imported in Jupyter

I have successfully installed the CatBoost and LightGbM modules using the command prompt. It gave me the message Successfully installed catboost-0.2.5 (I also previously tried another one). However, for both of them I have an identical error when I…
bernando_vialli
  • 947
  • 4
  • 12
  • 27
0
votes
1 answer

How to fetch the evaluation metric after a CatBoostClassifier.fit()?

I have trained a classification model calling CatBoostClassifier.fit(), also providing an eval_set. Now, how can I fetch the best value of the evaluation metric, and the number of iteration when it was achieved during training? I can plot the…
Fanta
  • 2,825
  • 5
  • 26
  • 35
0
votes
1 answer

Catboost on Google AppEngine Python Flexible Environment

I'm trying to set up a simple Google AppEngine app that would get a JSON data via POST request and apply Catboost classifier. I'm using Python 3.6 and I've included catboost==0.8 in my requirements.txt file. However, the deployment fails: ERROR:…
0
votes
1 answer

Typeerror with VotingClassifier

I want to use VotingClassifier, but I have some problems with cross validating x_train, x_validation, y_train, y_validation = train_test_split(x, y, test_size=.22, random_state=2) x_train = x_train.fillna(0) clf1 = CatBoostClassifier() …
OverFitter
  • 49
  • 8
0
votes
1 answer

catboost shows very bad result on a toy dataset

Today I've tried to test an amazing Catboost library published recently by Yandex but it shows very poor results even on a toy dataset. I've tried to find a root of my problem but due to the lack of proper documentation and topics about the library…
0
votes
2 answers

Changing parameter 'learning_rate' for CatBoostRegressor

Is there any possibility to change (decrease) parameter 'learning rate', a gradient step coefficient, during training the model CatBoostRegressor() ? It would reduce the iterations number and quicken the training?
0
votes
2 answers

How to create column description (CD) file for Catboost

I'm declaring a CD file for reading it from: pool = Pool(features_file, CDfile) Where CDfile contains text and <\t> delimiters: 0 Target 1 Categ cat_reg 97 Categ cat_dow 98 Categ cat_nweek 99 Categ cat_month 100 Categ cat_hour 101…
0
votes
0 answers

CatBoost: negative values of probability

I try to predict values with CatBoostRegressor But I get some negative values in predictions. How can I fix that? All code X_train, y_train = train[['Distance', 'DepTime']].values, train['dep_delayed_15min'].map({'Y': 1, 'N': 0}).values X_test =…
Petr Petrov
  • 4,090
  • 10
  • 31
  • 68
1 2 3
22
23