edit#
- superglm.editor.edit(
- model,
- terms: list[str] | tuple[str, ...] | None = None,
- *,
- n_points: int = 200,
- centering: str = 'native',
- with_se: bool = True,
- train_data=None,
- validation_data=None,
- test_data=None,
- cv: CrossValidationResult | None = None,
- cv_data=None,
- amount_unit: str | None = None,
Create an editor session for a fitted model.
The split data are
(X, y[, sample_weight[, offset]])tuples.cvis asuperglm.cross_validate()result for the Cross-validation tab andcv_datathe rows its folds index; seeEditorSession.from_model(), which also describes opening aSuperLSSmodel (amount_unit).