java.lang.IllegalArgumentException: The value of the sklearn2pmml.decoration.ContinuousDomain.data_min_ attribute (null) is not a supported array type

Stack Overflow | Laurel | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Export SVM model to PMML using Python

    Stack Overflow | 6 months ago | Laurel
    java.lang.IllegalArgumentException: The value of the sklearn2pmml.decoration.ContinuousDomain.data_min_ attribute (null) is not a supported array type

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The value of the sklearn2pmml.decoration.ContinuousDomain.data_min_ attribute (null) is not a supported array type

      at org.jpmml.sklearn.ClassDictUtil.getArray()
    2. org.jpmml.sklearn
      ClassDictUtil.getArray
      1. org.jpmml.sklearn.ClassDictUtil.getArray(ClassDictUtil.java:51)
      1 frame
    3. sklearn2pmml.decoration
      ContinuousDomain.encodeFeatures
      1. sklearn2pmml.decoration.ContinuousDomain.getDataMin(ContinuousDomain.java:111)
      2. sklearn2pmml.decoration.ContinuousDomain.encodeFeatures(ContinuousDomain.java:50)
      2 frames
    4. sklearn_pandas
      DataFrameMapper.encodeFeatures
      1. sklearn_pandas.DataFrameMapper.encodeFeatures(DataFrameMapper.java:70)
      1 frame
    5. org.jpmml.sklearn
      Main.main
      1. org.jpmml.sklearn.Main.run(Main.java:146)
      2. org.jpmml.sklearn.Main.main(Main.java:107)
      2 frames