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

Function ReadLossFunction

catboost/private/libs/algo/plot.cpp:457–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457static inline ELossFunction ReadLossFunction(const TString& modelInfoParams) {
458 return ParseLossType(ReadTJsonValue(modelInfoParams)["loss_function"]["type"].GetStringSafe());
459}
460
461TMetricsPlotCalcer CreateMetricCalcer(
462 const TFullModel& model,

Callers 1

CreateMetricCalcerFunction · 0.85

Calls 3

ParseLossTypeFunction · 0.85
ReadTJsonValueFunction · 0.85
GetStringSafeMethod · 0.45

Tested by

no test coverage detected