org.biojava.stats.svm.tools
Interface SuffixTreeKernel.DepthScaler

All Known Implementing Classes:
SuffixTreeKernel.NullModelScaler, SuffixTreeKernel.UniformScaler, SuffixTreeKernel.SelectionScalar, SuffixTreeKernel.MultipleScalar
Enclosing class:
SuffixTreeKernel

public static interface SuffixTreeKernel.DepthScaler

Encapsulates the scale factor to apply at a given depth.

Author:
Matthew Pocock

Method Summary
 double getScale(int depth)
          Retrieve the scaling factor at a given depth
 

Method Detail

getScale

public double getScale(int depth)
Retrieve the scaling factor at a given depth
Parameters:
depth - word length
Returns:
the scaling factor for the subspace at that length