Skip to contents

Get Number of Non-Missing Entries in DMatrix

Usage

xgb.get.DMatrix.num.non.missing(dmat)

Arguments

dmat

An xgb.DMatrix object, as returned by xgb.DMatrix().

Value

The number of non-missing entries in the DMatrix.