-
When using a model that contains a `FieldRef`, I get a Spark serialization error when using `pypmml-spark==1.5.2`.
This is with
* PySpark 3.4.1
* Python 3.10.12
Example script with minimal r…
-
Running Spark 2.1.2, using jpmml-sparkml 1.2.7.
While attempting to run the following pyspark in order to convert a simple pipeline with a `RandomForestClassifer` model with either `toPMMLByteArra…
-
Is there a way I can use this library for importing a PMML model into Spark using pyspark or scala or sparkR?
-
I can save a model to s3 but can't load it with the following:
```
from pyspark.ml import PipelineModel
model.save("s3://activemapper/test.model")
model_load = PipelineModel.load("s3://activemap…
-
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.…
-
Hello,
I am trying to turn my pyspark preprocessing into a PMML artifact. One of the input features is a string. I want to remove comma's from the text feature and also lowercase it. I can accompli…
-
I keep getting an error when trying to convert Pipeline models built using SynapseML LightGBM. I am using Databricks runtime 10.4 LTS ML (includes Apache Spark 3.2.1, Scala 2.12) and org.jpmml:pmml-sp…
-
```
df = spark.read.format('com.databricks.spark.csv').options(header='true', inferschema='true').load(input_dir+'stroke_100K_1.csv')
classifier = DecisionTreeClassifier(labelCol="label", featuresCo…
-
**Is your feature request related to a problem? Please describe.**
Add support for Spark MLlib models in BentoML
**Describe the solution you'd like**
Add a new model artifact class `PySparkModelA…
-
I run this code in pyspark:
```python
pmmlBuilder=PMMLBuilder(sc,train_data,model)\
.putOption(None,sc._jvm.org.jpmml.sparkml.model.HasTreeOptions.OPTION_COMPACT,True)\
.verify(tra…