-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Decimal Types? #110
Comments
You're using the Do you really need I'm keeping this issue open at the moment. Will have to go through the relevant parts of the Apache Spark codebase, and see how this type conflict is handled there. |
hi Sir,
|
@sbourzai As the name suggests, "sample_libsvm_data" is a toy dataset in LibSVM data format. It is absolutely non-sensical from any real-life application scenario. Please re-run your experiment with a realistical dataset. For example, see the "Usage" section of the JPMML-SparkML README file: https://github.com/jpmml/jpmml-sparkml#usage |
hi Sir @vruusmann how can i use MinMaxScaler and jpmml ? |
Not sure if this is a noob question, but I'm wondering why there seems to be no support for
DecimalType
inputs to models?When my featuresDF includes these types, I get the following error:
I was eventually able to address this in
pyspark
with the following pre-model hack:However, i'm curious why
DecimalType
, which is effectively synonymous withDoubleType
, is not natively supported?The text was updated successfully, but these errors were encountered: