alipay / alipay/jpmml-sparkml-lightgbm
An error occurred when the dataset contains string features
- Lenguaje dominante
- Java
- Estrellas
- 44
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
My dataset contains some string features, and I used StringIndexer + OneHotEncoder to encode them. When I put the StringIndexers, OneHotEncoders, VectorAssembler, and LightGBM in a pipeline, and fit the pipeline, everything is ok.

But, when I want to saved the pipeline into PMML, an error occurred. The error log is: Py4JJavaError: An error occurred while calling o353581.buildFile.
: java.lang.IllegalArgumentException: Field userinfov4_worktype has data type string

userinfov4_worktype is one of the string features.
I used jpmml-lightgbm-1.2.13.
Thans for your help.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.