nak

util

package util

Visibility
  1. Public
  2. All

Type Members

  1. class Band extends AnyRef

    One band of the Locality Sensitive Hash.

  2. class ConfusionMatrix[L, I] extends AnyRef

    A confusion matrix for comparing gold clusters to some predicted clusters.

  3. class GrowableIndex[T] extends (T) ⇒ Int

  4. class LinearHashFunction extends AnyRef

    Simple line function: y = mx+b

  5. class LocalitySensitiveHash extends AnyRef

    A Locality Sensitive Hash that hashes the documents into buckets.

  6. case class Scores(accuracy: Double, precisionAverage: Double, recallAverage: Double, fscoreAverage: Double, all: Seq[Seq[Double]]) extends Product with Serializable

Value Members

  1. object Band

  2. object CleanStringTokenizer

    A tokenizer that replaces all non-word characters with whitespace and then returns a StringTokenizer.

  3. object CollectionUtil

  4. object ConfusionMatrix

    A companion object for constructing ConfusionMatrices.

  5. object CrossValidation

  6. object HashFunction

    Helper object for hash function functions.

  7. object Similarity

  8. object SimpleTokenizer

    A very simple tokenizer that pulls most puncuation off the characters.

  9. object StringCleaner

    Cleans up a string by ripping out punctuation, turning all digit sequences into a single numeric symbol, and getting rid of tokens that contain mixtures of alphabetic and numeric characters.

Ungrouped