* * Converts a H2O Frame into an RDD[LabeledPoint].
* * Converts a H2O Frame into an RDD[LabeledPoint]. Assumes that the last column is the response column which will be used * as the label. All other columns will be mapped to a vector and used as features. Categorical columns will be mapped to their * numerical values. * * @param frame Input frame to be converted * @param reponseColumn Column which contains the labels * @param nfeatures Number of features we want to use * @param missingHandler Missing values strategy * @param h2oContext Current H2OContext * @param sqlContext Current SQLContext * @return Returns an equivalent RDD[LabeledPoint] and means for each column