c

com.johnsnowlabs.ml.tensorflow

TensorflowClassifier

class TensorflowClassifier extends Serializable with Logging

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorflowClassifier
  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 TensorflowClassifier(tensorflow: TensorflowWrapper, encoder: ClassifierDatasetEncoder, verboseLevel: nlp.annotators.ner.Verbose.Value)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val encoder: ClassifierDatasetEncoder
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getLogName: String
    Definition Classes
    Logging
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def internalPredict(inputs: Array[Array[Float]], configProtoBytes: Option[Array[Byte]] = None): Array[Int]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def log(value: ⇒ String, minLevel: Level): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  17. def measure(labeled: Array[(Array[Float], Array[Int])], log: (String) ⇒ Unit, extended: Boolean = false, batchSize: Int = 100): Float
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def outputLog(value: ⇒ String, uuid: String, shouldLog: Boolean, outputLogsPath: String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def predict(docs: Seq[(Int, Seq[Annotation])], configProtoBytes: Option[Array[Byte]] = None): Seq[Annotation]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val tensorflow: TensorflowWrapper
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def train(inputs: Array[Array[Float]], labels: Array[String], classNum: Int, 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
  27. val verboseLevel: nlp.annotators.ner.Verbose.Value
    Definition Classes
    TensorflowClassifierLogging
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped