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
- DataUtils
- IteratorWrapper
- PreXGBoost
- TrackerConf
- Watches
- XGBoost
- XGBoostClassificationModel
- XGBoostClassifier
- XGBoostRegressionModel
- XGBoostRegressor
- XGBoostTrainingSummary

p

ml.dmlc.xgboost4j.scala

# spark 

#### package spark

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. spark
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Type Members

1.  class IteratorWrapper[T] extends Iterator[(String, Iterator[T])]
2.  case class TrackerConf(workerConnectionTimeout: Long, trackerImpl: String, hostIp: String = "", pythonExec: String = "") extends Product with Serializable

   Rabit tracker configurations.

   Rabit tracker configurations.

   workerConnectionTimeout

     The timeout for all workers to connect to the tracker. Set timeout length to zero to disable timeout. Use a finite, non-zero timeout value to prevent tracker from hanging indefinitely (in milliseconds) (supported by "scala" implementation only.)

   trackerImpl

     Choice between "python" or "scala". The former utilizes the Java wrapper of the Python Rabit tracker (in dmlc_core), whereas the latter is implemented in Scala without Python components, and with full support of timeouts. The Scala implementation is currently experimental, use at your own risk.

   hostIp

     The Rabit Tracker host IP address which is only used for python implementation. This is only needed if the host IP cannot be automatically guessed.

   pythonExec

     The python executed path for Rabit Tracker, which is only used for python implementation.

3.  class Watches extends AnyRef
4.  class XGBoostClassificationModel extends ProbabilisticClassificationModel[Vector, XGBoostClassificationModel] with XGBoostClassifierParams with InferenceParams with MLWritable with Serializable
5.  class XGBoostClassifier extends ProbabilisticClassifier[Vector, XGBoostClassifier, XGBoostClassificationModel] with XGBoostClassifierParams with DefaultParamsWritable
6.  class XGBoostRegressionModel extends PredictionModel[Vector, XGBoostRegressionModel] with XGBoostRegressorParams with InferenceParams with MLWritable with Serializable
7.  class XGBoostRegressor extends Predictor[Vector, XGBoostRegressor, XGBoostRegressionModel] with XGBoostRegressorParams with DefaultParamsWritable
8.  class XGBoostTrainingSummary extends Serializable

### Value Members

1.  val VERSION: String
2.  object DataUtils extends Serializable
3.  object PreXGBoost extends PreXGBoostProvider

   PreXGBoost serves preparing data before training and transform

4.  object TrackerConf extends Serializable
5.  object XGBoost extends Serializable
6.  object XGBoostClassificationModel extends MLReadable[XGBoostClassificationModel] with Serializable
7.  object XGBoostClassifier extends DefaultParamsReadable[XGBoostClassifier] with Serializable
8.  object XGBoostRegressionModel extends MLReadable[XGBoostRegressionModel] with Serializable
9.  object XGBoostRegressor extends DefaultParamsReadable[XGBoostRegressor] with Serializable

### Inherited from AnyRef

### Inherited from Any

### Ungrouped