class LightGBMRankerModel extends RankerModel[Vector, LightGBMRankerModel] with LightGBMModelParams with LightGBMModelMethods with LightGBMPredictionParams with ComplexParamsWritable with SynapseMLLogging

Model produced by LightGBMRanker.

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

Instance Constructors

  1. new LightGBMRankerModel()
  2. new LightGBMRankerModel(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[_]): LightGBMRankerModel.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): LightGBMRankerModel
    Definition Classes
    LightGBMRankerModel → 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  17. def explainParams(): String
    Definition Classes
    Params
  18. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  19. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  20. final val featuresCol: Param[String]
    Definition Classes
    HasFeaturesCol
  21. def featuresDataType: DataType
    Attributes
    protected
    Definition Classes
    PredictionModel
  22. 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
  23. val featuresShapCol: Param[String]
    Definition Classes
    LightGBMPredictionParams
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  33. 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
  34. 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
  35. 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
  36. final def getFeaturesCol: String
    Definition Classes
    HasFeaturesCol
  37. def getFeaturesShapCol: String
    Definition Classes
    LightGBMPredictionParams
  38. final def getLabelCol: String
    Definition Classes
    HasLabelCol
  39. def getLeafPredictionCol: String
    Definition Classes
    LightGBMPredictionParams
  40. def getLightGBMBooster: LightGBMBooster
    Definition Classes
    LightGBMModelParams
  41. def getModel: LightGBMBooster

    Alias for same method

    Alias for same method

    returns

    The LightGBM Booster.

    Definition Classes
    LightGBMModelParams
  42. def getNativeModel(): String

    Gets the native model serialized representation as a string.

    Gets the native model serialized representation as a string.

    Definition Classes
    LightGBMModelMethods
  43. def getNumIterations: Int
    Definition Classes
    LightGBMModelParams
  44. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  45. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  46. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  47. def getPayload(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], exception: Option[Exception]): Map[String, String]
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  48. def getPredictDisableShapeCheck: Boolean
    Definition Classes
    LightGBMPredictionParams
  49. final def getPredictionCol: String
    Definition Classes
    HasPredictionCol
  50. 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
  51. def getStartIteration: Int
    Definition Classes
    LightGBMModelParams
  52. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  53. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  54. def hasParent: Boolean
    Definition Classes
    Model
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  56. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  57. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  61. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  62. final val labelCol: Param[String]
    Definition Classes
    HasLabelCol
  63. val leafPredictionCol: Param[String]
    Definition Classes
    LightGBMPredictionParams
  64. val lightGBMBooster: LightGBMBoosterParam
    Definition Classes
    LightGBMModelParams
  65. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  66. def logBase(info: Map[String, String], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  67. def logBase(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  68. def logClass(featureName: String): Unit
    Definition Classes
    SynapseMLLogging
  69. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  70. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  72. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  73. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  74. def logFit[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  75. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  78. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def logTransform[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  81. def logVerb[T](verb: String, f: ⇒ T, columns: Option[Int] = None): T
    Definition Classes
    SynapseMLLogging
  82. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  85. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  86. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  87. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  89. def numFeatures: Int
    Definition Classes
    LightGBMRankerModel → PredictionModel
  90. val numIterations: IntParam
    Definition Classes
    LightGBMModelParams
  91. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  92. var parent: Estimator[LightGBMRankerModel]
    Definition Classes
    Model
  93. def predict(features: Vector): Double
    Definition Classes
    LightGBMRankerModel → PredictionModel
  94. val predictDisableShapeCheck: BooleanParam
    Definition Classes
    LightGBMPredictionParams
  95. 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
  96. final val predictionCol: Param[String]
    Definition Classes
    HasPredictionCol
  97. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  98. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  99. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  100. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  101. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  102. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  104. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    LightGBMRankerModelPythonWrappable
  105. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  108. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  109. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  110. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  111. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  114. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  117. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  118. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  119. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  120. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  121. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  122. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  123. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  124. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  125. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  126. 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
  127. final def set(paramPair: ParamPair[_]): LightGBMRankerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  128. final def set(param: String, value: Any): LightGBMRankerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  129. final def set[T](param: Param[T], value: T): LightGBMRankerModel.this.type
    Definition Classes
    Params
  130. final def setDefault(paramPairs: ParamPair[_]*): LightGBMRankerModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  131. final def setDefault[T](param: Param[T], value: T): LightGBMRankerModel.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  132. def setFeaturesCol(value: String): LightGBMRankerModel
    Definition Classes
    PredictionModel
  133. def setFeaturesShapCol(value: String): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMPredictionParams
  134. def setLeafPredictionCol(value: String): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMPredictionParams
  135. def setLightGBMBooster(value: LightGBMBooster): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMModelParams
  136. def setNumIterations(value: Int): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMModelParams
  137. def setParent(parent: Estimator[LightGBMRankerModel]): LightGBMRankerModel
    Definition Classes
    Model
  138. def setPredictDisableShapeCheck(value: Boolean): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMPredictionParams
  139. def setPredictionCol(value: String): LightGBMRankerModel
    Definition Classes
    PredictionModel
  140. def setStartIteration(value: Int): LightGBMRankerModel.this.type
    Definition Classes
    LightGBMModelParams
  141. val startIteration: IntParam
    Definition Classes
    LightGBMModelParams
  142. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  143. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  144. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  145. 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
    LightGBMRankerModel → PredictionModel → Transformer
  146. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  147. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  148. def transformImpl(dataset: Dataset[_]): DataFrame
    Attributes
    protected
    Definition Classes
    PredictionModel
  149. def transformSchema(schema: StructType): StructType
    Definition Classes
    PredictionModel → PipelineStage
  150. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  151. val uid: String
    Definition Classes
    LightGBMRankerModelSynapseMLLogging → Identifiable
  152. def updateBoosterParamsBeforePredict(): Unit
    Attributes
    protected
    Definition Classes
    LightGBMModelMethods
  153. def validateAndTransformSchema(schema: StructType, fitting: Boolean, featuresDataType: DataType): StructType
    Attributes
    protected
    Definition Classes
    PredictorParams
  154. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  155. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  156. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  157. 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 RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from RankerModel[Vector, LightGBMRankerModel]

Inherited from PredictionModel[Vector, LightGBMRankerModel]

Inherited from PredictorParams

Inherited from HasPredictionCol

Inherited from HasFeaturesCol

Inherited from HasLabelCol

Inherited from Model[LightGBMRankerModel]

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