# shrinkage.WorkingSetDiagnostics

Shrinkage for Python · 0.2.0

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="constructor"></a>

```python
WorkingSetDiagnostics(
    policy: shrinkage.WorkingSetPolicy,
    full_checks: int,
    restricted_checks: int,
    rebuilds: int,
    expansions: int,
    reactivations: int,
    active_dimension: int,
    peak_active_dimension: int,
    feature_visits: int,
    block_visits: int
)
```

Heuristic feature-selection work, separate from safe screening.

`policy` is resolved rather than `auto`. Full checks include logistic quadratic subproblem checks. Feature and block visits count numerical work, not the number of nonzero coefficients.

<a id="policy"></a>

## `policy`

```python
policy: shrinkage.WorkingSetPolicy
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="full_checks"></a>

## `full_checks`

```python
full_checks: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="restricted_checks"></a>

## `restricted_checks`

```python
restricted_checks: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="rebuilds"></a>

## `rebuilds`

```python
rebuilds: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="expansions"></a>

## `expansions`

```python
expansions: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="reactivations"></a>

## `reactivations`

```python
reactivations: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="active_dimension"></a>

## `active_dimension`

```python
active_dimension: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="peak_active_dimension"></a>

## `peak_active_dimension`

```python
peak_active_dimension: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="feature_visits"></a>

## `feature_visits`

```python
feature_visits: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)

<a id="block_visits"></a>

## `block_visits`

```python
block_visits: int
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/packages/python/src/shrinkage/fit.py>)
