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, batchSize: Int, 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. val batchSize: Int

    Permalink
  6. def calcStat(correct: Int, predicted: Int, predictedCorrect: Int): (Float, Float, Float)

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def doSlice[T](dataset: TraversableOnce[T], getLen: (T) ⇒ Int, batchSize: Int = 32)(implicit arg0: ClassTag[T]): Iterator[Array[T]]

    Permalink
  9. val encoder: NerDatasetEncoder

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

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

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

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

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

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

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

    Permalink
  17. def hashCode(): Int

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def measure(labeled: Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)], log: (String) ⇒ Unit, extended: Boolean = false, nErrorsToPrint: Int = 0, batchSize: Int = 20): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def predict(dataset: Array[WordpieceEmbeddingsSentence]): Array[Array[String]]

    Permalink
  26. def slice(dataset: TraversableOnce[(TextSentenceLabels, WordpieceEmbeddingsSentence)], batchSize: Int = 32): Iterator[Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)]]

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

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

    Permalink
  29. def tagsForTokens(labels: Array[String], pieces: WordpieceEmbeddingsSentence): Array[String]

    Permalink
  30. val tensorflow: TensorflowWrapper

    Permalink
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def train(trainDataset: Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)], lr: Float, po: Float, batchSize: Int, dropout: Float, startEpoch: Int, endEpoch: Int, validation: Array[(TextSentenceLabels, WordpieceEmbeddingsSentence)] = Array.empty): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. 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