Re: SparkR Function for Step Wise Regression

2016-12-06 Thread Miao Wang
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 n

SparkR Function for Step Wise Regression

2016-12-05 Thread Prasann modi
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