MCPcopy Create free account
hub / github.com/catboost/catboost / CheckTarget

Function CheckTarget

catboost/libs/data/target.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28static void CheckTarget(const TVector<TSharedVector<float>>& target, ui32 objectCount) {
29 for (auto i : xrange(target.size())) {
30 CheckDataSize(target[i]->size(), (size_t)objectCount, "Target[" + ToString(i) + "]", false);
31 }
32}
33
34static void CheckContainsOnly01s(const ITypedSequence<float>& typedSequence) {
35 typedSequence.ForEach(

Callers 1

CheckMethod · 0.85

Calls 4

xrangeFunction · 0.85
CheckDataSizeFunction · 0.85
ToStringFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected