## models.permutation()


`0..n` shuffled with [seed](aggregate.EventSet.md#prospicio.aggregate.EventSet.seed) on stream `stream`: the permutation


Usage


``` python
models.permutation(
    n,
    seed,
    stream=0,
)
```


that [permutation_importance](models.permutation_importance.md#prospicio.models.permutation_importance) and [interaction_screen](models.interaction_screen.md#prospicio.models.interaction_screen) apply, the same in Python and R.


## Parameters


`n: int`  

`seed: int`  

`stream: int = ``0`  


## Returns


`list of int`  


## Examples

``` python
>>> from prospicio.models import permutation
>>> sorted(permutation(4, 1))
```

\[0, 1, 2, 3\]
