Hi All,I have my sparse data in libsvm format. 

val examples: RDD[LabeledPoint] = MLUtils.loadLibSVMFile(sc, 
"mllib/data/sample_libsvm_data.txt")
I am running Linear regression. Let us say that my data has following entry:1 
1:0  4:1
I think it will assume 0 for indices 2 and 3, right? I would like to make 
default values to be 0.5  instead of 0. Is it possible? If not, I will have to 
switch to dense data and it will significantly increase the data size for me.   
                                         

Reply via email to