Open timvink opened 3 months ago
See also related https://github.com/mlflow/mlflow/issues/3849
@mlflow/mlflow-team Please assign a maintainer and start triaging this issue.
This might actually also be classified as a bug, given the error message is Can not safely convert category to <U0.
is not very helpful
Willingness to contribute
No. I cannot contribute this feature at this time.
Proposal Summary
I would like support for pandas categorical data when using
mlflow
signatures.Using the
category
dtype is common when using boosting algorithms. Here's an example from the scikit-learn docs: Categorical Feature Support in Gradient Boosting.Here's the current error message when trying to use the categorical dtype with mlflow:
Motivation
Using boosting algorithms with categorical input data
Using the
category
dtype is common when using boosting algorithms. Here's an example from the scikit-learn docs: Categorical Feature Support in Gradient Boosting.We use boosting algorithms with categorical input data
It's not supported
Details
No response
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/deployments
: MLflow Deployments client APIs, server, and third-party Deployments integrationsarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingWhat interface(s) does this bug affect?
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportWhat language(s) does this bug affect?
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesWhat integration(s) does this bug affect?
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrations