MCPcopy Create free account
hub / github.com/dmlc/xgboost / UniqueValueCount

Function UniqueValueCount

tests/cpp/common/test_quantile.h:458–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456inline double TotalWeight(ReferenceColumn const& col) { return col.prefix_weights.back(); }
457
458inline std::size_t UniqueValueCount(ReferenceColumn const& col) { return col.values.size(); }
459
460inline bool EmptyReference(ReferenceColumn const& col) { return col.values.empty(); }
461

Callers 1

TestSummaryInvariantsFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected