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

Function LoadFitParams

catboost/R-package/src/catboostr.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static NJson::TJsonValue LoadFitParams(SEXP fitParamsAsJson) {
112 TStringBuf paramsStr(CHAR(asChar(fitParamsAsJson)));
113 NJson::TJsonValue result;
114 NJson::ReadJsonTree(paramsStr, &result);
115 return result;
116}
117
118static int UpdateThreadCount(int threadCount) {
119 if (threadCount == -1) {

Callers 2

CatBoostFit_RFunction · 0.85
CatBoostCV_RFunction · 0.85

Calls 1

ReadJsonTreeFunction · 0.50

Tested by

no test coverage detected