Interface SuffixTreeKernel.DepthScaler

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

public static interface SuffixTreeKernel.DepthScaler
Encapsulates the scale factor to apply at a given depth.
Author:
Matthew Pocock
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getScale(int depth)
    Retrieve the scaling factor at a given depth
  • Method Details

    • getScale

      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