public class SumSquaresRatio extends Object implements FeatureRanking
Constructor and Description |
---|
SumSquaresRatio() |
Modifier and Type | Method and Description |
---|---|
double[] |
rank(double[][] x,
int[] y)
Univariate feature ranking.
|
public double[] rank(double[][] x, int[] y)
FeatureRanking
rank
in interface FeatureRanking
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.Copyright © 2015. All rights reserved.