Fuzzy classification Python