Trait

com.johnsnowlabs.nlp.annotators.resolution.ensemble.params

EnsembleModelParams

Related Doc: package params

Permalink

trait EnsembleModelParams extends Params with HasFeaturesJsl with HasInputAnnotationCols

Linear Supertypes
HasInputAnnotationCols, HasFeaturesJsl, HasFeatures, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnsembleModelParams
  2. HasInputAnnotationCols
  3. HasFeaturesJsl
  4. HasFeatures
  5. Params
  6. Serializable
  7. Serializable
  8. Identifiable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params

    Permalink
    Definition Classes
    Params
  2. abstract val inputAnnotatorTypes: Array[String]

    Permalink
    Definition Classes
    HasInputAnnotationCols
  3. abstract val uid: String

    Permalink
    Definition Classes
    Identifiable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. def $$[K <: String, V <: ChunkEntityResolverModel](feature: ResolverMapFeature[K, V]): Map[K, V]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeaturesJsl
  5. def $$[T](feature: StructFeature[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  6. def $$[K, V](feature: MapFeature[K, V]): Map[K, V]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  7. def $$[T](feature: SetFeature[T]): Set[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  8. def $$[T](feature: ArrayFeature[T]): Array[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. final def checkSchema(schema: StructType, inputAnnotatorType: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  12. lazy val classCol: String

    Permalink
  13. lazy val classificationPipeline: Pipeline

    Permalink
  14. lazy val classifierLabels: Array[String]

    Permalink
  15. final def clear(param: Param[_]): EnsembleModelParams.this.type

    Permalink
    Definition Classes
    Params
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  18. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  19. lazy val docCol: String

    Permalink
  20. lazy val embeddingsCol: String

    Permalink
  21. val entityResolverModels: ResolverMapFeature[String, ChunkEntityResolverModel]

    Permalink

    Map of trained ClassifierLabel -> ChunkEntityResolverModels

  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  25. def explainParams(): String

    Permalink
    Definition Classes
    Params
  26. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  27. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  28. val features: ArrayBuffer[Feature[_, _, _]]

    Permalink
    Definition Classes
    HasFeaturesJsl → HasFeatures
  29. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def get[K <: String, V <: ChunkEntityResolverModel](feature: ResolverMapFeature[K, V]): Option[Map[K, V]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeaturesJsl
  31. def get[T](feature: StructFeature[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  32. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  33. def get[T](feature: SetFeature[T]): Option[Set[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  34. def get[T](feature: ArrayFeature[T]): Option[Array[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  35. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  36. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  38. def getEntityResolverModels: Map[String, ChunkEntityResolverModel]

    Permalink
  39. def getHashingTFModel: HashingTF

    Permalink
  40. def getIdfModel: IDFModel

    Permalink
  41. def getInputCols: Array[String]

    Permalink
    Definition Classes
    HasInputAnnotationCols
  42. def getLabels: Array[String]

    Permalink
  43. def getMergeChunks: Boolean

    Permalink
  44. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  45. def getOvrModel: OneVsRestModel

    Permalink
  46. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  47. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  48. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  49. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  50. val idfModel: StructFeature[IDFModel]

    Permalink

    Trained IDF Spark ML Model

  51. lazy val idfModelValue: IDFModel

    Permalink
  52. final val inputCols: StringArrayParam

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  53. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  56. val labels: StringArrayParam

    Permalink

    array used to output the label in the original form

  57. val mergeChunks: BooleanParam

    Permalink

    whether to merge all chunks in a document or not when training the Classifier

  58. def msgHelper(schema: StructType): String

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  62. val ovrModel: StructFeature[OneVsRestModel]

    Permalink

    Trained OvrLogReg Spark ML Model

  63. lazy val ovrModelValue: OneVsRestModel

    Permalink
  64. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  65. lazy val resolverModels: Map[String, ChunkEntityResolverModel]

    Permalink
  66. def set[K <: String, V <: ChunkEntityResolverModel](feature: ResolverMapFeature[K, V], value: Map[K, V]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeaturesJsl
  67. def set[T](feature: StructFeature[T], value: T): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  68. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  69. def set[T](feature: SetFeature[T], value: Set[T]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  70. def set[T](feature: ArrayFeature[T], value: Array[T]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  71. final def set(paramPair: ParamPair[_]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  72. final def set(param: String, value: Any): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  73. final def set[T](param: Param[T], value: T): EnsembleModelParams.this.type

    Permalink
    Definition Classes
    Params
  74. def setDefault[K <: String, V <: ChunkEntityResolverModel](feature: ResolverMapFeature[K, V], value: () ⇒ Map[K, V]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeaturesJsl
  75. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  76. def setDefault[K, V](feature: MapFeature[K, V], value: () ⇒ Map[K, V]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  77. def setDefault[T](feature: SetFeature[T], value: () ⇒ Set[T]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  78. def setDefault[T](feature: ArrayFeature[T], value: () ⇒ Array[T]): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  79. final def setDefault(paramPairs: ParamPair[_]*): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  80. final def setDefault[T](param: Param[T], value: T): EnsembleModelParams.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  81. def setEntityResolverModels(value: Map[String, ChunkEntityResolverModel]): EnsembleModelParams.this.type

    Permalink
  82. def setHashingTFModel(value: HashingTF): EnsembleModelParams.this.type

    Permalink
  83. def setIdfModel(value: IDFModel): EnsembleModelParams.this.type

    Permalink
  84. final def setInputCols(value: String*): EnsembleModelParams.this.type

    Permalink
    Definition Classes
    HasInputAnnotationCols
  85. final def setInputCols(value: Array[String]): EnsembleModelParams.this.type

    Permalink
    Definition Classes
    HasInputAnnotationCols
  86. def setLabels(value: Array[String]): EnsembleModelParams.this.type

    Permalink
  87. def setMergeChunks(value: Boolean): EnsembleModelParams.this.type

    Permalink
  88. def setOvrModel(value: OneVsRestModel): EnsembleModelParams.this.type

    Permalink
  89. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  90. val tfModel: StructFeature[HashingTF]

    Permalink

    HashingTF Spark ML Model for reference

  91. lazy val tfModelValue: HashingTF

    Permalink
  92. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  93. lazy val tokenAnnotationCol: String

    Permalink
  94. lazy val tokenRawCol: String

    Permalink
  95. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasInputAnnotationCols

Inherited from HasFeaturesJsl

Inherited from HasFeatures

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped