spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Szymkiewicz <mszymkiew...@gmail.com>
Subject Re: Porting LIBSVM models to Spark
Date Tue, 29 Nov 2016 19:00:25 GMT
Hi,

Not directly. You could try some workaround with converting to PMML and
importing with JPMML-Spark (but you'd have create your own Python wrapper).

On a side note please  avoid cross posting between Stack Overflow and
user list and be sure to read the guidelines
(https://spark.apache.org/community.html).

On 11/29/2016 07:18 PM, Pat Blachly wrote:
> Is it possible to read LIBSVM model files into PySpark? Naively, I'm
> thinking of something like:
>
> scaler_path = "path to LIBSVM model generated with svm-scale"
> a = MinMaxScaler().load(scaler_path)
>
> While this example is shown for a feature transformation model, I
> would also be interested in reading in LIBSVM classifiers too.
>
> Thanks,
> Pat

-- 
Best,
Maciej


---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message