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 def extractParamMap(): ParamMap
    Definition Classes
    Params
  24. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  25. val features: ArrayBuffer[Feature[_, _, _]]
    Definition Classes
    HasFeatures
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def get[T](feature: StructFeature[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  28. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  29. def get[T](feature: SetFeature[T]): Option[Set[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  30. def get[T](feature: ArrayFeature[T]): Option[Array[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  31. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  32. def getChars: Array[String]
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  35. def getDsLen: Long
  36. def getEmbeddingsDim: Int
  37. def getInputCols: Array[String]

    returns

    input annotations columns currently used

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

    Folder path that contain external graph files

  43. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  44. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  45. def hasParent: Boolean
    Definition Classes
    Model
  46. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  47. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  48. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. 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
  50. 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
  51. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  54. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  55. val labelColumn: Param[String]

    Column with label per each token

  56. val labels: StringArrayParam

    Number of labels in the dataset

  57. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  58. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  65. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  69. def msgHelper(schema: StructType): String
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  72. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  73. def onWrite(path: String, spark: SparkSession): Unit
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesWritable
  74. val optionalInputAnnotatorTypes: Array[String]
    Definition Classes
    HasInputAnnotationCols
  75. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  76. var parent: Estimator[NerDLGraphCheckerModel]
    Definition Classes
    Model
  77. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  78. def set[T](feature: StructFeature[T], value: T): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  79. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  80. def set[T](feature: SetFeature[T], value: Set[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  81. def set[T](feature: ArrayFeature[T], value: Array[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  82. final def set(paramPair: ParamPair[_]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  83. final def set(param: String, value: Any): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  84. final def set[T](param: Param[T], value: T): NerDLGraphCheckerModel.this.type
    Definition Classes
    Params
  85. def setChars(chars: Array[String]): NerDLGraphCheckerModel.this.type
  86. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  87. def setDefault[K, V](feature: MapFeature[K, V], value: () ⇒ Map[K, V]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  88. def setDefault[T](feature: SetFeature[T], value: () ⇒ Set[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  89. def setDefault[T](feature: ArrayFeature[T], value: () ⇒ Array[T]): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  90. final def setDefault(paramPairs: ParamPair[_]*): NerDLGraphCheckerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  91. final def setDefault[T](param: Param[T], value: T): NerDLGraphCheckerModel.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  92. def setDsLen(value: Long): NerDLGraphCheckerModel.this.type
  93. def setEmbeddingsDim(value: Int): NerDLGraphCheckerModel.this.type
  94. def setGraphFolder(value: String): NerDLGraphCheckerModel.this.type
  95. final def setInputCols(value: String*): NerDLGraphCheckerModel.this.type
    Definition Classes
    HasInputAnnotationCols
  96. 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
  97. def setLabelColumn(value: String): NerDLGraphCheckerModel.this.type
  98. def setLabels(labels: Array[String]): NerDLGraphCheckerModel.this.type
  99. def setParent(parent: Estimator[NerDLGraphCheckerModel]): NerDLGraphCheckerModel
    Definition Classes
    Model
  100. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  101. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  102. 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
  103. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  104. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  105. def transformSchema(schema: StructType): StructType
    Definition Classes
    NerDLGraphCheckerModel → PipelineStage
  106. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  107. val uid: String
    Definition Classes
    NerDLGraphCheckerModel → Identifiable
  108. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  111. 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