abstract class ColumnBatch extends AutoCloseable
The abstracted XGBoost ColumnBatch to get array interface from columnar data format. For example, the cuDF dataframe which employs apache arrow specification.
- Alphabetic
- By Inheritance
- ColumnBatch
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ColumnBatch()
Abstract Value Members
-
abstract
def
getBaseMarginsArrayInterface(): String
Get the cuda array interface of the base margin columns.
Get the cuda array interface of the base margin columns. The returned value can be null or empty
-
abstract
def
getFeatureArrayInterface(): String
Get the cuda array interface of the feature columns.
Get the cuda array interface of the feature columns. The returned value must not be null or empty
-
abstract
def
getLabelsArrayInterface(): String
Get the cuda array interface of the label columns.
Get the cuda array interface of the label columns. The returned value must not be null or empty if we're creating
float, int, int)
-
abstract
def
getWeightsArrayInterface(): String
Get the cuda array interface of the weight columns.
Get the cuda array interface of the weight columns. The returned value can be null or empty
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- ColumnBatch → AutoCloseable
- Annotations
- @Override()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getArrayInterfaceJson(): String
Get the cuda array interface json string for the whole ColumnBatch including the must-have feature, label columns and the optional weight, base margin columns.
Get the cuda array interface json string for the whole ColumnBatch including the must-have feature, label columns and the optional weight, base margin columns.
This function is be called by native code during iteration and can be made as private method. We keep it as public simply to silent the linter.
-
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
-
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
-
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
- @throws( ... ) @native()