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

Method GetLossFunctionName

catboost/libs/model/model.cpp:1390–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388}
1389
1390TString TFullModel::GetLossFunctionName() const {
1391 const TMaybe<NCatboostOptions::TLossDescription> lossDescription = GetLossDescription(*this);
1392 if (lossDescription.Defined()) {
1393 return ToString(lossDescription->GetLossFunction());
1394 }
1395 return {};
1396}
1397
1398
1399double TFullModel::GetBinClassProbabilityThreshold() const {

Callers 13

GetDefaultFstrTypeFunction · 0.80
mode_ostrFunction · 0.80
CreateEvalColumnsInfoMethod · 0.80
CalcFeatureEffectFunction · 0.80
OutputModelFunction · 0.80
TrainModelFunction · 0.80

Calls 4

GetLossDescriptionFunction · 0.85
ToStringFunction · 0.50
DefinedMethod · 0.45
GetLossFunctionMethod · 0.45

Tested by

no test coverage detected