fit function

Fit a supervised data mining model (classification or regression) model