Fit step functions and boolean implication patterns to data.