About 51 results
Open links in new tab
  1. SMOTE, Oversampling on text classification in Python

    Jun 23, 2018 · SMOTE will just create new synthetic samples from vectors. And for that, you will first have to convert your text to some numerical vector. And then use those numerical vectors to create …

  2. How to perform SMOTE with cross validation in sklearn in python

    Apr 9, 2019 · I have a highly imbalanced dataset and would like to perform SMOTE to balance the dataset and perfrom cross validation to measure the accuracy. However, most of the existing …

  3. python - Scikit Learn Pipeline with SMOTE - Stack Overflow

    Jun 24, 2022 · I would like to create a Pipeline with SMOTE() inside, but I can't figure out where to implement it. My target value is imbalanced. Without SMOTE I have very bad results. My code: df_n …

  4. The right way of using SMOTE in Classification Problems

    Nov 8, 2023 · What is the right way to implement SMOTE() in a classification modeling process? I am really confused about how to apply SMOTE() there. Say I have the dataset split into train and test …

  5. AttributeError: 'SMOTE' object has no attribute 'fit_sample'

    Feb 25, 2021 · Now only SMOTE().fit_resample(X_train, y_train) works. Also, all imblearn objects have a fit() method defined as well but it's completely useless because everything it does is already done …

  6. How to properly use Smote in Classification models

    May 24, 2022 · I am using smote to balanced the output (y) only for Model train but want to test the model with original data as it makes logic how we can test the model with smote created outputs. …

  7. AttributeError: 'SMOTE' object has no attribute '_validate_data'

    Jun 18, 2020 · It would give you AttributeError: 'SMOTE' object has no attribute '_validate_data' if your scikit-learn is 0.22 or below. If you are using Anaconda, installing scikit-learn version 0.23.1 might be …

  8. Using tidymodels' SMOTE with dummies for categorical variables

    Oct 11, 2021 · Smote will upsample minority classes called out in a column, but when you create dummy variables, a new column is created for each class (with a value of 1 or 0). Regardless, for the …

  9. Using pipeline, SMOTE, and GridSearchCV together

    Jan 1, 2023 · SMOTE also modifies the feature space during learning, so simpler baselines like ROS/RUS are worth testing. Here's a grid search using the saga solver (which supports all penalty …

  10. Oversampling: SMOTE for binary and categorical data in Python

    Dec 5, 2017 · I would like to apply SMOTE to unbalanced dataset which contains binary, categorical and continuous data. Is there a way to apply SMOTE to binary and categorical data?