c

com.johnsnowlabs.ml.tensorflow

TensorflowMultiClassifier

class TensorflowMultiClassifier extends Serializable with ClassifierMetrics

Linear Supertypes
ClassifierMetrics, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorflowMultiClassifier
  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 TensorflowMultiClassifier(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[Array[Float]]], configProtoBytes: Option[Array[Byte]] = None, threshold: Float = 0.5f): Array[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(inputs: Array[(Array[Array[Float]], Array[Float])], sourceData: String, extended: Boolean = false, enableOutputLogs: Boolean = false, outputLogsPath: String, batchSize: Int = 100, uuid: String = Identifiable.randomUID("annotator")): (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])], threshold: Float = 0.5f, configProtoBytes: Option[Array[Byte]] = None): Seq[Annotation]
  25. def reshapeInputFeatures(batch: Array[Array[Array[Float]]]): Array[Array[Array[Float]]]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val tensorflow: TensorflowWrapper
  28. val testEncoder: Option[ClassifierDatasetEncoder]
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def train(trainInputs: (Array[Array[Array[Float]]], Array[Array[String]]), testInputs: Option[(Array[Array[Array[Float]]], Array[Array[String]])], classNum: Int, lr: Float = 5e-3f, batchSize: Int = 64, startEpoch: Int = 0, endEpoch: Int = 10, configProtoBytes: Option[Array[Byte]] = None, validationSplit: Float = 0.0f, evaluationLogExtended: Boolean = false, shuffleEpoch: Boolean = false, enableOutputLogs: Boolean = false, outputLogsPath: String, uuid: String = ...): Unit
  31. val verboseLevel: nlp.annotators.ner.Verbose.Value
    Definition Classes
    TensorflowMultiClassifierLogging
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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