|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.feature.stats.FeatureDependence
public class FeatureDependence
Maintains dependence information between a given feature and all others.
Field Summary | |
---|---|
protected java.util.HashMap |
allDeps
|
protected FeatureKey |
key
|
protected java.util.HashSet |
mostDependent
|
Constructor Summary | |
---|---|
FeatureDependence(FeatureKey key,
CaseBase cb,
Domain domain,
double mostDependentThreshold,
FeatureStats featureStats)
Creates a new instance of FeatureDependence |
|
FeatureDependence(FeatureKey key,
FeatureKey[] allKeys,
double[] deps,
double mostDependentThreshold)
|
|
FeatureDependence(FeatureKey key,
java.util.HashMap allDeps,
double mostDependentThreshold)
Creates a new instance of FeatureDependence |
Method Summary | |
---|---|
double |
calcCorrelation(FeatureKey feature1,
FeatureKey feature2,
CaseBase cb,
FeatureStats featureStats)
|
double |
calcDependence(FeatureKey feature1,
FeatureKey feature2,
CaseBase cb,
FeatureStats featureStats)
Dependence is not necessarily symmetric. |
protected void |
calcDependencies(FeatureKey key,
CaseBase cb,
Domain domain,
double mostDependentThreshold,
FeatureStats featureStats)
|
double |
convertToStandardUnits(double value,
double mean,
double stdDev)
|
double |
getDependence(FeatureKey other)
Dependence is not necessarily symmetric. |
java.util.HashSet |
getMostDependent()
|
java.lang.String |
toString()
|
java.lang.String |
toString(Domain domain)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected FeatureKey key
protected java.util.HashMap allDeps
protected java.util.HashSet mostDependent
Constructor Detail |
---|
public FeatureDependence(FeatureKey key, CaseBase cb, Domain domain, double mostDependentThreshold, FeatureStats featureStats)
public FeatureDependence(FeatureKey key, java.util.HashMap allDeps, double mostDependentThreshold)
public FeatureDependence(FeatureKey key, FeatureKey[] allKeys, double[] deps, double mostDependentThreshold)
Method Detail |
---|
public double getDependence(FeatureKey other)
protected void calcDependencies(FeatureKey key, CaseBase cb, Domain domain, double mostDependentThreshold, FeatureStats featureStats)
public java.util.HashSet getMostDependent()
public double calcDependence(FeatureKey feature1, FeatureKey feature2, CaseBase cb, FeatureStats featureStats)
public double calcCorrelation(FeatureKey feature1, FeatureKey feature2, CaseBase cb, FeatureStats featureStats)
public double convertToStandardUnits(double value, double mean, double stdDev)
public java.lang.String toString(Domain domain)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |