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

Method CheckCPUTrainCompatibility

catboost/libs/data/objects.cpp:2188–2205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2186}
2187
2188void NCB::TQuantizedObjectsDataProvider::CheckCPUTrainCompatibility() const {
2189 CheckFeaturesByType(
2190 EFeatureType::Float,
2191 Data.FloatFeatures,
2192 Data.ExclusiveFeatureBundlesData,
2193 Data.PackedBinaryFeaturesData,
2194 Data.FeaturesGroupsData,
2195 "Float"
2196 );
2197 CheckFeaturesByType(
2198 EFeatureType::Categorical,
2199 Data.CatFeatures,
2200 Data.ExclusiveFeatureBundlesData,
2201 Data.PackedBinaryFeaturesData,
2202 Data.FeaturesGroupsData,
2203 "Cat"
2204 );
2205}
2206
2207
2208void NCB::TQuantizedObjectsDataProvider::CheckFeatureIsNotInAggregated(

Callers 1

TrainModelMethod · 0.80

Calls 1

CheckFeaturesByTypeFunction · 0.85

Tested by

no test coverage detected