breeze.classify

LFMatrix

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. It's basically a matrix with one row per label, and the rows are some Tensor type (TF). TF is a mnemonic for Feature Tensor.

L

label type

TF

feature tensor type

Annotations
@SerialVersionUID( 1L )
Linear Supertypes
Serializable, Serializable, NumericOps[LFMatrix[L, TF]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LFMatrix
  2. Serializable
  3. Serializable
  4. NumericOps
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LFMatrix(emptyTF: ⇒ TF, labelIndex: Index[L])(implicit arg0: ClassTag[TF])

  2. new LFMatrix(data: Array[TF], emptyTF: ⇒ TF, labelIndex: Index[L])(implicit arg0: ClassTag[TF])

    data

    array of weights for each label

    emptyTF

    an empty weight vector, used for creating zeros dense vectors

    labelIndex

    label index

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 %[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpMod, That]): That

    Definition Classes
    NumericOps
  5. final def %=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpMod]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  6. final def &&[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpAnd, That]): That

    Definition Classes
    NumericOps
  7. final def *[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpMulMatrix, That]): That

    Definition Classes
    NumericOps
  8. final def *=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpMulScalar]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  9. final def +[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpAdd, That]): That

    Definition Classes
    NumericOps
  10. final def +=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpAdd]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  11. final def +=?[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpAdd]): BinaryUpdateOp[TT, B, OpAdd]

    Definition Classes
    NumericOps
  12. final def -[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpSub, That]): That

    Definition Classes
    NumericOps
  13. final def -=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpSub]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  14. final def /[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpDiv, That]): That

    Definition Classes
    NumericOps
  15. final def /=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpDiv]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  16. final def :!=[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpNe, That]): That

    Definition Classes
    NumericOps
  17. final def :%[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpMod, That]): That

    Definition Classes
    NumericOps
  18. final def :%=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpMod]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  19. final def :&&[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpAnd, That]): That

    Definition Classes
    NumericOps
  20. final def :*[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpMulScalar, That]): That

    Definition Classes
    NumericOps
  21. final def :*=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpMulScalar]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  22. final def :+[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpAdd, That]): That

    Definition Classes
    NumericOps
  23. final def :+=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpAdd]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  24. final def :-[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpSub, That]): That

    Definition Classes
    NumericOps
  25. final def :-=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpSub]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  26. final def :/[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpDiv, That]): That

    Definition Classes
    NumericOps
  27. final def :/=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpDiv]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  28. final def :<[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpLT, That]): That

    Definition Classes
    NumericOps
  29. final def :<=[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpLTE, That]): That

    Definition Classes
    NumericOps
  30. final def :=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpSet]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  31. final def :==[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpEq, That]): That

    Definition Classes
    NumericOps
  32. final def :>[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpGT, That]): That

    Definition Classes
    NumericOps
  33. final def :>=[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpGTE, That]): That

    Definition Classes
    NumericOps
  34. final def :^[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpPow, That]): That

    Definition Classes
    NumericOps
  35. final def :^=[TT >: LFMatrix[L, TF], B](b: B)(implicit op: BinaryUpdateOp[TT, B, OpPow]): LFMatrix[L, TF]

    Definition Classes
    NumericOps
  36. final def :^^[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpXor, That]): That

    Definition Classes
    NumericOps
  37. final def :||[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpOr, That]): That

    Definition Classes
    NumericOps
  38. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  40. def \[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpSolveMatrixBy, That]): That

    Definition Classes
    NumericOps
  41. final def ^^[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpXor, That]): That

    Definition Classes
    NumericOps
  42. def apply(label: Int): TF

  43. def apply(label: L): TF

  44. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  45. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. val data: Array[TF]

    array of weights for each label

  47. final def dot[TT >: LFMatrix[L, TF], B, BB >: B, That](b: B)(implicit op: BinaryOp[TT, BB, OpMulInner, That]): That

    Definition Classes
    NumericOps
  48. def empty: LFMatrix[L, TF]

  49. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  51. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  55. val labelIndex: Index[L]

    label index

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

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

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

    Definition Classes
    AnyRef
  59. def numLabels: Int

  60. def repr: LFMatrix[L, TF]

    Definition Classes
    LFMatrix → NumericOps
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. final def t[TT >: LFMatrix[L, TF], That, Slice1, Slice2, Result](a: Slice1, b: Slice2)(implicit op: CanTranspose[TT, That], canSlice: CanSlice2[That, Slice1, Slice2, Result]): Result

    Definition Classes
    NumericOps
  63. final def t[TT >: LFMatrix[L, TF], That](implicit op: CanTranspose[TT, That]): That

    Definition Classes
    NumericOps
  64. def toString(): String

    Definition Classes
    LFMatrix → AnyRef → Any
  65. final def unary_![TT >: LFMatrix[L, TF], That](implicit op: UnaryOp[TT, OpNot, That]): That

    Definition Classes
    NumericOps
  66. final def unary_-[TT >: LFMatrix[L, TF], That](implicit op: UnaryOp[TT, OpNeg, That]): That

    Definition Classes
    NumericOps
  67. def unindexed: UnindexedLFMatrix[L, TF]

  68. def update(label: Int, tf: TF): Unit

  69. def update(label: L, tf: TF): Unit

  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  73. final def ||[TT >: LFMatrix[L, TF], B, That](b: B)(implicit op: BinaryOp[TT, B, OpOr, That]): That

    Definition Classes
    NumericOps

Inherited from Serializable

Inherited from Serializable

Inherited from NumericOps[LFMatrix[L, TF]]

Inherited from AnyRef

Inherited from Any

Ungrouped