org.apache.spark.mllib.tree.model
GradientBoostedTreesModel
Companion class GradientBoostedTreesModel
object GradientBoostedTreesModel extends Loader[GradientBoostedTreesModel] with Serializable
- Annotations
- @Since( "1.3.0" )
- Alphabetic
- By Inheritance
- GradientBoostedTreesModel
- Serializable
- Serializable
- Loader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
computeInitialPredictionAndError(data: RDD[LabeledPoint], initTreeWeight: Double, initTree: DecisionTreeModel, loss: Loss): RDD[(Double, Double)]
:: DeveloperApi :: Compute the initial predictions and errors for a dataset for the first iteration of gradient boosting.
:: DeveloperApi :: Compute the initial predictions and errors for a dataset for the first iteration of gradient boosting.
- returns
an RDD with each element being a zip of the prediction and error corresponding to every sample.
- Annotations
- @Since( "1.4.0" ) @DeveloperApi()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(sc: SparkContext, path: String): GradientBoostedTreesModel
- sc
Spark context used for loading model files.
- path
Path specifying the directory to which the model was saved.
- returns
Model instance
- Definition Classes
- GradientBoostedTreesModel → Loader
- Annotations
- @Since( "1.3.0" )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updatePredictionError(data: RDD[LabeledPoint], predictionAndError: RDD[(Double, Double)], treeWeight: Double, tree: DecisionTreeModel, loss: Loss): RDD[(Double, Double)]
:: DeveloperApi :: Update a zipped predictionError RDD (as obtained with computeInitialPredictionAndError)
:: DeveloperApi :: Update a zipped predictionError RDD (as obtained with computeInitialPredictionAndError)
- returns
an RDD with each element being a zip of the prediction and error corresponding to each sample.
- Annotations
- @Since( "1.4.0" ) @DeveloperApi()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )