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

Method SetTimestamps

catboost/libs/data/objects.cpp:414–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void NCB::TObjectsDataProvider::SetTimestamps(TConstArrayRef<ui64> timestamps) {
415 CheckDataSize(timestamps.size(), (size_t)GetObjectCount(), "timestamps");
416 CommonData.Timestamp.ConstructInPlace(TVector<ui64>(timestamps.begin(), timestamps.end()));
417}
418
419TIntrusivePtr<TObjectsDataProvider> NCB::TObjectsDataProvider::GetFeaturesSubset(
420 const TVector<ui32>& ignoredFeatures,

Callers 1

SetTimestampsFunction · 0.45

Calls 5

CheckDataSizeFunction · 0.85
GetObjectCountFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected