class
Metal extends AnyRef
Instance Constructors
-
new
Metal(taskManagerOpt: Option[TaskManager], parameters: ParameterCollection, modelOpt: Option[IndexedSeq[Layers]])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
batchBackprop(batchLosses: ExpressionVector, trainer: SafeTrainer): Float
-
def
chooseOptimalPreds(predsWithScores: IndexedSeq[IndexedSeq[(String, Float)]], goldLabels: IndexedSeq[String], topK: Int): IndexedSeq[String]
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
evaluate(taskId: Int, taskName: String, sentences: Array[Array[Row]], name: String, epoch: Int): (Double, Double, Double, Double)
-
def
evaluate(taskId: Int, taskName: String, sentences: Array[Array[Row]]): (Double, Double, Double, Double)
-
def
evaluate(taskId: Int, taskName: String, sentences: Array[Array[Row]], epoch: Int): (Double, Double, Double, Double)
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
initialize(): Array[Layers]
-
final
def
isInstanceOf[T0]: Boolean
-
def
mkVocabularies(): (Array[Counter[String]], Array[Counter[String]])
-
lazy val
model: IndexedSeq[Layers]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
parameters: ParameterCollection
-
-
def
parseWithEisner(sentence: AnnotatedSentence, constEmbeddings: ConstEmbeddingParameters, topK: Int, lambda: Float): IndexedSeq[(Int, String)]
-
-
-
def
predictWithScores(taskId: Int, sentence: AnnotatedSentence, modHeadPairsOpt: Option[IndexedSeq[ModifierHeadPair]], constEmbeddings: ConstEmbeddingParameters, applySoftmax: Boolean = true): IndexedSeq[IndexedSeq[(String, Float)]]
-
def
save(baseFilename: String): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
val
taskManagerOpt: Option[TaskManager]
-
def
test(): Unit
-
def
toString(): String
-
def
train(modelNamePrefix: String): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Multi-task learning (MeTaL) for sequence modeling Designed to model any sequence task (e.g., POS tagging, NER), and SRL