A fair classifier using kernel density estimation