c

com.johnsnowlabs.ml.tensorflow

TensorflowGenericClassifier

class TensorflowGenericClassifier extends Serializable with Logging

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. TensorflowGenericClassifier
  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 TensorflowGenericClassifier(model: TensorflowWrapper, verboseLevel: nlp.annotators.ner.Verbose.Value = Verbose.All, outputLogsPath: Option[String] = None)

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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getLogName: String
    Definition Classes
    Logging
  11. def getTFModel: TensorflowWrapper
  12. def graphInputDim: Int

    Length of the feature vector the graph expects.

    Length of the feature vector the graph expects. Feature vectors shorter than this are zero padded.

  13. def graphOutputDim: Int

    Number of output units of the graph.

    Number of output units of the graph. It can be greater than the number of classes of the training dataset, in which case the extra units are never used.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def internalPredict(features: Array[Array[Float]], labels: Array[Array[Float]], configProtoBytes: Option[Array[Byte]] = None, classWeights: Array[Float]): (Float, Float)
    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def log(value: ⇒ String, minLevel: Level): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def logMessage(message: String, uuid: String): Unit
    Attributes
    protected
  19. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  20. val model: TensorflowWrapper
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def outputLog(value: ⇒ String, uuid: String, shouldLog: Boolean, outputLogsPath: String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. val outputLogsPath: Option[String]
  26. def predict(features: Array[Array[Float]], configProtoBytes: Option[Array[Byte]] = None, allowedLabelIds: Option[Array[Int]] = None): (Array[Long], Array[Float], Array[Array[Float]])
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def train(features: Array[Array[Float]], labels: Array[Array[Float]], batchSize: Int, epochsNumber: Int, learningRate: Float = 0.001f, validationSplit: Float = 0.0f, classWeights: Array[Float], dropout: Float = 0.0f, configProtoBytes: Option[Array[Byte]] = None, uuid: String = Identifiable.randomUID("annotator"), resumeTraining: Boolean = false): Unit
  30. val verboseLevel: nlp.annotators.ner.Verbose.Value
    Definition Classes
    TensorflowGenericClassifier → Logging
  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 Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

getParam

Ungrouped