fit function

Fit a Model Specification to a Dataset