This tutorial describes the effects of oversampling on a rare event model. Suppose you are building a logistic regression model in which % of events (desired outcome) is very low (less than 1%). You need to make a treatment to make the model robust so that enough events would be used to train the model. Oversampling is one of the treatment to deal rare-event problem. Suppose you are working on a r
![Oversampling for rare event](https://cdn-ak-scissors.b.st-hatena.com/image/square/97a99f7c6a49cfc882a3515a6e4bb572ed474c08/height=288;version=1;width=512/https%3A%2F%2F3.bp.blogspot.com%2F-eY1g0LZ5izk%2FV-lSnCLbTAI%2FAAAAAAAAFZk%2FPOd6lYXjb14_2tfi1umYFqdplE245QwqgCLcB%2Fw1200-h630-p-k-no-nu%2Foversampling.png)