amazon-sagemaker-examples icon indicating copy to clipboard operation
amazon-sagemaker-examples copied to clipboard

Validation channel never used in the xgboost_abalone.ipynb example

Open pigna90 opened this issue 8 years ago • 3 comments

In the XGBoost Abalone example the validation channel is never used.

The dataset is splitted in train, validation and test but I think that this choice is confusing since the validation dataset is never used.

Is it right? If so, I'll send a pull notification.

pigna90 avatar Jul 19 '18 12:07 pigna90

Hi @pigna90 - The SageMaker XGBoost algorithm actually calculates RMSE and writes it to the CloudWatch logs on the data passed to the validation channel. Let me know if you think that still creates confusion. Thanks.

djarpin avatar Jul 25 '18 22:07 djarpin

Hi @djarpin , thanks for the answer! Is this operation implicit? The only reference that I found about this topic is this one. As you can see, the channel "validation" is not mentioned.

My two cents about this are:

  • Explain it in the notebook. I can do it with a simple pull request.
  • Consider adding a more exhaustive explanation in the section Monitoring. In order to clarify how the channels are used to monitor the model performances trow CloudWatch.

What do you think?

pigna90 avatar Jul 26 '18 10:07 pigna90

Hi @pigna90 How the validation channel is used depends on the algorithm. We do mention that XGBoost supports the validation channel here. But you're right, we don't explicitly describe what's done with the data in the validation channel in our current documentation, and there's room to improve there. In the meantime, if you'd like to submit a pull request to update the notebook, we'd love to have it. Thanks!

djarpin avatar Jul 26 '18 15:07 djarpin