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

Stack Overflow | Laurel | 5 months ago
  1. 0

    Export SVM model to PMML using Python

    Stack Overflow | 5 months ago | Laurel
    java.lang.IllegalArgumentException: The value of the sklearn2pmml.decoration.ContinuousDomain.data_min_ attribute (null) is not a supported array type
  2. 0
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  3. 0
    I was missing a partitioning column because I did not specify the "basePath" option on read
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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