xgboost4j-spark_2.12 1.6.2 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package ml
  Definition Classes
    root
-  package dmlc
  Definition Classes
    ml
-  package xgboost4j
  Definition Classes
    dmlc
-  package scala
  Definition Classes
    xgboost4j
-  package spark
  Definition Classes
    scala
-  package params
  Definition Classes
    spark
- DataUtils
- IteratorWrapper
- PreXGBoost
- TrackerConf
- Watches
- XGBoost
- XGBoostClassificationModel
- XGBoostClassifier
- XGBoostRegressionModel
- XGBoostRegressor
- XGBoostTrainingSummary

o

ml.dmlc.xgboost4j.scala.spark

# PreXGBoost 

###

#### object PreXGBoost extends PreXGBoostProvider

PreXGBoost serves preparing data before training and transform

Linear Supertypes
PreXGBoostProvider, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. PreXGBoost
2. PreXGBoostProvider
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def buildDatasetToRDD(estimator: Estimator[_], dataset: Dataset[_], params: Map[String, Any]): (XGBoostExecutionParams) ⇒ (Boolean, RDD[() ⇒ Watches], Option[RDD[_]])

   Convert the Dataset[_] to RDD[() => Watches] which will be fed to XGBoost

   Convert the Dataset[_] to RDD[() => Watches] which will be fed to XGBoost

   estimator

     supports XGBoostClassifier and XGBoostRegressor

   dataset

     the training data

   params

     all user defined and defaulted params

   returns

     XGBoostExecutionParams => (Boolean, RDD=> Watches, Option[ RDD[_] ]) Boolean if building DMatrix in rabit context RDD[() => Watches] will be used as the training input Option[RDD[_]\] is the optional cached RDD

   Definition Classes
     PreXGBoost → PreXGBoostProvider
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
12.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
13.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
14.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
15.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
16.  def providerEnabled(dataset: Option[Dataset[_]]): Boolean

    Whether the provider is enabled or not

    Whether the provider is enabled or not

    dataset

      the input dataset

    returns

      Boolean

    Definition Classes
      PreXGBoostProvider
17.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
18.  def toString(): String
    Definition Classes
      AnyRef → Any
19.  def transformDataset(model: Model[_], dataset: Dataset[_]): DataFrame

    Transform Dataset

    Transform Dataset

    model

      supporting XGBoostClassificationModel and XGBoostRegressionModel

    dataset

      the input Dataset to transform

    returns

      the transformed DataFrame

    Definition Classes
      PreXGBoost → PreXGBoostProvider
20.  def transformSchema(xgboostEstimator: XGBoostEstimatorCommon, schema: StructType): StructType

    Transform schema

    Transform schema

    xgboostEstimator

      supporting XGBoostClassifier/XGBoostClassificationModel and XGBoostRegressor/XGBoostRegressionModel

    schema

      the input schema

    returns

      the transformed schema

    Definition Classes
      PreXGBoost → PreXGBoostProvider
21.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
22.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
23.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from PreXGBoostProvider

### Inherited from AnyRef

### Inherited from Any

### Ungrouped