I tried one example on sparkR:
 
> training <- suppressWarnings(createDataFrame(iris))
> step(spark.glm(training, Sepal_Width ~ Sepal_Length + Species), direction = "forward")
 
There is an error:
Error: $ operator not defined for this S4 class
 
Based on my understanding of mllib.R, I think it is not supported yet.
 
Miao
 
 
----- Original message -----
From: Prasann modi <prasannm...@gmail.com>
To: u...@spark.apache.org
Cc: dev@spark.apache.org
Subject: SparkR Function for Step Wise Regression
Date: Mon, Dec 5, 2016 10:50 PM
 
Hello,

I have an issue related to SparkR. I want to build step wise regression model

using SparkR, is any function is there in SparkR to build those kind of model.

In R function is available for step wise regression, code is given below:

step(glm(formula,data,family),direction = "forward"))

If SparkR have function for step wise then please let me know.


Thanks & Regard
Prasann Modi

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

 
 

--------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Reply via email to