class NerDLGraphCheckerModel extends Model[NerDLGraphCheckerModel] with HasInputAnnotationCols with ParamsAndFeaturesWritable

Resulting model from NerDLGraphChecker, that updates dataframe metadata (label column) with NerDLGraph parameters. It does not perform any actual data transformations, as the checks/computations are done during the fit phase.

This annotator should never be used directly.

Linear Supertypes
ParamsAndFeaturesWritable, HasFeatures, DefaultParamsWritable, MLWritable, HasInputAnnotationCols, Model[NerDLGraphCheckerModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. NerDLGraphCheckerModel
  2. ParamsAndFeaturesWritable
  3. HasFeatures
  4. DefaultParamsWritable
  5. MLWritable
  6. HasInputAnnotationCols
  7. Model
  8. Transformer
  9. PipelineStage
  10. Logging
  11. Params
  12. Serializable
  13. Serializable
  14. Identifiable
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NerDLGraphCheckerModel()
  2. new NerDLGraphCheckerModel(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. def $$[T](feature: StructFeature[T]): T
    Attributes
    protected
    Definition Classes
    HasFeatures
  5. def $$[K, V](feature: MapFeature[K, V]): Map[K, V]
    Attributes
    protected
    Definition Classes
    HasFeatures
  6. def $$[T](feature: SetFeature[T]): Set[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  7. def $$[T](feature: ArrayFeature[T]): Array[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val chars: StringArrayParam

    Maximum number of characters in the dataset

  11. final def checkSchema(schema: StructType, inputAnnotatorType: String): Boolean
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  12. final def clear(param: Param[_]): NerDLGraphCheckerModel.this.type
    Definition Classes
    Params
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def copy(extra: ParamMap): NerDLGraphCheckerModel
    Definition Classes
    NerDLGraphCheckerModel → Model → Transformer → PipelineStage → Params
  15. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  16. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  17. val dsLen: LongParam

    Number of training examples in the dataset

  18. val embeddingsDim: IntParam

    Dimensionality of embeddings

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  22. def explainParams(): String
    Definition Classes
    Params
  23. final val extraInputCols: StringArrayParam
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  24. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  25. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  26. val features: ArrayBuffer[Feature[_, _, _]]
    Definition Classes
    HasFeatures
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def get[T](feature: StructFeature[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  29. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  30. def get[T](feature: SetFeature[T]): Option[Set[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  31. def get[T](feature: ArrayFeature[T]): Option[Array[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  32. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  33. def getChars: Array[String]
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  36. def getDsLen: Long
  37. def getEmbeddingsDim: Int
  38. def getInputCols: Array[String]

    returns

    input annotations columns currently used

    Definition Classes
    HasInputAnnotationCols
  39. def getLabelColumn: String
  40. def getLabels: Array[String]
  41. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  42. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  43. val graphFolder: Param[String]

    Folder path that contain external graph files

  44. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  45. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  46. def hasParent: Boolean
    Definition Classes
    Model
  47. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  49. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. val inputAnnotatorTypes: Array[String]

    Annotator reference id.

    Annotator reference id. Used to identify elements in metadata or to refer to this annotator type

    Definition Classes
    NerDLGraphCheckerModelHasInputAnnotationCols
  51. final val inputCols: StringArrayParam

    columns that contain annotations necessary to run this annotator AnnotatorType is used both as input and output columns if not specified

    columns that contain annotations necessary to run this annotator AnnotatorType is used both as input and output columns if not specified

    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  52. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  55. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  56. val labelColumn: Param[String]

    Column with label per each token

  57. val labels: StringArrayParam

    Number of labels in the dataset

  58. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  59. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  66. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  69. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  70. def msgHelper(schema: StructType): String
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  71. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  72. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  73. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  74. def onWrite(path: String, spark: SparkSession): Unit
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesWritable
  75. val optionalInputAnnotatorTypes: Array[String]
    Definition Classes
    HasInputAnnotationCols
  76. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  77. var parent: Estimator[NerDLGraphCheckerModel]
    Definition Classes
    Model
  78. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  79. def set[T](feature: StructFeature[T], value: T): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  80. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  81. def set[T](feature: SetFeature[T], value: Set[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  82. def set[T](feature: ArrayFeature[T], value: Array[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  83. final def set(paramPair: ParamPair[_]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  84. final def set(param: String, value: Any): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  85. final def set[T](param: Param[T], value: T): NerDLGraphCheckerModel.this.type
    Definition Classes
    Params
  86. def setChars(chars: Array[String]): NerDLGraphCheckerModel.this.type
  87. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  88. def setDefault[K, V](feature: MapFeature[K, V], value: () ⇒ Map[K, V]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  89. def setDefault[T](feature: SetFeature[T], value: () ⇒ Set[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  90. def setDefault[T](feature: ArrayFeature[T], value: () ⇒ Array[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  91. final def setDefault(paramPairs: ParamPair[_]*): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  92. final def setDefault[T](param: Param[T], value: T): NerDLGraphCheckerModel.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  93. def setDsLen(value: Long): NerDLGraphCheckerModel.this.type
  94. def setEmbeddingsDim(value: Int): NerDLGraphCheckerModel.this.type
  95. def setExtraInputCols(value: Array[String]): NerDLGraphCheckerModel.this.type
    Definition Classes
    HasInputAnnotationCols
  96. def setGraphFolder(value: String): NerDLGraphCheckerModel.this.type
  97. final def setInputCols(value: String*): NerDLGraphCheckerModel.this.type
    Definition Classes
    HasInputAnnotationCols
  98. def setInputCols(value: Array[String]): NerDLGraphCheckerModel.this.type

    Overrides required annotators column if different than default

    Overrides required annotators column if different than default

    Definition Classes
    HasInputAnnotationCols
  99. def setLabelColumn(value: String): NerDLGraphCheckerModel.this.type
  100. def setLabels(labels: Array[String]): NerDLGraphCheckerModel.this.type
  101. def setParent(parent: Estimator[NerDLGraphCheckerModel]): NerDLGraphCheckerModel
    Definition Classes
    Model
  102. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  103. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  104. def transform(dataset: Dataset[_]): DataFrame

    Adds metadata with graph parameters to the label column.

    Adds metadata with graph parameters to the label column.

    dataset

    input dataset

    returns

    transformed dataset with new output column

    Definition Classes
    NerDLGraphCheckerModel → Transformer
  105. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  106. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  107. def transformSchema(schema: StructType): StructType
    Definition Classes
    NerDLGraphCheckerModel → PipelineStage
  108. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  109. val uid: String
    Definition Classes
    NerDLGraphCheckerModel → Identifiable
  110. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  113. def write: MLWriter
    Definition Classes
    ParamsAndFeaturesWritable → DefaultParamsWritable → MLWritable

Inherited from ParamsAndFeaturesWritable

Inherited from HasFeatures

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from HasInputAnnotationCols

Inherited from Model[NerDLGraphCheckerModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

param

Ungrouped