Returns a ChiSquared feature selector.
Returns a ChiSquared feature selector.
an RDD[LabeledPoint]
containing the labeled dataset with categorical features.
Real-valued features will be treated as categorical for each distinct value.
Apply feature discretizer before using this function.
number of features that selector will select (ordered by statistic value descending)
:: Experimental :: Creates a ChiSquared feature selector.