catboost / catboost/benchmarks

'data' is numpy array of floating point numerical type, it means no categorical features, but 'cat_features' parameter specifies nonzero number of categorical features

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
172
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi everyone, it's me again. I have run this code. I get error code below:
` pool = Pool(data, label, cat_features=cat_cols)`

the error :
`'data' is numpy array of floating point numerical type, it means no categorical features,"
_catboost.CatBoostError: 'data' is numpy array of floating point numerical type, it means no categorical features, but 'cat_features' parameter specifies nonzero number of categorical features`

Does anyone know what is happening, i did't change any of the code but got error maybe because of my train and test file. But I dont know how is the structure for test and train file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.