cc.factorie.app.classify.backend

LinearBinaryClassifier

class LinearBinaryClassifier extends BinaryClassifier[la.Tensor1] with model.Parameters with OptimizablePredictor[Double, la.Tensor1]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinearBinaryClassifier
  2. OptimizablePredictor
  3. Parameters
  4. BinaryClassifier
  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 LinearBinaryClassifier(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: Double, 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
    LinearBinaryClassifierOptimizablePredictor
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def classification(input: la.Tensor1): BinaryClassification

    Definition Classes
    BinaryClassifierClassifier
  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. val featureSize: Int

  17. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. val parameters: WeightsSet

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

    Definition Classes
    LinearBinaryClassifierPredictor
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val weights: Weights1

Inherited from OptimizablePredictor[Double, la.Tensor1]

Inherited from model.Parameters

Inherited from BinaryClassifier[la.Tensor1]

Inherited from Classifier[Double, la.Tensor1]

Inherited from Predictor[Double, la.Tensor1]

Inherited from AnyRef

Inherited from Any

Ungrouped