Closed zwag20 closed 1 year ago
IllegalArgumentException: Version v4 is not supported
Closing as a duplicate of https://github.com/jpmml/jpmml-lightgbm/issues/58
Your LightGBM model string indicates that it has been generated by LightGBM 4.X.
AFAIK, the official LightGBM 4.0.0 release hasn't happened yet, so it cannot be supported (ie. want to how is it different from LightGBM 3.3.5).
Downgrade your SynapseML dependency to some LightGBM 3.X based one, and the conversion will succeed.
For example, SynapseML 0.10.2 should be OK.
I am getting the following error when I try to export a pmml from lightgbm. I am not sure how to troubleshoot this error. I am using databricks (Spark 3.2.1). I have the following packages installed.
com.microsoft.azure:synapseml_2.12:0.11.1 org.jpmml:pmml-sparkml-lightgbm:2.2.2 pyspark2pmml-0.5.1-py3-none-any.whl py4j-0.10.9.7-py2.py3-none-any.whl
Here is my code for reference
Error