## models.PartialDependence


The result of [partial_dependence](models.partial_dependence.md#prospicio.models.partial_dependence).


Usage

``` python
models.PartialDependence(
    feature,
    values,
    by_split,
)
```


## Attributes


`feature: str`  

`values: list`  

`by_split: list of list of float`  
`by_split[i][v]`: on split `i`, the mean prediction with the feature set to `values[v]` on every row.


## Attributes

| Name | Description |
|----|----|
| [mean](#mean) | The mean prediction at each value, averaged over the splits. |

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


#### mean


The mean prediction at each value, averaged over the splits.


`mean`


## Methods

| Name | Description |
|----|----|
| [combine()](#combine) | One result from several over the same feature and values. |
| [relative()](#relative) | The mean predictions divided by the one at [value](reserving.CalendarIndex.md#prospicio.reserving.CalendarIndex.value): for a |

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


#### combine()


One result from several over the same feature and values.


Usage

``` python
combine(results)
```


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


#### relative()


The mean predictions divided by the one at [value](reserving.CalendarIndex.md#prospicio.reserving.CalendarIndex.value): for a


Usage

``` python
relative(value)
```


log-link model without interactions, exactly the feature's relativities.
