DML script parsing error in Spark

2015-12-08 Thread Sourav Mazumder
Hi, I'm facing issue while parsing any DML script. What I'm trying something like - val ml = new MLContext(sc)ml.reset() ml.registerInput("X", Xfc, 3569, 4) ml.registerInput("Y", yDc, 1, 4) ml.registerOutput("beta_out") val cmdLineParams = Map("X" -> " ", "Y" -> " ") val outputs =

Re: Using GLM-predict

2015-12-08 Thread Shirish Tatikonda
Hi Sourav, Yes, GLM-predict.dml gives out only the probabilities. You can put a threshold on the resulting probabilities to get the actual class labels -- for example, prob > 0.5 is positive and <=0.5 as negative. The exact value of threshold typically depends on the data and the application.

Re: Using GLM-predict

2015-12-08 Thread Sourav Mazumder
Dec 8, 2015 at 2:08 PM, Niketan Pansare <npan...@us.ibm.com> wrote: > Hi Sourav, > > For some reason, I didn't get your email on "*Tue, 08 Dec 2015 12:56:38 > -0800* > <https://www.mail-archive.com/search?l=dev@systemml.incubator.apache.org=date:20151208> > &qu