|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.math.Stats
public final class Stats
Some simple methods for determining some statistics.
Method Summary | |
---|---|
static double |
mean(Vector vector)
|
static Vector |
meanVector(Collection<ClusterableDataSet.Pattern> set)
Calculates the mean Vector of the given set/cluster/collection of ClusterableDataSet.Pattern s. |
static double |
stdDeviation(Vector vector)
|
static double |
variance(Collection<ClusterableDataSet.Pattern> set,
Vector center)
Calculates the variance of the given set/cluster/collection of @{link Pattern}s. |
static double |
variance(Vector vector)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double mean(Vector vector)
vector
-
public static Vector meanVector(Collection<ClusterableDataSet.Pattern> set)
ClusterableDataSet.Pattern
s.
This is illustrated in Equation 4.b of:
set
- a set (ArrayList
) of ClusterableDataSet.Pattern
s
Vector
that represents the mean/center of the given setpublic static double variance(Vector vector)
vector
-
public static double variance(Collection<ClusterableDataSet.Pattern> set, Vector center)
set
- a set (ArrayList
) of ClusterableDataSet.Pattern
scenter
- a Vector
that represents the mean/center of the accompanied set
public static double stdDeviation(Vector vector)
vector
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |