sums22
  • Member for 1 year, 6 months
  • Last seen this week
  • United Kingdom
Oversampling before Cross-Validation, is it a problem?
2 votes

I suggest having a read of this article. The article explains: When upsampling before cross validation, you will be picking the most oversampled model, because the oversampling is allowing data to ...

View answer
Setting sparse=True in Scikit Learn OneHotEncoder does not reduce memory usage
Accepted answer
1 votes

Based on @BenReiniger's comment, I removed the numeric portion from the ColumnTransformer and ran the following code: from sklearn.compose import ColumnTransformer from sklearn.preprocessing ...

View answer
Visualising feature selection results for multiple classifiers and feature subset sizes
Accepted answer
0 votes

Thank you for all the suggested answers, they helped. What I ended up doing is the following: Firstly I changed my function that compares between the different models like so: def ...

View answer