Refactor library structure
This commit is contained in:
9
pyclfs/XGBoost.cc
Normal file
9
pyclfs/XGBoost.cc
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "XGBoost.h"
|
||||
|
||||
//See https ://stackoverflow.com/questions/36071672/using-xgboost-in-c
|
||||
namespace pywrap {
|
||||
XGBoost::XGBoost() : PyClassifier("xgboost", "XGBClassifier", true)
|
||||
{
|
||||
validHyperparameters = { "tree_method", "early_stopping_rounds", "n_jobs" };
|
||||
}
|
||||
} /* namespace pywrap */
|
Reference in New Issue
Block a user