cc.factorie

model

package model

Visibility
  1. Public
  2. All

Type Members

  1. class CombinedModel extends Model

    A Model that concatenates the factors of multiple contained models.

  2. abstract class DotFactor1[N1 <: TensorVar] extends TensorFactor1[N1]

    A 1-neighbor Factor whose statistics have type Tensor, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  3. abstract class DotFactor2[N1 <: TensorVar, N2 <: TensorVar] extends TensorFactor2[N1, N2]

    A 2-neighbor Factor whose statistics have type Tensor, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  4. abstract class DotFactor3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends TensorFactor3[N1, N2, N3]

    A 3-neighbor Factor whose statistics have type Tensor, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  5. abstract class DotFactor4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends TensorFactor4[N1, N2, N3, N4]

    A 4-neighbor Factor whose statistics have type Tensor, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  6. abstract class DotFactorWithStatistics1[N1 <: TensorVar] extends DotFactor1[N1] with TensorFactorStatistics1[N1]

    A 1-neighbor Factor whose neighbor has Tensor values, and whose statistics are the outer product of those values, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  7. abstract class DotFactorWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends DotFactor2[N1, N2] with TensorFactorStatistics2[N1, N2]

    A 2-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  8. abstract class DotFactorWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends DotFactor3[N1, N2, N3] with TensorFactorStatistics3[N1, N2, N3]

    A 3-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  9. abstract class DotFactorWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends DotFactor4[N1, N2, N3, N4] with TensorFactorStatistics4[N1, N2, N3, N4]

    A 4-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values, and whose score is the dot product between this Tensor and a "weightsSet" parameter Tensor.

  10. trait DotFamily extends TensorFamily

    A Family whose Factors have scores calculated as a dot-product between sufficient statistics WeightsMap and the Family's weightsSet Tensor.

  11. trait DotFamily1[N1 <: variable.Var] extends TensorFamily1[N1] with DotFamily

  12. trait DotFamily2[N1 <: variable.Var, N2 <: variable.Var] extends TensorFamily2[N1, N2] with DotFamily

  13. trait DotFamily3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends TensorFamily3[N1, N2, N3] with DotFamily

  14. trait DotFamily4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends TensorFamily4[N1, N2, N3, N4] with DotFamily

  15. trait DotFamilyWithStatistics1[N1 <: TensorVar] extends TensorFamilyWithStatistics1[N1] with DotFamily1[N1]

  16. trait DotFamilyWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends TensorFamilyWithStatistics2[N1, N2] with DotFamily2[N1, N2]

  17. trait DotFamilyWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends TensorFamilyWithStatistics3[N1, N2, N3] with DotFamily3[N1, N2, N3]

  18. trait DotFamilyWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends TensorFamilyWithStatistics4[N1, N2, N3, N4] with DotFamily4[N1, N2, N3, N4]

  19. abstract class DotTemplate1[N1 <: variable.Var] extends Template1[N1] with DotFamily1[N1]

  20. abstract class DotTemplate2[N1 <: variable.Var, N2 <: variable.Var] extends Template2[N1, N2] with DotFamily2[N1, N2]

  21. abstract class DotTemplate3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Template3[N1, N2, N3] with DotFamily3[N1, N2, N3]

  22. abstract class DotTemplate4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Template4[N1, N2, N3, N4] with DotFamily4[N1, N2, N3, N4]

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

  24. abstract class DotTemplateWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends Template2[N1, N2] with DotFamilyWithStatistics2[N1, N2]

  25. abstract class DotTemplateWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends Template3[N1, N2, N3] with DotFamilyWithStatistics3[N1, N2, N3]

  26. abstract class DotTemplateWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends Template4[N1, N2, N3, N4] with DotFamilyWithStatistics4[N1, N2, N3, N4]

  27. trait Factor extends Ordered[Factor]

    A single factor in a factor graph.

  28. abstract class Factor1[N1 <: variable.Var] extends Factor

    A Factor with one neighboring variable

  29. abstract class Factor2[N1 <: variable.Var, N2 <: variable.Var] extends Factor

    The only abstract things are _1, _2, statistics(Values), and StatisticsType

  30. abstract class Factor3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Factor

    The only abstract things are _1, _2, _3, statistics(Values), and StatisticsType

  31. abstract class Factor4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Factor

    The only abstract things are _1, _2, _3, statistics(Values), and StatisticsType

  32. abstract class FactorWithStatistics1[N1 <: variable.Var] extends Factor1[N1]

    A 1-neighbor Factor whose statistics have type Tuple1.

  33. trait Family extends AnyRef

  34. trait Family1[N1 <: variable.Var] extends FamilyWithNeighborDomains

  35. trait Family2[N1 <: variable.Var, N2 <: variable.Var] extends FamilyWithNeighborDomains

  36. trait Family3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends FamilyWithNeighborDomains

  37. trait Family4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends FamilyWithNeighborDomains

  38. trait FamilyWithNeighborClasses extends Family

  39. trait FamilyWithNeighborDomains extends Family

  40. class ItemizedModel extends Model

    A Model that explicitly stores all factors, with an efficient map from variables to their neighboring factors.

  41. class IterableSingleFactor[F <: Factor] extends Iterable[F]

    An iterable collection for efficiently holding a single Factor.

  42. trait Model extends AnyRef

    In FACTORIE a Model is a source of factors.

  43. trait Parameters extends AnyRef

    An object with a "parameters" method, which returns a WeightsSet holding the multiple Tensors that make up the parameters.

  44. trait Statistics[A] extends Family

  45. trait Template extends FamilyWithNeighborDomains with FamilyWithNeighborClasses with Model

    A template for creating Factors.

  46. abstract class Template1[N1 <: variable.Var] extends Template with Family1[N1]

    A Template that creates Factors with one neighbor.

  47. abstract class Template2[N1 <: variable.Var, N2 <: variable.Var] extends Family2[N1, N2] with Template

  48. abstract class Template3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Family3[N1, N2, N3] with Template

  49. abstract class Template4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Family4[N1, N2, N3, N4] with Template

  50. class TemplateModel extends Model

    A Model whose Factors come from Templates.

  51. abstract class TensorFactor1[N1 <: variable.Var] extends Factor1[N1]

    A 1-neighbor Factor whose statistics have type Tensor.

  52. abstract class TensorFactor2[N1 <: variable.Var, N2 <: variable.Var] extends Factor2[N1, N2]

    A 2-neighbor Factor whose statistics have type Tensor.

  53. abstract class TensorFactor3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends Factor3[N1, N2, N3]

    A 3-neighbor Factor whose statistics have type Tensor.

  54. abstract class TensorFactor4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends Factor4[N1, N2, N3, N4]

    A 4-neighbor Factor whose statistics have type Tensor.

  55. trait TensorFactorStatistics1[N1 <: TensorVar] extends TensorFactor1[N1]

    A trait for 1-neighbor Factor whose neighbor has Tensor values, and whose statistics are the outer product of those values.

  56. trait TensorFactorStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends TensorFactor2[N1, N2]

    A trait for 2-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  57. trait TensorFactorStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends TensorFactor3[N1, N2, N3]

    A trait for 3-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  58. trait TensorFactorStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends TensorFactor4[N1, N2, N3, N4]

    A trait for 4-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  59. abstract class TensorFactorWithStatistics1[N1 <: TensorVar] extends TensorFactor1[N1] with TensorFactorStatistics1[N1]

    A 1-neighbor Factor whose neighbor has Tensor values, and whose statistics are the outer product of those values.

  60. abstract class TensorFactorWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends TensorFactor2[N1, N2] with TensorFactorStatistics2[N1, N2]

    A 2-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  61. abstract class TensorFactorWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends TensorFactor3[N1, N2, N3] with TensorFactorStatistics3[N1, N2, N3]

    A 3-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  62. abstract class TensorFactorWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends TensorFactor4[N1, N2, N3, N4] with TensorFactorStatistics4[N1, N2, N3, N4]

    A 4-neighbor Factor whose neighbors have Tensor values, and whose statistics are the outer product of those values.

  63. trait TensorFamily extends Family

    A Family whose Factors have statistics that are WeightsMap.

  64. trait TensorFamily1[N1 <: variable.Var] extends Family1[N1] with TensorFamily

  65. trait TensorFamily2[N1 <: variable.Var, N2 <: variable.Var] extends Family2[N1, N2] with TensorFamily

  66. trait TensorFamily3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Family3[N1, N2, N3] with TensorFamily

  67. trait TensorFamily4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Family4[N1, N2, N3, N4] with TensorFamily

  68. trait TensorFamilyWithStatistics1[N1 <: TensorVar] extends TensorFamily1[N1]

  69. trait TensorFamilyWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends TensorFamily2[N1, N2]

  70. trait TensorFamilyWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends TensorFamily3[N1, N2, N3]

  71. trait TensorFamilyWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends TensorFamily4[N1, N2, N3, N4]

  72. trait TensorSet extends AnyRef

    A collection of Tensors each associated with a Weights key.

  73. abstract class TensorTemplate1[N1 <: variable.Var] extends Template1[N1] with TensorFamily1[N1]

  74. abstract class TensorTemplate2[N1 <: variable.Var, N2 <: variable.Var] extends Template2[N1, N2] with TensorFamily2[N1, N2]

  75. abstract class TensorTemplate3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Template3[N1, N2, N3] with TensorFamily3[N1, N2, N3]

  76. abstract class TensorTemplate4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Template4[N1, N2, N3, N4] with TensorFamily4[N1, N2, N3, N4]

  77. abstract class TensorTemplateWithStatistics1[N1 <: TensorVar] extends Template1[N1] with TensorFamilyWithStatistics1[N1]

  78. abstract class TensorTemplateWithStatistics2[N1 <: TensorVar, N2 <: TensorVar] extends Template2[N1, N2] with TensorFamilyWithStatistics2[N1, N2]

  79. abstract class TensorTemplateWithStatistics3[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar] extends Template3[N1, N2, N3] with TensorFamilyWithStatistics3[N1, N2, N3]

  80. abstract class TensorTemplateWithStatistics4[N1 <: TensorVar, N2 <: TensorVar, N3 <: TensorVar, N4 <: TensorVar] extends Template4[N1, N2, N3, N4] with TensorFamilyWithStatistics4[N1, N2, N3, N4]

  81. abstract class TupleFactorWithStatistics2[N1 <: variable.Var, N2 <: variable.Var] extends Factor2[N1, N2]

    A 2-neighbor Factor whose statistics have type Tuple2.

  82. abstract class TupleFactorWithStatistics3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Factor3[N1, N2, N3]

    A 3-neighbor Factor whose statistics have type Tuple2.

  83. abstract class TupleFactorWithStatistics4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Factor4[N1, N2, N3, N4]

    A 4-neighbor Factor whose statistics have type Tuple2.

  84. trait TupleFamily1[N1 <: variable.Var] extends Family1[N1]

  85. trait TupleFamily2[N1 <: variable.Var, N2 <: variable.Var] extends Family2[N1, N2]

  86. trait TupleFamily3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Family3[N1, N2, N3]

  87. trait TupleFamily4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Family4[N1, N2, N3, N4]

  88. trait TupleFamilyWithStatistics1[N1 <: variable.Var] extends TupleFamily1[N1]

  89. trait TupleFamilyWithStatistics2[N1 <: variable.Var, N2 <: variable.Var] extends TupleFamily2[N1, N2]

  90. trait TupleFamilyWithStatistics3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends TupleFamily3[N1, N2, N3]

  91. trait TupleFamilyWithStatistics4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends TupleFamily4[N1, N2, N3, N4]

  92. abstract class TupleTemplate1[N1 <: variable.Var] extends Template1[N1] with TupleFamily1[N1]

  93. abstract class TupleTemplate2[N1 <: variable.Var, N2 <: variable.Var] extends Template2[N1, N2] with TupleFamily2[N1, N2]

  94. abstract class TupleTemplate3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Template3[N1, N2, N3] with TupleFamily3[N1, N2, N3]

  95. abstract class TupleTemplate4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Template4[N1, N2, N3, N4] with TupleFamily4[N1, N2, N3, N4]

  96. abstract class TupleTemplateWithStatistics1[N1 <: variable.Var] extends Template1[N1] with TupleFamilyWithStatistics1[N1]

  97. abstract class TupleTemplateWithStatistics2[N1 <: variable.Var, N2 <: variable.Var] extends Template2[N1, N2] with TupleFamilyWithStatistics2[N1, N2]

  98. abstract class TupleTemplateWithStatistics3[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var] extends Template3[N1, N2, N3] with TupleFamilyWithStatistics3[N1, N2, N3]

  99. abstract class TupleTemplateWithStatistics4[N1 <: variable.Var, N2 <: variable.Var, N3 <: variable.Var, N4 <: variable.Var] extends Template4[N1, N2, N3, N4] with TupleFamilyWithStatistics4[N1, N2, N3, N4]

  100. trait Weights extends TensorVar

    A TensorVar that is also used as a key in a TensorSet.

  101. trait Weights1 extends Weights

  102. trait Weights2 extends Weights

  103. trait Weights3 extends Weights

  104. trait Weights4 extends Weights

  105. class WeightsMap extends TensorSet

    A TensorSet in which the Tensors are not stored in the Weights objects, but in a map inside this object.

  106. class WeightsSet extends TensorSet

    A TensorSet used for holding parameters.

  107. class WeightsSetCubbie extends Cubbie

    A Cubbie for serializing a WeightsSet.

Ungrouped