nak

classify

package classify

Visibility
  1. Public
  2. All

Type Members

  1. trait Classifier[L, -T] extends (T) ⇒ L

    Represents a classifier from observations of type T to labels of type L.

  2. class LFMatrix[L, TF] extends NumericOps[LFMatrix[L, TF]] with Serializable

    This stupidly named class is a Label-Feature Matrix, which is to say that it's a the weight matrix used by most of the classifier trainers.

  3. class LinearClassifier[L, T2, TL, TF] extends Classifier[L, TF] with Serializable

    A LinearClassifier is a multi-class classifier with decision function: \hat y_i = \arg\max_y w_y^T x_i + b_y

  4. class NNetClassifier[L, T] extends Classifier[L, T]

    A NeuralNetwork classifier uses a neural network to get unnormalize log probabilities for the scores of the classifier.

  5. class NaiveBayes[L, W] extends Classifier[L, Counter[W, Double]] with Serializable

    Implements a Naive-Bayes Classifer over bags of words.

  6. case class TrainerParams(type: String = "Logistic", input: File = new java.io.File("train"), help: Boolean = false) extends Product with Serializable

  7. class UnindexedLFMatrix[L, TF] extends NumericOps[UnindexedLFMatrix[L, TF]] with Serializable

    This is the unindexed weights matrix: it acts as a tensor over the label types, rather than their indexed components

Value Members

  1. object Classifier

  2. object LFMatrix extends Serializable

  3. object LinearClassifier extends Serializable

  4. object LogisticClassifier

    A multi-class logistic/softmax/maxent classifier.

  5. object LogisticClassifierFromCsv

    This is an example app for creating a logistic classifier from data that is stored as string valued features and string valued labels, e.

  6. object NNetClassifier

  7. object NaiveBayes extends Serializable

  8. object Perceptron

  9. object SVM

    Object for creating SupportVectorMachines

  10. object Trainer extends App

    Main program that builds a classifier from a breeze.data.SparseFeatureDataset.

  11. object UnindexedLFMatrix extends Serializable

Ungrouped