Member-only story

Neural network with weighted class

Solve Skewed Binary Class Distribution with Neural Network

Difficult task of solving Imbalance Class distribution

Sarit Maitra

--

Image by author

https://sarit-maitra.medium.com/membership

Class distribution in general comprises of either skewed or imbalance classes and somewhat balanced classes. Either of these have their own set of challenges and metrics to evaluate classifier’s performance. The effective classification with skewed which is imbalanced data here, is an important area of research. High class imbalance is naturally inherent in many real-world data set e.g. medical diagnosis, fraud detection (credit card, phone calls, insurance), network intrusion detection, pollution detection, fault monitoring, biomedical, bioinformatics and remote sensing (land mine, under water mine) to name a few, suffer from these phenomena. Likewise balanced class could be prevalent in stock market data. The reason for skewed could be a property of the problem domain or possibly the imbalance caused by the way the data samples were collected from the problem domain.

Let us check the data set we have.

'''Loading necessary libraries for our experiment'''import numpy as np
import tensorflow as tf
from tensorflow import keras…

--

--

No responses yet