Add XGBoost & RandomForest

This commit is contained in:
2023-11-07 17:41:37 +01:00
parent e0481dfa44
commit 1f46fc6c24
9 changed files with 60 additions and 23 deletions

View File

@@ -143,6 +143,7 @@ namespace pywrap {
RemoveInstance();
exit(1);
}
Py_INCREF(result);
return result; // Caller must free this object
}
double PyWrap::score(const std::string& moduleName, const std::string& className, CPyObject& X, CPyObject& y)