| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectemolib.classifier.machinelearning.Logistic.VectorStatistics
public class Logistic.VectorStatistics
Inner class to compute vector statistics.
| Constructor Summary | |
|---|---|
| Logistic.VectorStatistics()Plain constructor. | |
| Method Summary | |
|---|---|
|  void | computeStatistics()Function to compute the dimensional means and variances. | 
|  double[] | getMeanSubtractedVector(int ex)Function to get a mean-subtracted vector example. | 
|  double | getSampleMean(int dim)Function to compute the sample mean of the given dimension. | 
|  double[] | getStandardisedVector(int ex)Function to get a standardised vector example. | 
|  double[] | getVariances()Function to retrieve the variances. | 
|  void | inputVector(double[] vec)Method to intput a vector. | 
|  void | setInterceptVariance()Set intercept feature. | 
|  void | standardise(double[] vec)Method to standardise the given vector. | 
|  void | subtractMeans(double[] vec)Method to subtract the means of the given vector. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Logistic.VectorStatistics()
| Method Detail | 
|---|
public double[] getVariances()
public void inputVector(double[] vec)
vec - The input vector.public void computeStatistics()
public double getSampleMean(int dim)
dim - The given dimension.
public void setInterceptVariance()
public double[] getStandardisedVector(int ex)
ex - The example number.
public void standardise(double[] vec)
public double[] getMeanSubtractedVector(int ex)
ex - The example number.
public void subtractMeans(double[] vec)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||