Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU Custom objective support #2690

Closed
wants to merge 21 commits into from
Prev Previous commit
Next Next commit
Fixed more build errors
  • Loading branch information
Semyon Panenko authored and pnsemyon committed Jun 14, 2024
commit 421cd514e9995d1a39cc1294764ab2ba70c172cc
2 changes: 2 additions & 0 deletions catboost/R-package/src/catboostr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ EXPORT_FUNCTION CatBoostFit_R(SEXP learnPoolParam, SEXP testPoolParam, SEXP fitP
Nothing(),
Nothing(),
Nothing(),
Nothing(),
pools,
/*initModel*/ Nothing(),
/*initLearnProgress*/ nullptr,
Expand All @@ -553,6 +554,7 @@ EXPORT_FUNCTION CatBoostFit_R(SEXP learnPoolParam, SEXP testPoolParam, SEXP fitP
Nothing(),
Nothing(),
Nothing(),
Nothing(),
pools,
/*initModel*/ Nothing(),
/*initLearnProgress*/ nullptr,
Expand Down
2 changes: 1 addition & 1 deletion catboost/libs/train_interface/catboost_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ CATBOOST_API bool TrainCatBoost(const TDataSet* trainPtr,
TrainModel(plainJsonParams,
quantizedFeaturesInfo,
objectiveDescriptor,
evalMetricDescriptor,
Nothing(),
evalMetricDescriptor,
Nothing(),
std::move(dataProviders),
/*initModel*/ Nothing(),
Expand Down