cc.factorie.app.classify.backend

LinearMulticlassClassifier

class LinearMulticlassClassifier extends MulticlassClassifier[la.Tensor1] with model.Parameters with OptimizablePredictor[la.Tensor1, la.Tensor1]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinearMulticlassClassifier
  2. OptimizablePredictor
  3. Parameters
  4. MulticlassClassifier
  5. Classifier
  6. Predictor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinearMulticlassClassifier(labelSize: Int, featureSize: Int)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Weights(t4: ⇒ Tensor4): Weights4

    Definition Classes
    Parameters
  7. def Weights(t3: ⇒ Tensor3): Weights3

    Definition Classes
    Parameters
  8. def Weights(t2: ⇒ Tensor2): Weights2

    Definition Classes
    Parameters
  9. def Weights(t1: ⇒ Tensor1): Weights1

    Definition Classes
    Parameters
  10. def accumulateObjectiveGradient(accumulator: WeightsMapAccumulator, features: la.Tensor1, gradient: la.Tensor1, weight: Double): Unit

    Put gradient of objective with respect to parameters into the accumulator.

    Put gradient of objective with respect to parameters into the accumulator. The contract states we cannot mutate the "input" argument inside this method.

    accumulator

    Accumulator to hold gradient

    weight

    Weight mutliplier for gradient

    Definition Classes
    LinearMulticlassClassifierOptimizablePredictor
  11. def asDotTemplate[T <: LabeledMutableDiscreteVar](l2f: (T) ⇒ TensorVar)(implicit ml: Manifest[T]): DotTemplateWithStatistics2[T, TensorVar] { ... /* 2 definitions in type refinement */ }

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def asTemplate[Value <: DiscreteValue, T <: LabeledMutableDiscreteVar, F <: variable.Var { type Value = cc.factorie.la.Tensor1 }](l2f: (T) ⇒ F)(implicit ml: Manifest[T], mf: Manifest[F]): ClassifierTemplate[la.Tensor1, Value, T, F]

    Definition Classes
    MulticlassClassifier
  14. def classification(input: la.Tensor1): MulticlassClassification

    Definition Classes
    MulticlassClassifierClassifier
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. val featureSize: Int

  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. val labelSize: Int

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. val parameters: WeightsSet

    Definition Classes
    Parameters
  28. def predict(features: la.Tensor1): la.Tensor1

    Definition Classes
    LinearMulticlassClassifierPredictor
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val weights: Weights2

Inherited from model.Parameters

Inherited from Classifier[la.Tensor1, la.Tensor1]

Inherited from Predictor[la.Tensor1, la.Tensor1]

Inherited from AnyRef

Inherited from Any

Ungrouped