Class

com.johnsnowlabs.ml.tensorflow

TensorflowNer

Related Doc: package tensorflow

Permalink

class TensorflowNer extends Serializable with Logging

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorflowNer
  2. Logging
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TensorflowNer(tensorflow: TensorflowWrapper, encoder: NerDatasetEncoder, verboseLevel: nlp.annotators.ner.Verbose.Value)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def calcStat(tp: Int, fp: Int, fn: Int): (Float, Float, Float)

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val encoder: NerDatasetEncoder

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getLogName: String

    Permalink
    Definition Classes
    TensorflowNerLogging
  13. def getPiecesTags(tokenTags: Array[TextSentenceLabels], sentences: Array[WordpieceEmbeddingsSentence]): Array[Array[String]]

    Permalink
  14. def getPiecesTags(tokenTags: TextSentenceLabels, sentence: WordpieceEmbeddingsSentence): Array[String]

    Permalink
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. def log(value: ⇒ String, minLevel: Level): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def measure(labeled: Iterator[Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)]], extended: Boolean = false, includeConfidence: Boolean = false, includeAllConfidenceScores: Boolean = false, enableOutputLogs: Boolean = false, outputLogsPath: String, batchSize: Int = 8, uuid: String = Identifiable.randomUID("annotator")): Unit

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def outputLog(value: ⇒ String, uuid: String, shouldLog: Boolean, outputLogsPath: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def predict(dataset: Array[WordpieceEmbeddingsSentence], configProtoBytes: Option[Array[Byte]] = None, includeConfidence: Boolean = false, includeAllConfidenceScores: Boolean, batchSize: Int = 8): Array[Array[(String, Option[Array[Map[String, String]]])]]

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def tagsForTokens(labels: Array[Array[(String, Option[Array[Map[String, String]]])]], pieces: Array[WordpieceEmbeddingsSentence]): Array[Array[(String, Option[Array[Map[String, String]]])]]

    Permalink
  27. def tagsForTokens(labels: Array[(String, Option[Array[Map[String, String]]])], pieces: WordpieceEmbeddingsSentence): Array[(String, Option[Array[Map[String, String]]])]

    Permalink
  28. val tensorflow: TensorflowWrapper

    Permalink
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def train(trainDataset: ⇒ Iterator[Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)]], trainLength: Long, validDataset: ⇒ Iterator[Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)]], validLength: Long, lr: Float, po: Float, dropout: Float, batchSize: Int = 8, startEpoch: Int = 0, endEpoch: Int, graphFileName: String = "", test: ⇒ Iterator[Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)]] = Iterator.empty, configProtoBytes: Option[Array[Byte]] = None, validationSplit: Float = 0.0f, evaluationLogExtended: Boolean = false, includeConfidence: Boolean = false, enableOutputLogs: Boolean = false, outputLogsPath: String, uuid: String = Identifiable.randomUID("annotator")): Unit

    Permalink
  31. val verboseLevel: nlp.annotators.ner.Verbose.Value

    Permalink
    Definition Classes
    TensorflowNerLogging
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped