c

com.johnsnowlabs.ml.tensorflow

TensorflowClassifier

class TensorflowClassifier extends Serializable with ClassifierMetrics

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

Instance Constructors

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

Inherited from ClassifierMetrics

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped