-
Notifications
You must be signed in to change notification settings - Fork 124
Model fitting
This feature is implemented using statsmodels and patsy which are optional requirements.
The model fitting dialog is kept simple and currently only implements a subset of statsmodels functionality. Thus it is suitable for teaching beginners. Clicking the model fitting button on the toolbar creates the dialog below the table. The most important part is the entry bar for the formula. Estimators can be selected from the drop down menu. Formulas are of the following form:
b ~ a + c
where b represents the dependent variable (the one you want to fit to and predict new values for) and a and c are the independent variables (or features). The ~ sign is an = sign, indicating the sides of the equation. For a more detailed explanation on patsy formulas see here.
See http://dmnfarrell.github.io/dataexplore/2015/09/02/fitting for a more detailed overview.