Hi,
I am trying to run LogisticRegressionWithSGD on RDD of LabeledPoints
loaded using loadLibSVMFile:
val logistic: RDD[LabeledPoint] = MLUtils.loadLibSVMFile(sc,
"s3n://logistic-regression/epsilon_normalized")
val model = LogisticRegressionWithSGD.train(logistic, 100)
It gives an input valida
ca you share some sample data
On Sun, Mar 15, 2015 at 8:51 PM, Rohit U wrote:
> Hi,
>
> I am trying to run LogisticRegressionWithSGD on RDD of LabeledPoints
> loaded using loadLibSVMFile:
>
> val logistic: RDD[LabeledPoint] = MLUtils.loadLibSVMFile(sc,
> "s3n://logistic-regression/epsilon_norma
I checked the labels across the entire dataset and it looks like it has -1
and 1 (not the 0 and 1 I originally expected). I will try replacing the -1
with 0 and run it again.
On Mon, Mar 16, 2015 at 12:51 AM, Rishi Yadav wrote:
> ca you share some sample data
>
> On Sun, Mar 15, 2015 at 8:51 PM,