xgboost4j-spark_2.12 1.4.1 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
- CustomEvalParam
- CustomObjParam
- HasBaseMarginCol
- HasContribPredictionCol
- HasGroupCol
- HasLeafPredictionCol
- HasNumClass
- NonParamVariables
- TrackerConfParam

t

ml.dmlc.xgboost4j.scala.spark.params

# HasNumClass 

###

#### trait HasNumClass extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. HasNumClass
2. Params
3. Serializable
4. Serializable
5. Identifiable
6. AnyRef
7. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Abstract Value Members

1.  abstract def copy(extra: ParamMap): Params
   Definition Classes
     Params
2.  abstract val uid: String
   Definition Classes
     Identifiable

### Concrete 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.  final def clear(param: Param[_]): HasNumClass.this.type
   Definition Classes
     Params
7.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
8.  def copyValues[T <: Params](to: T, extra: ParamMap): T
   Attributes
     protected
   Definition Classes
     Params
9.  final def defaultCopy[T <: Params](extra: ParamMap): T
   Attributes
     protected
   Definition Classes
     Params
10.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
11.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
12.  def explainParam(param: Param[_]): String
    Definition Classes
      Params
13.  def explainParams(): String
    Definition Classes
      Params
14.  final def extractParamMap(): ParamMap
    Definition Classes
      Params
15.  final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
      Params
16.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
17.  final def get[T](param: Param[T]): Option[T]
    Definition Classes
      Params
18.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
19.  final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
      Params
20.  final def getNumClass: Int

21.  final def getOrDefault[T](param: Param[T]): T
    Definition Classes
      Params
22.  def getParam(paramName: String): Param[Any]
    Definition Classes
      Params
23.  final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
      Params
24.  def hasParam(paramName: String): Boolean
    Definition Classes
      Params
25.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
26.  final def isDefined(param: Param[_]): Boolean
    Definition Classes
      Params
27.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
28.  final def isSet(param: Param[_]): Boolean
    Definition Classes
      Params
29.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
30.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
31.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
32.  final val numClass: IntParam

    number of classes

33.  lazy val params: Array[Param[_]]
    Definition Classes
      Params
34.  final def set(paramPair: ParamPair[_]): HasNumClass.this.type
    Attributes
      protected
    Definition Classes
      Params
35.  final def set(param: String, value: Any): HasNumClass.this.type
    Attributes
      protected
    Definition Classes
      Params
36.  final def set[T](param: Param[T], value: T): HasNumClass.this.type
    Definition Classes
      Params
37.  final def setDefault(paramPairs: ParamPair[_]*): HasNumClass.this.type
    Attributes
      protected
    Definition Classes
      Params
38.  final def setDefault[T](param: Param[T], value: T): HasNumClass.this.type
    Attributes
      protected
    Definition Classes
      Params
39.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
40.  def toString(): String
    Definition Classes
      Identifiable → AnyRef → Any
41.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
42.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
43.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from Params

### Inherited from Serializable

### Inherited from Identifiable

### Inherited from AnyRef

### Inherited from Any

### getParam

### Ungrouped