New answers tagged

3 votes

Handling imbalanced data for regression based tasks

The approach I would take would be to have two (or possibly three) outputs, one of which predicts the probability of there being a transaction and the other of which predicts the conditional mean (and ...
2 votes

Preprocessing on training set only or both training & test set? Seems like there would be errors for both answers

The solution is to compute the statistics of interest using the training set, and then apply the desired method to the test set, using stored statistics as needed. ...
  • 83.7k

Top 50 recent answers are included