Class FVecArrayImpl.FVecDoubleArrayImpl

java.lang.Object
biz.k11i.xgboost.util.FVecArrayImpl.FVecDoubleArrayImpl
All Implemented Interfaces:
FVec, Serializable
Enclosing class:
FVecArrayImpl

static class FVecArrayImpl.FVecDoubleArrayImpl extends Object implements FVec
  • Field Details

    • values

      private final double[] values
    • treatsZeroAsNA

      private final boolean treatsZeroAsNA
  • Constructor Details

    • FVecDoubleArrayImpl

      FVecDoubleArrayImpl(double[] values, boolean treatsZeroAsNA)
  • Method Details

    • fvalue

      public float fvalue(int index)
      Description copied from interface: FVec
      Gets index-th value.
      Specified by:
      fvalue in interface FVec
      Parameters:
      index - index
      Returns:
      value