|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml.feature.selection.FeatureSelection
public abstract class FeatureSelection
Abstract class for feature selection algorithms.
Field Summary | |
---|---|
protected org.apache.commons.math.linear.RealMatrix |
W
A d x c projection matrix. |
protected org.apache.commons.math.linear.RealMatrix |
X
Data matrix with each column being a data sample. |
Constructor Summary | |
---|---|
FeatureSelection()
|
Method Summary | |
---|---|
void |
feedData(double[][] data)
Feed data for this feature selection algorithm. |
void |
feedData(org.apache.commons.math.linear.RealMatrix X)
Feed data for this feature selection algorithm. |
org.apache.commons.math.linear.RealMatrix |
getW()
Get the projection matrix. |
org.apache.commons.math.linear.RealMatrix |
getX()
Get the data matrix. |
abstract void |
run()
Do feature selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.commons.math.linear.RealMatrix X
protected org.apache.commons.math.linear.RealMatrix W
Constructor Detail |
---|
public FeatureSelection()
Method Detail |
---|
public void feedData(org.apache.commons.math.linear.RealMatrix X)
X
- a d x n data matrix with each column being
a data samplepublic void feedData(double[][] data)
data
- a d x n 2D double
array with each
column being a data samplepublic abstract void run()
public org.apache.commons.math.linear.RealMatrix getX()
public org.apache.commons.math.linear.RealMatrix getW()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |