Class

com.johnsnowlabs.nlp.annotators.classification

DocumentLogRegClassifierApproach

Related Doc: package classification

Permalink

class DocumentLogRegClassifierApproach extends AnnotatorApproach[DocumentLogRegClassifierModel] with Licensed

Linear Supertypes
Licensed, AnnotatorApproach[DocumentLogRegClassifierModel], CanBeLazy, DefaultParamsWritable, MLWritable, HasOutputAnnotatorType, HasOutputAnnotationCol, HasInputAnnotationCols, Estimator[DocumentLogRegClassifierModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DocumentLogRegClassifierApproach
  2. Licensed
  3. AnnotatorApproach
  4. CanBeLazy
  5. DefaultParamsWritable
  6. MLWritable
  7. HasOutputAnnotatorType
  8. HasOutputAnnotationCol
  9. HasInputAnnotationCols
  10. Estimator
  11. PipelineStage
  12. Logging
  13. Params
  14. Serializable
  15. Serializable
  16. Identifiable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DocumentLogRegClassifierApproach()

    Permalink
  2. new DocumentLogRegClassifierApproach(uid: String)

    Permalink

Type Members

  1. type AnnotatorType = String

    Permalink
    Definition Classes
    HasOutputAnnotatorType

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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def _fit(dataset: Dataset[_], recursiveStages: Option[PipelineModel]): DocumentLogRegClassifierModel

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorApproach
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def beforeTraining(spark: SparkSession): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  9. val classificationModelPath: Param[String]

    Permalink
  10. final def clear(param: Param[_]): DocumentLogRegClassifierApproach.this.type

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def copy(extra: ParamMap): Estimator[DocumentLogRegClassifierModel]

    Permalink
    Definition Classes
    AnnotatorApproach → Estimator → PipelineStage → Params
  13. def copyValues[T <: Params](to: T, extra: ParamMap): T

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  15. val description: String

    Permalink
    Definition Classes
    DocumentLogRegClassifierApproach → AnnotatorApproach
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def fit(dataset: Dataset[_]): DocumentLogRegClassifierModel

    Permalink
    Definition Classes
    AnnotatorApproach → Estimator
  24. def fit(dataset: Dataset[_], paramMaps: Array[ParamMap]): Seq[DocumentLogRegClassifierModel]

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  25. def fit(dataset: Dataset[_], paramMap: ParamMap): DocumentLogRegClassifierModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  26. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DocumentLogRegClassifierModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  27. val fitIntercept: Param[Boolean]

    Permalink
  28. final def get[T](param: Param[T]): Option[T]

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def getClassificationModelPath: String

    Permalink
  31. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  32. def getFitIntercept: Boolean

    Permalink
  33. def getInputCols: Array[String]

    Permalink
    Definition Classes
    HasInputAnnotationCols
  34. def getLabelCol: String

    Permalink
  35. def getLabels: Array[String]

    Permalink
  36. def getLazyAnnotator: Boolean

    Permalink
    Definition Classes
    CanBeLazy
  37. def getMaxIter: Int

    Permalink
  38. def getMergeChunks: Boolean

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

    Permalink
    Definition Classes
    Params
  40. final def getOutputCol: String

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  41. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  42. def getTol: Double

    Permalink
  43. def getVectorizationModelPath: String

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  47. lazy val idf: IDF

    Permalink
  48. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  50. val inputAnnotatorTypes: Array[AnnotatorType]

    Permalink
    Definition Classes
    DocumentLogRegClassifierApproach → HasInputAnnotationCols
  51. final val inputCols: StringArrayParam

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

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

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

    Permalink
    Definition Classes
    Params
  55. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  56. val labelCol: Param[String]

    Permalink
  57. lazy val labelEncodedCol: String

    Permalink
  58. lazy val labelPredictedCol: String

    Permalink
  59. lazy val labelRawCol: String

    Permalink
  60. val labels: StringArrayParam

    Permalink
  61. val lazyAnnotator: BooleanParam

    Permalink
    Definition Classes
    CanBeLazy
  62. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  63. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  64. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  65. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  66. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  67. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  68. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  69. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  70. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  71. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  72. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  73. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  74. lazy val lrClassifier: LogisticRegression

    Permalink
  75. val maxIter: Param[Int]

    Permalink
  76. val mergeChunks: BooleanParam

    Permalink
  77. def msgHelper(schema: StructType): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  81. def onTrained(model: DocumentLogRegClassifierModel, spark: SparkSession): Unit

    Permalink
    Definition Classes
    AnnotatorApproach
  82. val outputAnnotatorType: AnnotatorType

    Permalink
    Definition Classes
    DocumentLogRegClassifierApproach → HasOutputAnnotatorType
  83. final val outputCol: Param[String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasOutputAnnotationCol
  84. lazy val ovrClassifier: OneVsRest

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

    Permalink
    Definition Classes
    Params
  86. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  87. final def set(paramPair: ParamPair[_]): DocumentLogRegClassifierApproach.this.type

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

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

    Permalink
    Definition Classes
    Params
  90. def setClassificationModelPath(value: String): DocumentLogRegClassifierApproach.this.type

    Permalink
  91. final def setDefault(paramPairs: ParamPair[_]*): DocumentLogRegClassifierApproach.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  93. def setFitIntercept(value: Boolean): DocumentLogRegClassifierApproach.this.type

    Permalink
  94. final def setInputCols(value: String*): DocumentLogRegClassifierApproach.this.type

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

    Permalink
    Definition Classes
    HasInputAnnotationCols
  96. def setLabelCol(value: String): DocumentLogRegClassifierApproach.this.type

    Permalink
  97. def setLabels(value: Array[String]): DocumentLogRegClassifierApproach.this.type

    Permalink
  98. def setLazyAnnotator(value: Boolean): DocumentLogRegClassifierApproach.this.type

    Permalink
    Definition Classes
    CanBeLazy
  99. def setMaxIter(value: Int): DocumentLogRegClassifierApproach.this.type

    Permalink
  100. def setMergeChunks(value: Boolean): DocumentLogRegClassifierApproach.this.type

    Permalink
  101. final def setOutputCol(value: String): DocumentLogRegClassifierApproach.this.type

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  102. def setTol(value: Double): DocumentLogRegClassifierApproach.this.type

    Permalink
  103. def setVectorizationModelPath(value: String): DocumentLogRegClassifierApproach.this.type

    Permalink
  104. lazy val sidx: StringIndexer

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

    Permalink
    Definition Classes
    AnyRef
  106. lazy val tf: HashingTF

    Permalink
  107. lazy val tfCol: String

    Permalink
  108. lazy val tfidfCol: String

    Permalink
  109. def toString(): String

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

    Permalink
  111. lazy val tokenRawCol: String

    Permalink
  112. val tol: Param[Double]

    Permalink
  113. def train(dataset: Dataset[_], recursivePipeline: Option[PipelineModel]): DocumentLogRegClassifierModel

    Permalink
    Definition Classes
    DocumentLogRegClassifierApproach → AnnotatorApproach
  114. final def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    AnnotatorApproach → PipelineStage
  115. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  116. val uid: String

    Permalink
    Definition Classes
    DocumentLogRegClassifierApproach → Identifiable
  117. def validate(schema: StructType): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorApproach
  118. val vectorizationModelPath: Param[String]

    Permalink
  119. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. def write: MLWriter

    Permalink
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from Licensed

Inherited from AnnotatorApproach[DocumentLogRegClassifierModel]

Inherited from CanBeLazy

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from HasOutputAnnotatorType

Inherited from HasOutputAnnotationCol

Inherited from HasInputAnnotationCols

Inherited from Estimator[DocumentLogRegClassifierModel]

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped