create labeled data point from sparse vector . concode_field_sep int[] indices concode_elem_sep float[] values concode_elem_sep float weight concode_elem_sep float label concode_field_sep LabeledPoint fromDenseVector
LabeledPoint function ( float arg0 , int [ ] arg1 , float [ ] arg2 ) { LabeledPoint loc0 = new LabeledPoint ( ) ; loc0 . arg0 = arg0 ; loc0 . arg1 = arg1 ; loc0 . arg2 = arg2 ; assert arg1 . length == arg2 . length ; return loc0 ; }