I have a dataframe with 930 000 rows and 220 variables. The objective is a binary classification but my response classes are imbalanced. (88% - 12%)

I want to use SMOTE to artificially create observations for the rare event but the function takes forever to run. By forever I mean it has been running for over 90 minutes.

My PC is not the slowest. SSD and 8gb ram.

Can anyone confirm if this duration is unusual or if this function is just slow in general, as the creation of observations with 220 variables might be computationally intensive?

Is there perhaps a better way to do this?


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.