ModelAdapter.score#
- abstractmethod ModelAdapter.score(X, y, **kwargs)[source]#
Return per-unit \(R^2\) scores in the canonical container.
Every backend returns a
pandas.Serieswith oneunit_{i}_r2entry per treated unit. Backends with posterior dispersion also includeunit_{i}_r2_stdentries.