LinearClassifier < L , F > function ( GeneralDataset < L , F > arg0 ) { labelIndex = arg0 . labelIndex ( ) ; featureIndex = arg0 . featureIndex ( ) ; double [ ] [ ] loc0 = trainWeights ( arg0 ) ; return new LinearClassifier < > ( loc0 , featureIndex , labelIndex ) ; }
trains a classifier on a dataset . concode_field_sep long serialVersionUID concode_elem_sep Index<F> featureIndex concode_elem_sep Index<L> labelIndex concode_field_sep int numFeatures concode_elem_sep int numClasses concode_elem_sep double[][] trainWeights