Class

com.johnsnowlabs.ml.tensorflow

ClassifierDatasetEncoder

Related Doc: package tensorflow

Permalink

class ClassifierDatasetEncoder extends Serializable

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

Instance Constructors

  1. new ClassifierDatasetEncoder(params: ClassifierDatasetEncoderParams)

    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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def collectTrainingInstances(dataset: DataFrame, labelCol: String): Array[Array[(String, Array[Float])]]

    Permalink

    Converts DataFrame to Array of Arrays of Labels (string)

    Converts DataFrame to Array of Arrays of Labels (string)

    dataset

    Input DataFrame with embeddings and labels

    returns

    Array of Array of Map(String, Array(Float))

  7. def decodeOutputData(tagIds: Array[Array[Float]]): Array[Array[(String, Float)]]

    Permalink

    Converts Tag Identifiers to Tag Names

    Converts Tag Identifiers to Tag Names

    tagIds

    Tag Ids encoded for Tensorflow Model.

    returns

    Tag names

  8. def encodeTags(labels: Array[String]): Array[Array[Int]]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def extractLabels(dataset: Array[Array[(String, Array[Float])]]): Array[String]

    Permalink

    Converts DataFrame to Array of Arrays of Labels (string)

    Converts DataFrame to Array of Arrays of Labels (string)

    dataset

    Input DataFrame with labels

    returns

    Array of Array of String

  12. def extractSentenceEmbeddings(docs: Seq[(Int, Seq[Annotation])]): Array[Array[Float]]

    Permalink

    Converts DataFrame to Array of Arrays of Embeddings

    Converts DataFrame to Array of Arrays of Embeddings

    docs

    Input DataFrame with sentence_embeddings

    returns

    Array of Array of Float

  13. def extractSentenceEmbeddings(dataset: Array[Array[(String, Array[Float])]]): Array[Array[Float]]

    Permalink

    Converts DataFrame to Array of Arrays of Embeddings

    Converts DataFrame to Array of Arrays of Embeddings

    dataset

    Input DataFrame with sentence_embeddings

    returns

    Array of Array of Float

  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val params: ClassifierDatasetEncoderParams

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

    Permalink
    Definition Classes
    AnyRef
  23. val tags: Array[String]

    Permalink
  24. val tags2Id: Map[String, Int]

    Permalink
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped