Facemorph.Stats
Class WaveletPLS

java.lang.Object
  extended by Facemorph.Stats.ImagePLS
      extended by Facemorph.Stats.WaveletPLS
All Implemented Interfaces:
IniHandler, DataReducer, ImageDataHandler, Regressor, StatisticalModel

public class WaveletPLS
extends ImagePLS


Nested Class Summary
 
Nested classes/interfaces inherited from interface Facemorph.Stats.DataReducer
DataReducer.DataReducerInformation
 
Nested classes/interfaces inherited from interface Facemorph.Stats.Regressor
Regressor.RegressorException
 
Field Summary
protected  Filter[] filters
           
protected  Filter G
          A set of filters for Gaussian
protected  Filter H1
          A set of filters for Gaussian
protected  Filter H2
          A set of filters for Gaussian
protected  Filter K1
          A set of filters for Gaussian
protected  Filter K2
          A set of filters for Gaussian
protected  Filter L1
          A set of filters for Gaussian
protected  Filter L2
          A set of filters for Gaussian
protected  Pyramid ppyr
           
protected  Pyramid wpyr
           
protected  Pyramid[][] Wpyr
           
 
Fields inherited from class Facemorph.Stats.ImagePLS
averageImage, imageFiles, stdevImage, varX, varY, Y
 
Constructor Summary
WaveletPLS()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean train(boolean stats)
          Perform multi-linear regression using the Ordinary Least Squares method.
 
Methods inherited from class Facemorph.Stats.ImagePLS
apply, buildTestSet, getEpsilon, getInputDimensions, getModelInformation, getModelInformation, getOutputDimensions, getSumSquaredResiduals, getTargetDependentVariance, getTargetIndpendentVariance, outputStatistics, outputStatistics, predict, read, read, reconstructDependent, reconstructDependent, reconstructImage, reconstructIndependent, reconstructIndependent, reduce, reduceDependent, reduceDependent, reduceIndependent, reduceIndependent, setDependentData, setDependentData, setEpsilon, setIndependentData, setIndependentData, setOutputDimensions, setTargetDependentVariance, setTargetIndependentVariance, setTargetKaiserGuttman, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

H1

protected Filter H1
A set of filters for Gaussian


H2

protected Filter H2
A set of filters for Gaussian


L1

protected Filter L1
A set of filters for Gaussian


L2

protected Filter L2
A set of filters for Gaussian


G

protected Filter G
A set of filters for Gaussian


K1

protected Filter K1
A set of filters for Gaussian


K2

protected Filter K2
A set of filters for Gaussian


filters

protected Filter[] filters

Wpyr

protected Pyramid[][] Wpyr

wpyr

protected Pyramid wpyr

ppyr

protected Pyramid ppyr
Constructor Detail

WaveletPLS

public WaveletPLS()
Method Detail

train

public boolean train(boolean stats)
Description copied from interface: StatisticalModel
Perform multi-linear regression using the Ordinary Least Squares method. Solves y = XB + e using b = inv(X'X)X'y

Specified by:
train in interface StatisticalModel
Overrides:
train in class ImagePLS
Parameters:
stats - calculate values for statistical analysis
Returns:
true if the regression succeeds.

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException