A project with about 14000 csv files (about 12000 class 0 and 2000 for class 1 for each csv contain 365 columns and 3330 rows (value are either 0 or 1 )

1.is there any sample code for this kind of data? (mine get worse result...)

2.any way to solve imbalance problem? (I've search SMOTE however.....nothing for SMOTE this kind of data form, how to SMOTE with a batch of csv?)

3.not sure how to build a model fit this kind data , the model I had built all get worse result... hope to get suggestion


  • $\begingroup$ Good news! Class imbalance is not a problem: stats.stackexchange.com/questions/357466/…. $\endgroup$ – Dave Feb 26 at 11:07
  • $\begingroup$ @Dave thanks for sharing but I know them , the thing is how to do I'm very confused with this $\endgroup$ – Chevady Ju Feb 26 at 11:26
  • $\begingroup$ “but I know them” You know what? If you already know what Kolassa posted about class imbalance, then what’s up with your question #2? // “I’m very confused with this” You’re confused with what? $\endgroup$ – Dave Feb 26 at 11:50
  • $\begingroup$ please read my question again , i'm asking how to do(method & sample code) not what is imbalance dataset $\endgroup$ – Chevady Ju Feb 26 at 11:58
  • $\begingroup$ Of course you know what an imbalanced data set is. Do you understand the link about why it isn’t a problem? $\endgroup$ – Dave Feb 26 at 12:04

Your Answer

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

Browse other questions tagged or ask your own question.