Compute a fuzzy rules or tree classifier from data