package
crf
Type Members
-
case class
Attr(id: Int, name: String, isNumerical: Boolean = false) extends Product with Serializable
-
case class
AttrFeature(id: Int, attrId: Int, label: Int) extends Product with Serializable
-
case class
AttrStat(frequency: Int, sum: Float) extends Product with Serializable
-
-
case class
CrfParams(minEpochs: Int = 10, maxEpochs: Int = 1000, l2: Float = 1f, c0: Int = 1500000, lossEps: Float = 1e-4f, randomSeed: Option[Int] = None, verbose: nlp.annotators.ner.Verbose.Value = Verbose.Silent) extends Product with Serializable
-
-
-
-
case class
Instance(items: Seq[SparseArray]) extends Product with Serializable
-
case class
InstanceLabels(labels: Seq[Int]) extends Product with Serializable
-
-
-
-
-
-
-
case class
TextSentenceAttrs(words: Seq[WordAttrs]) extends Product with Serializable
-
case class
TextSentenceLabels(labels: Seq[String]) extends Product with Serializable
-
case class
Transition(stateFrom: Int, stateTo: Int) extends Product with Serializable
-
case class
WordAttrs(strAttrs: Seq[(String, String)], numAttrs: Array[Float] = Array.empty) extends Product with Serializable
Hyper Parameters and Setting for LinearChainCrf training
- Minimum number of epochs to train
- Maximum number of epochs to train
- l2 regularization coefficient
- Initial number of steps in decay strategy
- If loss after a SGD epochs haven't improved (absolutely) more than lossEps, then training is stopped
- Seed for random
- Level of verbosity during training procedure