class LightGBMRegressionModel extends RegressionModel[Vector, LightGBMRegressionModel] with LightGBMModelParams with LightGBMModelMethods with LightGBMPredictionParams with ComplexParamsWritable with SynapseMLLogging

Model produced by LightGBMRegressor.

Linear Supertypes
SynapseMLLogging, ComplexParamsWritable, MLWritable, LightGBMPredictionParams, LightGBMModelMethods, LightGBMModelParams, Wrappable, DotnetWrappable, RWrappable, PythonWrappable, BaseWrappable, RegressionModel[Vector, LightGBMRegressionModel], PredictionModel[Vector, LightGBMRegressionModel], PredictorParams, HasPredictionCol, HasFeaturesCol, HasLabelCol, Model[LightGBMRegressionModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LightGBMRegressionModel
  2. SynapseMLLogging
  3. ComplexParamsWritable
  4. MLWritable
  5. LightGBMPredictionParams
  6. LightGBMModelMethods
  7. LightGBMModelParams
  8. Wrappable
  9. DotnetWrappable
  10. RWrappable
  11. PythonWrappable
  12. BaseWrappable
  13. RegressionModel
  14. PredictionModel
  15. PredictorParams
  16. HasPredictionCol
  17. HasFeaturesCol
  18. HasLabelCol
  19. Model
  20. Transformer
  21. PipelineStage
  22. Logging
  23. Params
  24. Serializable
  25. Serializable
  26. Identifiable
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LightGBMRegressionModel()
  2. new LightGBMRegressionModel(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. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  7. final def clear(param: Param[_]): LightGBMRegressionModel.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  10. def copy(extra: ParamMap): LightGBMRegressionModel
    Definition Classes
    LightGBMRegressionModel → Model → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  12. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  13. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  14. def dotnetAdditionalMethods: String
    Definition Classes
    DotnetWrappable
  15. def dotnetClass(): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  16. lazy val dotnetClassName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  17. lazy val dotnetClassNameString: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  18. lazy val dotnetClassWrapperName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  19. lazy val dotnetCopyrightLines: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  20. def dotnetExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  21. def dotnetExtraMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  22. lazy val dotnetInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  23. def dotnetMLReadWriteMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  24. lazy val dotnetNamespace: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  25. lazy val dotnetObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  26. def dotnetParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  27. def dotnetParamGetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  28. def dotnetParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  29. def dotnetParamSetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  30. def dotnetWrapAsTypeMethod: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  33. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  34. def explainParams(): String
    Definition Classes
    Params
  35. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  36. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  37. final val featuresCol: Param[String]
    Definition Classes
    HasFeaturesCol
  38. def featuresDataType: DataType
    Attributes
    protected
    Definition Classes
    PredictionModel
  39. def featuresShap(features: Vector): Vector

    Protected method to predict local SHAP feature importance values for an instance.

    Protected method to predict local SHAP feature importance values for an instance.

    features

    The local instance or row to compute the local SHAP values for.

    returns

    The SHAP local feature importance values.

    Attributes
    protected
    Definition Classes
    LightGBMModelMethods
  40. val featuresShapCol: Param[String]
    Definition Classes
    LightGBMPredictionParams
  41. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  43. def getBoosterBestIteration(): Int

    Public method to get the best iteration from the booster.

    Public method to get the best iteration from the booster.

    returns

    The best iteration, if early stopping was triggered.

    Definition Classes
    LightGBMModelMethods
  44. def getBoosterNumClasses(): Int

    Public method to get the number of classes from the booster.

    Public method to get the number of classes from the booster.

    returns

    The number of classes.

    Definition Classes
    LightGBMModelMethods
  45. def getBoosterNumFeatures(): Int

    Public method to get the number of features from the booster.

    Public method to get the number of features from the booster.

    returns

    The number of features.

    Definition Classes
    LightGBMModelMethods
  46. def getBoosterNumTotalIterations(): Int

    Public method to get the total number of iterations trained.

    Public method to get the total number of iterations trained.

    returns

    The total number of iterations trained.

    Definition Classes
    LightGBMModelMethods
  47. def getBoosterNumTotalModel(): Int

    Public method to get the total number of models trained.

    Public method to get the total number of models trained. Note this may be larger than the number of iterations, since in multiclass a model is trained per class for each iteration.

    returns

    The total number of models.

    Definition Classes
    LightGBMModelMethods
  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  50. def getDenseFeatureShaps(features: Array[Double]): Array[Double]

    Public method for pyspark API to get the dense local SHAP feature importance values for an instance.

    Public method for pyspark API to get the dense local SHAP feature importance values for an instance.

    features

    The local instance or row to compute the SHAP values for.

    returns

    The local feature importance values.

    Definition Classes
    LightGBMModelMethods
  51. def getFeatureImportances(importanceType: String): Array[Double]

    Public method to get the global feature importance values.

    Public method to get the global feature importance values.

    importanceType

    split or gini

    returns

    The global feature importance values.

    Definition Classes
    LightGBMModelMethods
  52. def getFeatureShaps(features: Vector): Array[Double]

    Public method to get the vector local SHAP feature importance values for an instance.

    Public method to get the vector local SHAP feature importance values for an instance.

    features

    The local instance or row to compute the SHAP values for.

    returns

    The local feature importance values.

    Definition Classes
    LightGBMModelMethods
  53. final def getFeaturesCol: String
    Definition Classes
    HasFeaturesCol
  54. def getFeaturesShapCol: String
    Definition Classes
    LightGBMPredictionParams
  55. final def getLabelCol: String
    Definition Classes
    HasLabelCol
  56. def getLeafPredictionCol: String
    Definition Classes
    LightGBMPredictionParams
  57. def getLightGBMBooster: LightGBMBooster
    Definition Classes
    LightGBMModelParams
  58. def getModel: LightGBMBooster

    Alias for same method

    Alias for same method

    returns

    The LightGBM Booster.

    Definition Classes
    LightGBMModelParams
  59. def getNativeModel(): String

    Gets the native model serialized representation as a string.

    Gets the native model serialized representation as a string.

    Definition Classes
    LightGBMModelMethods
  60. def getNumIterations: Int
    Definition Classes
    LightGBMModelParams
  61. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  62. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  63. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  64. def getPayload(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], exception: Option[Exception]): Map[String, String]
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  65. def getPredictDisableShapeCheck: Boolean
    Definition Classes
    LightGBMPredictionParams
  66. final def getPredictionCol: String
    Definition Classes
    HasPredictionCol
  67. def getSparseFeatureShaps(size: Int, indices: Array[Int], values: Array[Double]): Array[Double]

    Public method for pyspark API to get the sparse local SHAP feature importance values for an instance.

    Public method for pyspark API to get the sparse local SHAP feature importance values for an instance.

    returns

    The local feature importance values.

    Definition Classes
    LightGBMModelMethods
  68. def getStartIteration: Int
    Definition Classes
    LightGBMModelParams
  69. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  70. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  71. def hasParent: Boolean
    Definition Classes
    Model
  72. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  73. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  74. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  76. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  77. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  78. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  79. final val labelCol: Param[String]
    Definition Classes
    HasLabelCol
  80. val leafPredictionCol: Param[String]
    Definition Classes
    LightGBMPredictionParams
  81. val lightGBMBooster: LightGBMBoosterParam
    Definition Classes
    LightGBMModelParams
  82. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  83. def logBase(info: Map[String, String], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  84. def logBase(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  85. def logClass(featureName: String): Unit
    Definition Classes
    SynapseMLLogging
  86. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  90. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  91. def logFit[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  92. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  93. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  94. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  95. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  96. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  97. def logTransform[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  98. def logVerb[T](verb: String, f: ⇒ T, columns: Option[Int] = None): T
    Definition Classes
    SynapseMLLogging
  99. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  100. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  101. def makeDotnetFile(conf: CodegenConfig): Unit
    Definition Classes
    DotnetWrappable
  102. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  103. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  104. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  105. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  106. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  107. def numFeatures: Int
    Definition Classes
    PredictionModel
    Annotations
    @Since( "1.6.0" )
  108. val numIterations: IntParam
    Definition Classes
    LightGBMModelParams
  109. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  110. var parent: Estimator[LightGBMRegressionModel]
    Definition Classes
    Model
  111. def predict(features: Vector): Double
    Definition Classes
    LightGBMRegressionModel → PredictionModel
  112. val predictDisableShapeCheck: BooleanParam
    Definition Classes
    LightGBMPredictionParams
  113. def predictLeaf(features: Vector): Vector

    Protected method to predict leaf index.

    Protected method to predict leaf index.

    features

    The local instance or row to compute the leaf index for.

    returns

    The predicted leaf index.

    Attributes
    protected
    Definition Classes
    LightGBMModelMethods
  114. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  115. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  116. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  117. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  121. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  122. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    LightGBMRegressionModelPythonWrappable
  123. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  124. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  125. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  126. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  127. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  128. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  129. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  130. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  131. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  132. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  133. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  134. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  135. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  136. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  137. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  138. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  139. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  140. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  141. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  142. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  143. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  144. def saveNativeModel(filename: String, overwrite: Boolean): Unit

    Saves the native model serialized representation to file.

    Saves the native model serialized representation to file.

    filename

    The name of the file to save the model to

    overwrite

    Whether to overwrite if the file already exists

    Definition Classes
    LightGBMModelMethods
  145. final def set(paramPair: ParamPair[_]): LightGBMRegressionModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  146. final def set(param: String, value: Any): LightGBMRegressionModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  147. final def set[T](param: Param[T], value: T): LightGBMRegressionModel.this.type
    Definition Classes
    Params
  148. final def setDefault(paramPairs: ParamPair[_]*): LightGBMRegressionModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  149. final def setDefault[T](param: Param[T], value: T): LightGBMRegressionModel.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  150. def setFeaturesCol(value: String): LightGBMRegressionModel
    Definition Classes
    PredictionModel
  151. def setFeaturesShapCol(value: String): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMPredictionParams
  152. def setLeafPredictionCol(value: String): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMPredictionParams
  153. def setLightGBMBooster(value: LightGBMBooster): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMModelParams
  154. def setNumIterations(value: Int): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMModelParams
  155. def setParent(parent: Estimator[LightGBMRegressionModel]): LightGBMRegressionModel
    Definition Classes
    Model
  156. def setPredictDisableShapeCheck(value: Boolean): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMPredictionParams
  157. def setPredictionCol(value: String): LightGBMRegressionModel
    Definition Classes
    PredictionModel
  158. def setStartIteration(value: Int): LightGBMRegressionModel.this.type
    Definition Classes
    LightGBMModelParams
  159. val startIteration: IntParam
    Definition Classes
    LightGBMModelParams
  160. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  161. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  162. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  163. def transform(dataset: Dataset[_]): DataFrame

    Adds additional Leaf Index and SHAP columns if specified.

    Adds additional Leaf Index and SHAP columns if specified.

    dataset

    input dataset

    returns

    transformed dataset

    Definition Classes
    LightGBMRegressionModel → PredictionModel → Transformer
  164. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  165. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  166. def transformImpl(dataset: Dataset[_]): DataFrame
    Attributes
    protected
    Definition Classes
    PredictionModel
  167. def transformSchema(schema: StructType): StructType
    Definition Classes
    PredictionModel → PipelineStage
  168. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  169. val uid: String
    Definition Classes
    LightGBMRegressionModelSynapseMLLogging → Identifiable
  170. def updateBoosterParamsBeforePredict(): Unit
    Attributes
    protected
    Definition Classes
    LightGBMModelMethods
  171. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
    Attributes
    protected
    Definition Classes
    PredictorParams
  172. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  173. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  174. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  175. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from SynapseMLLogging

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from LightGBMPredictionParams

Inherited from LightGBMModelMethods

Inherited from LightGBMModelParams

Inherited from Wrappable

Inherited from DotnetWrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from RegressionModel[Vector, LightGBMRegressionModel]

Inherited from PredictionModel[Vector, LightGBMRegressionModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Model[LightGBMRegressionModel]

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

Ungrouped