You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: