Exemplo n.º 1
0
SEXP CatBoostOutputModel_R(SEXP modelParam, SEXP fileParam) {
    R_API_BEGIN();
    TFullModelHandle model = reinterpret_cast<TFullModelHandle>(R_ExternalPtrAddr(modelParam));
    OutputModel(*model, CHAR(asChar(fileParam)));
    R_API_END();
    return ScalarLogical(1);
}
Exemplo n.º 2
0
void cTrainerInterface::OutputActor(const std::string& filename) const
{
	OutputModel(filename);
}