3
$\begingroup$

Are there any advantages of using the XGBoost sklearn wrappers XGBRegressor or XGBClassifier over using the Python API with the train method? Is one faster than the other or does one use less memory than the other? I am asking for a generic case where the data comes in some form which I convert to a pandas dataframe.

$\endgroup$
2
$\begingroup$

One advantage of using scikit-learn wrappers is that they are more likely to work within the scikit-learn ecosystem. For example, it might be easier to put the algorithm into pipelines.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.