Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Synthetic Minority Over-Sampling Technique for Regression
| Date | Stars |
|---|---|
| 2026-07-30 | 348 |
| 2026-10-07 | 349 |
| 2026-11-04 | 349 |
Today
— stars today
This week
— stars this week
This month
+1 stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
<img src="https://github.com/nickkunz/smogn/blob/master/media/images/smogn_banner.png">
</div>
## Synthetic Minority Over-Sampling Technique for Regression with Gaussian Noise
[](https://badge.fury.io/py/smogn)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://travis-ci.com/nickkunz/smogn)
[](https://www.codacy.com/manual/nickkunz/smogn?utm_source=github.com&utm_medium=referral&utm_content=nickkunz/smogn&utm_campaign=Badge_Grade)

## Description
A Python implementation of Synthetic Minority Over-Sampling Technique for Regression with Gaussian Noise (SMOGN). Conducts the Synthetic Minority Over-Sampling Technique for Regression (SMOTER) with traditional interpolation, as well as with the introduction of Gaussian Noise (SMOTER-GN). Selects between the two over-sampling techniques by the KNN distances underlying a given observation. If the distance is close enough, SMOTER is applied. If too far away, SMOTER-GN is applied. Useful for prediction problems where regression is applicable, but the values in the interest of predicting are rare or uncommon. This can also serve as a useful alternative to log transforming a skewed response variable, especially if generating synthetic data is also of interest.
<br>
## Features
1. The only open-source Python supported version of Synthetic Minority Over-Sampling Technique for Regression.
2. Supports Pandas DataFrame inputs containing mixed data types, auto distance metric selection by data type, and optional auto removal of missing values.
3. Flexible inputs available to control the areas of interest within a continuous response variable and friendly parameters for over-sampling synthetic data.
4. Purely Pythonic, developed for consistency, maintainability, and future improvement, no foreign function calls to C or Fortran, as contained in original R implementation.
## Requirements
1. Python 3
2. NumPy
3. Pandas
## Installation
```python
## install pypi release
pip install smogn
## install developer version
pip install git+https://github.com/nickkunz/smogn.git
```
## Usage
```python
## load libraries
import smogn
import pandas
## load data
housing = pandas.read_csv(
## http://jse.amstat.org/v19n3/decock.pdf
"https://raw.githubusercontent.com/nickkunz/smogn/master/data/housing.csv"
)
## conduct smogn
housing_smogn = smogn.smoter(
data = housing,
y = "SalePrice"
)
```
## Examples
1. [Beginner](https://github.com/nickkunz/smogn/blob/master/examples/smogn_example_1_beg.ipynb) <br>
2. [Intermediate](https://github.com/nickkunz/smogn/blob/master/examples/smogn_example_2_int.ipynb) <br>
3. [Advanced](https://github.com/nickkunz/smogn/blob/master/examples/smogn_example_3_adv.ipynb) <br>
## Applications
1. de Santi, N. S., Rodrigues, N. V., Montero-Dorta, A. D., Abramo, L. R., Tucci, B., & Artale, M. C. (2022). Mimicking the Halo-Galaxy Connection Using Machine Learning. arXiv preprint:2201.06054. https://arxiv.org/abs/2201.06054.
2. Gangapurwala, S., Geisert, M., Orsolino, R., Fallon, M., & Havoutis, I. (2022). RLOC: Terrain-Aware Legged Locomotion Using Reinforcement Learning and Optimal Control. arXiv preprint:2201.03094. https://arxiv.org/abs/2012.03094.
3. Wang, B., Spessa, A., Feng, P., Hou, X., Yue, C., Luo, J.-J., Ciais, P., Waters, C., Cowie, A., Nolan, R. H., Nikonovas, T., Jin, H., Walshaw, H., Wei, J., Guo, X., Liu, D. L., & Yu, Q. (2021). Extreme Fire Weather Is The Major Driver Of Severe Bushfires In Southeast Australia. Science Bulletin, 67(6), 655-664. https://doi.org/10.1016/j.scib.2021.10.001.
4. Agrawal, A., & Petersen, M. R. (2021). Detecting Excerpt of 4,909 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:5ba7ec05755bd130, topic:synthetic-data, readme:synthetic data