smile.feature
Interface FeatureRanking
-
- All Known Implementing Classes:
- SignalNoiseRatio, SumSquaresRatio
public interface FeatureRankingUnivariate feature ranking metric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description double[]rank(double[][] x, int[] y)Univariate feature ranking.
-
-
-
Method Detail
-
rank
double[] rank(double[][] x, int[] y)Univariate feature ranking. Note that this method actually does NOT rank the features. It just returns the metric values of each feature. The caller can then rank and select features.- Parameters:
x- a n-by-p matrix of n instances with p features.y- class labels in [0, k), where k is the number of classes.- Returns:
- the metric values of each feature.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG