Skip to content

Error in catboost.from_matrix(as.matrix(float_and_cat_features_data), : Unsupported label type, expecting double or integer, got character #1874

@rtedesco1197

Description

@rtedesco1197

Problem: Error in catboost.from_matrix(as.matrix(float_and_cat_features_data), : Unsupported label type, expecting double or integer, got character

catboost version: 1.0.0
Operating System: Windows 10
CPU: Ryzen 5?

GPU: Nvidia GTX 1660

Hello I am fitting a simple model with 2 numerical predictors and a binomial outcome.

When I try to tune_grid this model in R with tidymodels, I get this error even though there are no categorical predictors in my dataset:

Error in catboost.from_matrix(as.matrix(float_and_cat_features_data), : Unsupported label type, expecting double or integer, got character

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions