Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which code snippet should replace ______ to correct the dataset imbalance?
X_resampled, y_resampled = smote.fit_resample(X_train, y_train)
smote.fit(X_train, y_train)
X_train, y_train = smote.fit_sample(X_train, y_train)
X_resampled, y_resampled = smote.transform(X_train, y_train)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!