1
$\begingroup$

I have a method for prediction in a regression problem with outliers. I'd like to make a validation of my approach. How to make it considering that I need to have outliers in train and test datasets?

$\endgroup$
2
  • $\begingroup$ Why do you believe that outliers need to be handled differently from other data points? $\endgroup$ Commented Jun 9, 2019 at 1:19
  • $\begingroup$ If I use a k-fold, I'll have samples without outliers in training then, the model will be adjusted incorrectly. $\endgroup$ Commented Jun 13, 2019 at 16:58

1 Answer 1

1
$\begingroup$

You could write a code to do have a fair distribution of outliers in both training and test sets for your cross-validation. So cross-validation will not be totally random, but it will represent more the distribution of your data. Then validate your model on an independent test set that also contains outliers and have a deeper look at the prediction for these outliers (are they correctly predicted or not?) to see if you should adapt model training or your dataset.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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