Classification problems are often solved using supervised learning algorithms such as Random Forest, Support Vector Machine, Logistic Regressor, and so on. Supervised learning algorithms require a known target to build a model. However, it is often the case that we only see normal data patterns but not rare events. The…