Class

com.johnsnowlabs.ml.tensorflow

TensorflowSentiment

Related Doc: package tensorflow

Permalink

class TensorflowSentiment extends Serializable with Logging

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorflowSentiment
  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 TensorflowSentiment(tensorflow: TensorflowWrapper, encoder: ClassifierDatasetEncoder, 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 clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def internalPredict(inputs: Array[Array[Float]], configProtoBytes: Option[Array[Byte]] = None): Array[Int]

    Permalink
  14. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  17. def measure(labeled: Array[(Array[Float], Array[Int])], batchSize: Int = 100): Float

    Permalink
  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. def outputLog(value: ⇒ String, uuid: String, shouldLog: Boolean, outputLogsPath: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def predict(docs: Seq[(Int, Seq[Annotation])], configProtoBytes: Option[Array[Byte]] = None, threshold: Float = 0.6f, thresholdLabel: String = "neutral"): Seq[Annotation]

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

    Permalink
    Definition Classes
    AnyRef
  24. val tensorflow: TensorflowWrapper

    Permalink
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def train(inputs: Array[Array[Float]], labels: Array[String], lr: Float = 5e-3f, batchSize: Int = 64, dropout: Float = 0.5f, startEpoch: Int = 0, endEpoch: Int = 10, configProtoBytes: Option[Array[Byte]] = None, validationSplit: Float = 0.0f, enableOutputLogs: Boolean = false, outputLogsPath: String, uuid: String = ...): Unit

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

    Permalink
    Definition Classes
    TensorflowSentimentLogging
  28. final def wait(): Unit

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

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