spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgenii Morozov <evgeny.a.moro...@gmail.com>
Subject Re: SVM regression in Spark
Date Sun, 04 Dec 2016 22:55:12 GMT
I don’t think there is such an algo. 
Originally SVM is for classification, but there is some twicked version that do regression,
but unfortunately this is not available in apache spark, AFAIK.

> On 01 Dec 2016, at 02:53, roni <roni.epi112@gmail.com> wrote:
> 
> Hi Spark expert,
>  Can anyone help for doing SVR (Support vector machine  regression) in SPARK.
> Thanks
> R
> 
> On Tue, Nov 29, 2016 at 6:50 PM, roni <roni.epi112@gmail.com <mailto:roni.epi112@gmail.com>>
wrote:
> Hi All,
>  I am trying to change my R code to spark. I am using  SVM regression in R . It seems
like spark is providing SVM classification .
> How can I get the regression results.
> In my R code  I am using  call to SVM () function in library("e1071") (ftp://cran.r-project.org/pub/R/web/packages/e1071/vignettes/svmdoc.pdf
<ftp://cran.r-project.org/pub/R/web/packages/e1071/vignettes/svmdoc.pdf>)
> svrObj <- svm(x ,
>                 y ,
>                 scale = TRUE,
>                 type = "nu-regression",
>                 kernel = "linear",
>                 nu = .9)
> 
> Once I get the svm object back , I get the -
>  from the values.
> 
> How can I do this in spark?
> Thanks in advance
> Roni
> 
> 


Mime
View raw message