Machine Learning Framework for Nonlinear and Interaction Relationships Involving Categorical and Numerical Features