|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatisticalModel
A base class for statistical models
Method Summary | |
---|---|
BigMat |
apply(BigMat in)
Apply the statistical model on the input data supplied in Matrix form |
int |
getInputDimensions()
|
void |
getModelInformation(ModelInformation mi)
Queries the statistical model about its abilities. |
void |
getModelInformation(ModelResults result)
Query the (previously built) model for information about the model's components |
int |
getOutputDimensions()
|
java.lang.StringBuffer |
outputStatistics()
|
boolean |
outputStatistics(java.io.File statsFile)
|
void |
setDependentData(BigMat data)
The dependent part of the regression |
void |
setDependentData(double[] data)
The dependent part of the regression |
void |
setIndependentData(BigMat data)
The independent part of the regression |
boolean |
train(boolean stats)
Perform multi-linear regression using the Ordinary Least Squares method. |
Methods inherited from interface Facemorph.DataBase.IniHandler |
---|
read, write |
Method Detail |
---|
boolean train(boolean stats)
stats
- calculate values for statistical analysis
BigMat apply(BigMat in)
in
- matrix containing values for modeling
void setIndependentData(BigMat data)
ind
- regression variablesvoid setDependentData(BigMat data)
ind
- regression variablesvoid setDependentData(double[] data)
ind
- regression variablesint getInputDimensions()
int getOutputDimensions()
boolean outputStatistics(java.io.File statsFile)
java.lang.StringBuffer outputStatistics()
void getModelInformation(ModelInformation mi)
void getModelInformation(ModelResults result)
result
- ModelResults object to fill with appropriate information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |