ml.dmlc.xgboost4j.java

## Class Column

- java.lang.Object
- - ml.dmlc.xgboost4j.java.Column

- All Implemented Interfaces:
    AutoCloseable

      public abstract class Column
      extends Object
      implements AutoCloseable

  The abstracted XGBoost Column to get the cuda array interface which is used to set the information for DMatrix.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Column()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `abstract String` | `getArrayInterfaceJson()` Get the cuda array interface json string for the Column which can be representing weight, label, base margin column.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Column

          public Column()

  - ### Method Detail

    - #### getArrayInterfaceJson

          public abstract String getArrayInterfaceJson()

      Get the cuda array interface json string for the Column which can be representing weight, label, base margin column. This API will be called by `DMatrix.setLabel(Column)` `DMatrix.setWeight(Column)` `DMatrix.setBaseMargin(Column)`

    - #### close

          public void close()
                     throws Exception

      Specified by:
        `close` in interface `AutoCloseable`
      Throws:
        `Exception`

Copyright © 2022. All rights reserved.