You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resample Lab provides general guidelines on how to treat imbalanced datasets through a simple interactive interface. Get research-backed recommendations for resampling strategies based on your dataset characteristics.
My work developing, contributing to, and maintaining open-source software is made possible solely by your donations. Your support is vital to the ongoing development of FOSS solutions.
🌟 Other Ways to Help
⭐ Star the repository to show your support
🐦 Share to help others discover Resample Lab
📝 Write reviews and share your experience
🎥 Create content - tutorials, guides, or showcase videos
Based on the literature, Resample Lab identifies three critical regimes:
Regime
Trigger Condition
Rationale
Primary Sources
🔴 Tiny Minority / EISM
Minority < 50 samples OR EPV < 10
Synthetic methods may generate unreliable samples; overfitting risk high
Zhao et al. 2025, Fujiwara et al. 2020
🟠 High-Dimensional
Features > 100
SMOTE fails in high-dimensional spaces due to sparse neighborhoods
Blagus & Lusa 2013
🟡 Large-Scale
Total samples > 50,000
Undersampling preferred for computational efficiency
Drummond & Holte 2003, Van Hulse et al. 2007
🛠️ Getting Started
Quick Start
Visit the Live Demo to start using Resample Lab immediately.
Local Development
# Clone the repository
git clone https://github.com/mr-september/Resample-Lab.git
cd Resample-Lab
# Install dependencies
npm install
# Start development server
npm run dev
🤝 Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.