# ComparisonResult


Result of comparing multiple fitted GAMs.


Usage

``` python
ComparisonResult(rows)
```


Rows are sorted by AIC (best first). The `delta_aic` field on each row gives the AIC difference from the best model, making it easy to see which models are competitive.


## Attributes


`rows: list[ComparisonRow]`  
One row per model, sorted by AIC (ascending).


## Attributes

| Name | Description |
|----|----|
| [best](#best) | The model with the lowest AIC. |
| [n_models](#n_models) | Number of models compared. |

------------------------------------------------------------------------


### best


The model with the lowest AIC.


`best: ComparisonRow`


------------------------------------------------------------------------


### n_models


Number of models compared.


`n_models: int`
