cc.factorie.model

DotTemplateWithStatistics1

abstract class DotTemplateWithStatistics1[N1 <: TensorVar] extends Template1[N1] with DotFamilyWithStatistics1[N1]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DotTemplateWithStatistics1
  2. DotFamilyWithStatistics1
  3. DotFamily1
  4. DotFamily
  5. TensorFamilyWithStatistics1
  6. TensorFamily1
  7. TensorFamily
  8. Template1
  9. Family1
  10. Template
  11. Model
  12. FamilyWithNeighborClasses
  13. FamilyWithNeighborDomains
  14. Family
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DotTemplateWithStatistics1()(implicit arg0: ClassTag[N1])

Type Members

  1. final case class Factor(_1: N1) extends Factor1[N1] with Family1.Factor with Product with Serializable

    Definition Classes
    Family1Family
  2. type FactorType = Factor

    Definition Classes
    Family1
  3. abstract type FamilyType <: DotFamily

    Definition Classes
    DotFamilyTensorFamilyFamily
  4. type NeighborType1 = N1

    Definition Classes
    Family1Family
  5. type StatisticsType = Tensor

    Definition Classes
    TensorFamilyFamily

Abstract Value Members

  1. abstract def weights: Weights1

    This can only be set given a Parameters.

    This can only be set given a Parameters. Code will look like val weights = model.Weights(new DenseTensor1(10)) or something of the sort

    Definition Classes
    DotFamilyWithStatistics1DotFamily

Concrete 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 %(n: String): DotTemplateWithStatistics1.this.type

    Assign this Template a name which will be used later when its factors are printed.

    Assign this Template a name which will be used later when its factors are printed.

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

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

    Definition Classes
    Any
  7. final def addFactors(v: variable.Var, result: Set[model.Factor]): Unit

    Not intended to be called by users.

    Not intended to be called by users. This method calls unroll and efficiently deduplicates the resulting Factors by adding them to the result Set.

    Definition Classes
    Template1TemplateModel
  8. def addFactors(dl: variable.DiffList, result: Set[model.Factor]): Unit

    Append to "result" all Factors in this Model that are affected by the given DiffList.

    Append to "result" all Factors in this Model that are affected by the given DiffList. This method must not append duplicates.

    Definition Classes
    Model
  9. def addFactors(d: variable.Diff, result: Set[model.Factor]): Unit

    Append to "result" all Factors in this Model that are affected by the given Diff.

    Append to "result" all Factors in this Model that are affected by the given Diff. This method must not append duplicates.

    Definition Classes
    Model
  10. def addFactors(variables: Iterable[variable.Var], result: Set[model.Factor]): Unit

    Append to "result" all Factors in this Model that touch any of the given "variables".

    Append to "result" all Factors in this Model that touch any of the given "variables". This method must not append duplicates.

    Definition Classes
    Model
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def assignmentScore(dl: variable.DiffList, assignment: variable.Assignment): Double

    Definition Classes
    Model
  13. def assignmentScore(d: variable.Diff, assignment: variable.Assignment): Double

    Definition Classes
    Model
  14. def assignmentScore(vars: Iterable[variable.Var], assignment: variable.Assignment): Double

    Definition Classes
    Model
  15. def assignmentScore(variable: variable.Var, assignment: variable.Assignment): Double

    Definition Classes
    Model
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def currentScore(dl: variable.DiffList): Double

    Definition Classes
    Model
  18. def currentScore(d: variable.Diff): Double

    Definition Classes
    Model
  19. def currentScore(vars: Iterable[variable.Var]): Double

    Definition Classes
    Model
  20. def currentScore(variable: variable.Var): Double

    Definition Classes
    Model
  21. def defaultFactorName: String

    Definition Classes
    Family
  22. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  24. var factorName: String

    Definition Classes
    Family
  25. final def factors(variables: Iterable[variable.Var]): Iterable[FactorType]

    Return all Factors in this Model that touch any of the given "variables".

    Return all Factors in this Model that touch any of the given "variables". The result will not have any duplicate Factors.

    Definition Classes
    TemplateModel
  26. final def factors(v: variable.Var): Iterable[FactorType]

    Users should call this method to create and return all Factors of this Template touching the given Var.

    Users should call this method to create and return all Factors of this Template touching the given Var.

    Definition Classes
    TemplateModel
  27. def factors(dl: variable.DiffList): Iterable[model.Factor]

    Return all Factors in this Model that are affected by the given DiffList.

    Return all Factors in this Model that are affected by the given DiffList. The result will not have any duplicate Factors. By default returns just the factors that neighbor the DiffList.variables, but this method may be overridden for special handling of the DiffList

    Definition Classes
    Model
  28. def factors(d: variable.Diff): Iterable[model.Factor]

    Return all Factors in this Model that are affected by the given Diff.

    Return all Factors in this Model that are affected by the given Diff. The result will not have any duplicate Factors. By default returns just the factors that neighbor Diff.variable, but this method may be overridden for special handling of the Diff

    Definition Classes
    Model
  29. def factorsOfClass[F <: model.Factor](d: variable.DiffList)(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  30. def factorsOfClass[F <: model.Factor](d: variable.DiffList, fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  31. def factorsOfClass[F <: model.Factor](variables: Iterable[variable.Var])(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  32. def factorsOfClass[F <: model.Factor](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[F]

    Definition Classes
    Model
  33. def factorsOfClass[F <: model.Factor](variables: Iterable[variable.Var], fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  34. def factorsOfClass[F <: model.Factor](variable: variable.Var, fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  35. def factorsOfFamilies[F <: Family](d: variable.DiffList, families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  36. def factorsOfFamilies[F <: Family](variables: Iterable[variable.Var], families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  37. def factorsOfFamilies[F <: Family](variable: variable.Var, families: Seq[F]): Iterable[Model.factorsOfFamilies.F.Factor]

    Definition Classes
    Model
  38. def factorsOfFamily[F <: Family](d: variable.DiffList, family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  39. def factorsOfFamily[F <: Family](variables: Iterable[variable.Var], family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  40. def factorsOfFamily[F <: Family](variable: variable.Var, family: F): Iterable[Model.factorsOfFamily.F.Factor]

    Definition Classes
    Model
  41. def factorsOfFamilyClass[F <: Family](d: variable.DiffList)(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  42. def factorsOfFamilyClass[F <: Family](d: variable.DiffList, fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  43. def factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var])(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  44. def factorsOfFamilyClass[F <: Family](variable: variable.Var)(implicit fm: ClassTag[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  45. def factorsOfFamilyClass[F <: Family](variables: Iterable[variable.Var], fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  46. def factorsOfFamilyClass[F <: Family](variable: variable.Var, fclass: Class[F]): Iterable[Model.factorsOfFamilyClass.F.Factor]

    Definition Classes
    Model
  47. def families: Seq[Family]

    A Factor Template has just one Factor Family: itself.

    A Factor Template has just one Factor Family: itself.

    Definition Classes
    Template
  48. def filterByFactorClass[F <: model.Factor](factors: Iterable[model.Factor], fclass: Class[F]): Iterable[F]

    Definition Classes
    Model
  49. def filterByFamilies[F <: Family](factors: Iterable[model.Factor], families: Seq[F]): Iterable[Model.filterByFamilies.F.Factor]

    Definition Classes
    Model
  50. def filterByFamily[F <: Family](factors: Iterable[model.Factor], family: F): Iterable[Model.filterByFamily.F.Factor]

    Definition Classes
    Model
  51. def filterByFamilyClass[F <: Family](factors: Iterable[model.Factor], fclass: Class[F]): Iterable[Model.filterByFamilyClass.F.Factor]

    Definition Classes
    Model
  52. def filterByNotFamilyClass[F <: Family](factors: Iterable[model.Factor], fclass: Class[F]): Iterable[model.Factor]

    Definition Classes
    Model
  53. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  55. def hasLimitedDiscreteValues1: Boolean

    Definition Classes
    Family1
  56. def hashCode(): Int

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

    Definition Classes
    Any
  58. def itemizedModel(dl: variable.DiffList): ItemizedModel

    Definition Classes
    Model
  59. def itemizedModel(d: variable.Diff): ItemizedModel

    Definition Classes
    Model
  60. def itemizedModel(variables: Iterable[variable.Var]): ItemizedModel

    Definition Classes
    Model
  61. def itemizedModel(variable: variable.Var): ItemizedModel

    Definition Classes
    Model
  62. def limitDiscreteValuesAsIn(vars: Iterable[DiscreteVar]): Unit

    Causes future calls to factor.

    Causes future calls to factor.valuesIterator to limit the returned values to those value combinations seen in the current values of the variables in factors touching "vars". Note that this will limit the values of all DiscreteVar neighbors of the resulting factors, not just the "vars" argument.

    Definition Classes
    Template1Template
  63. var limitedDiscreteValues1: SparseBinaryTensor1

    Definition Classes
    Family1
  64. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  65. val neighborClass1: Class[_]

    Definition Classes
    Template1
  66. def neighborClasses: Seq[Class[_]]

    Definition Classes
    Template1FamilyWithNeighborClasses
  67. def neighborDomain1: Domain { type Value = N1#Value }

    Override this if you want to matchNeighborDomains

    Override this if you want to matchNeighborDomains

    Definition Classes
    Family1
  68. def neighborDomains: Seq[Domain { type Value = N1#Value }]

    Definition Classes
    Family1FamilyWithNeighborDomains
  69. def newFactorsCollection: Set[model.Factor]

    The "factors" methods need a new collection to return; this method is used by them to construct this collection.

    The "factors" methods need a new collection to return; this method is used by them to construct this collection.

    Definition Classes
    Model
  70. final def notify(): Unit

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

    Definition Classes
    AnyRef
  72. def score(v1: N1.Value): Double

    Definition Classes
    DotFamily1Family1
  73. def scoreAndStatistics(v1: N1.Value): (Double, StatisticsType)

    Definition Classes
    Family1
  74. def scores1(): la.Tensor1

    Definition Classes
    DotFamilyWithStatistics1
  75. def setFactorName(n: String): DotTemplateWithStatistics1.this.type

    Assign this Template a name which will be used later when its factors are printed.

    Assign this Template a name which will be used later when its factors are printed.

    Definition Classes
    Family
  76. def setWeight(entry: la.Tensor1, w: Double): Unit

    Definition Classes
    DotFamilyWithStatistics1
  77. final def statistics(v1: N1.Value): N1.Value

    Definition Classes
    TensorFamilyWithStatistics1TensorFamily1Family1
    Annotations
    @inline()
  78. final def statisticsScore(t: Tensor): Double

    Definition Classes
    DotFamilyFamily
    Annotations
    @inline()
  79. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  80. final def thisFamily: DotTemplateWithStatistics1.this.type

    Definition Classes
    Family
    Annotations
    @inline()
  81. def toString(): String

    Definition Classes
    AnyRef → Any
  82. def unroll(v: variable.Var): Iterable[Factor]

    Implement this method to create and return all Factors of this Template touching the given Var.

    Implement this method to create and return all Factors of this Template touching the given Var. Users of the Template should not call this method directly, however, because this method's implementation is permitted to return duplicate Factors. Instead call factors(Var), which will deduplicate the Factors (using the helper function addFactors).

    Definition Classes
    Template1Template
  83. def unroll1(v: N1): Iterable[FactorType]

    Definition Classes
    Template1
  84. def valuesScore(tensor: Tensor): Double

    Definition Classes
    Family
  85. final def valuesStatistics(tensor: Tensor): Tensor

    Definition Classes
    TensorFamilyWithStatistics1Family1
  86. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DotFamilyWithStatistics1[N1]

Inherited from DotFamily1[N1]

Inherited from DotFamily

Inherited from TensorFamilyWithStatistics1[N1]

Inherited from TensorFamily1[N1]

Inherited from TensorFamily

Inherited from Template1[N1]

Inherited from Family1[N1]

Inherited from Template

Inherited from Model

Inherited from FamilyWithNeighborClasses

Inherited from FamilyWithNeighborDomains

Inherited from Family

Inherited from AnyRef

Inherited from Any

Ungrouped