SuffixTreeKernel.NullModelScaler (biojava-legacy 1.9.5 API)
- java.lang.Object
-
- org.biojava.stats.svm.tools.SuffixTreeKernel.NullModelScaler
-
- All Implemented Interfaces:
Serializable,SuffixTreeKernel.DepthScaler
- Enclosing class:
- SuffixTreeKernel
public static class SuffixTreeKernel.NullModelScaler extends Object implements SuffixTreeKernel.DepthScaler, Serializable
Scales by 4^depth - equivalent to dividing by a probablistic flatt prior null model
- Author:
- Matthew Pocock
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullModelScaler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetScale(int depth)Retrieve the scaling factor at a given depth
-
-
-
Constructor Detail
-
NullModelScaler
public NullModelScaler()
-
-
Method Detail
-
getScale
public double getScale(int depth)
Retrieve the scaling factor at a given depth
- Specified by:
getScalein interfaceSuffixTreeKernel.DepthScaler- Parameters:
depth- word length- Returns:
- the scaling factor for the subspace at that length
-
-