Skip to content

Commit 59c5a1f

Browse files
pybinding fix
1 parent 4f97341 commit 59c5a1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/pythonbinding.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ PYBIND11_MODULE(aplr_cpp, m) {
2222
py::arg("cap_outliers_when_using_the_model")=true)
2323
.def("fit", &APLRRegressor::fit,py::arg("X"),py::arg("y"),py::arg("sample_weight")=VectorXd(0),py::arg("X_names")=std::vector<std::string>(),
2424
py::arg("validation_set_indexes")=std::vector<size_t>(),py::call_guard<py::scoped_ostream_redirect,py::scoped_estream_redirect>())
25-
.def("predict", &APLRRegressor::predict,py::arg("X"),py::arg("cap_outliers")=true)
25+
.def("predict", &APLRRegressor::predict,py::arg("X"))
2626
.def("set_term_names", &APLRRegressor::set_term_names,py::arg("X_names"))
27-
.def("calculate_local_feature_importance",&APLRRegressor::calculate_local_feature_importance,py::arg("X"),py::arg("cap_outliers")=true)
28-
.def("calculate_local_feature_importance_for_terms",&APLRRegressor::calculate_local_feature_importance_for_terms,py::arg("X"),py::arg("cap_outliers")=true)
29-
.def("calculate_terms",&APLRRegressor::calculate_terms,py::arg("X"),py::arg("cap_outliers")=true)
27+
.def("calculate_local_feature_importance",&APLRRegressor::calculate_local_feature_importance,py::arg("X"))
28+
.def("calculate_local_feature_importance_for_terms",&APLRRegressor::calculate_local_feature_importance_for_terms,py::arg("X"))
29+
.def("calculate_terms",&APLRRegressor::calculate_terms,py::arg("X"))
3030
.def("get_term_names", &APLRRegressor::get_term_names)
3131
.def("get_term_coefficients", &APLRRegressor::get_term_coefficients)
3232
.def("get_term_coefficient_steps", &APLRRegressor::get_term_coefficient_steps,py::arg("term_index"))

0 commit comments

Comments
 (0)