Packages

case class DenseClassifierGraphFamily(annotator: String, resourceFolder: String, filePrefix: String, tfGraphModelName: String, buildParamsTemplate: String) extends Product with Serializable

Describes a family of pre-built dense (feature vector) classifier graphs which is embedded in the library JAR.

All the annotators which are trained through GenericClassifierApproach share the same TensorFlow contract (inputs, targets, outputs, loss, ... tensors), but not the same topology. Every family keeps the graphs of one topology in its own resource folder, so that the resolver never mixes, e.g., a logistic regression graph with a multi layer perceptron graph.

annotator

the annotator(s) using this family, only used for error messages

resourceFolder

JAR resource folder holding the embedded graphs of this family

filePrefix

file name prefix of the embedded graphs (<prefix>_<inputDim>_<outputDim>.pb)

tfGraphModelName

sparknlp_jsl.training.tf_graph model name able to build this family

buildParamsTemplate

the tf_graph.build parameters this family has been created with, only used for error messages

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

Instance Constructors

  1. new DenseClassifierGraphFamily(annotator: String, resourceFolder: String, filePrefix: String, tfGraphModelName: String, buildParamsTemplate: String)

    annotator

    the annotator(s) using this family, only used for error messages

    resourceFolder

    JAR resource folder holding the embedded graphs of this family

    filePrefix

    file name prefix of the embedded graphs (<prefix>_<inputDim>_<outputDim>.pb)

    tfGraphModelName

    sparknlp_jsl.training.tf_graph model name able to build this family

    buildParamsTemplate

    the tf_graph.build parameters this family has been created with, only used for error messages

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. val annotator: String
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val buildParamsTemplate: String
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val filePrefix: String
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val resourceFolder: String
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val tfGraphModelName: String
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped