# shrinkage::WorkingSetDiagnostics

Shrinkage for Rust · 0.3.0

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
pub struct WorkingSetDiagnostics
```

Numerical work performed by a working-set policy for one fitted model. 

Full checks include quadratic subproblem checks in IRLS. Screening has its own diagnostics; a heuristic exclusion is never counted as a certified zero. 

<a id="fields"></a>

## Fields

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

### `active_dimension`

```rust
pub active_dimension: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Features currently eligible for updates, after safe screening. 

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

### `block_visits`

```rust
pub block_visits: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Cluster or segment coordinates visited by hybrid sweeps. 

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

### `expansions`

```rust
pub expansions: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Increases of the adaptive feature budget. 

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

### `feature_visits`

```rust
pub feature_visits: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Individual features visited by coordinate sweeps or hybrid PG updates. 

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

### `full_checks`

```rust
pub full_checks: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Complete checks of the original problem or a quadratic subproblem. 

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

### `peak_active_dimension`

```rust
pub peak_active_dimension: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Largest eligible dimension during this fit. 

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

### `policy`

```rust
pub policy: WorkingSetPolicy
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Effective policy, with `Auto` resolved for the fitting entry point. 

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

### `reactivations`

```rust
pub reactivations: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Previously excluded features admitted by a subsequent selection. 

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

### `rebuilds`

```rust
pub rebuilds: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Changes to the eligible feature set. 

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

### `restricted_checks`

```rust
pub restricted_checks: usize
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

Checks restricted to the current working set. 

<a id="impl-8f58a7af401957330f24e15ecf2d5c68e4207c7537c523546d9341829d4fdac9"></a>

## Implementation of Clone

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl Clone for WorkingSetDiagnostics
```

<a id="method-clone-8f58a7af401957330f24e15ecf2d5c68e4207c7537c523546d9341829d4fdac9"></a>

### `clone`

```rust
fn clone(&self) -> Self
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

<a id="impl-fbee66cfe0733fec53ba85c4703c95db3f4636979d4b3cd7c52e54be43d51f78"></a>

## Implementation of Debug

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl Debug for WorkingSetDiagnostics
```

<a id="method-fmt-fbee66cfe0733fec53ba85c4703c95db3f4636979d4b3cd7c52e54be43d51f78"></a>

### `fmt`

```rust
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

<a id="impl-667728fbea1d1721f6bef107d694d0bc8cf9c7d1dd1e3709ceb5d03f0f027c54"></a>

## Implementation of Default

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl Default for WorkingSetDiagnostics
```

<a id="method-default-667728fbea1d1721f6bef107d694d0bc8cf9c7d1dd1e3709ceb5d03f0f027c54"></a>

### `default`

```rust
fn default() -> Self
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

<a id="impl-c713242db4871efaf2df5985215caf6dceef8a852f73936202b8c5610845f46c"></a>

## Implementation of Eq

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl Eq for WorkingSetDiagnostics
```

<a id="impl-02a2e3bd3bb0af9fe6559454ee4f707d5e97c5ad7c157b914a72e344ee461d8c"></a>

## Implementation of PartialEq

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl PartialEq for WorkingSetDiagnostics
```

<a id="method-eq-02a2e3bd3bb0af9fe6559454ee4f707d5e97c5ad7c157b914a72e344ee461d8c"></a>

### `eq`

```rust
fn eq(&self, other: &Self) -> bool
```

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

<a id="impl-fe07a565dee27d244fe37950d653ac28df32f416b5e63a1c81e06e0f290885b3"></a>

## Implementation of StructuralPartialEq

[Source](<https://github.com/jolars/shrinkage/blob/eeafe449edce19d3c552a03060f681ae3891af74/src/solver/working_set.rs>)

```rust
impl StructuralPartialEq for WorkingSetDiagnostics
```

<a id="impl-bb0f4e12e23cab483f312fbb4934910a7cf1c143153d53038ea18841f3bb6cea"></a>

## Implementation of Freeze

```rust
impl Freeze for WorkingSetDiagnostics
```

<a id="impl-39eafa5b47f1aa6a0e6bdf246e419a3ef6f2a0514b34254a3783ef7fcb63ba84"></a>

## Implementation of RefUnwindSafe

```rust
impl RefUnwindSafe for WorkingSetDiagnostics
```

<a id="impl-a1fe97a887a51b2200e50a625ab3989c7d0c70e2a0abdcdaa0cc675f6bddb16c"></a>

## Implementation of Send

```rust
impl Send for WorkingSetDiagnostics
```

<a id="impl-5205712ce7464110f61efcc9cbd6b6d3c18cc91469fb3aac93c849a3490d9dfb"></a>

## Implementation of Sync

```rust
impl Sync for WorkingSetDiagnostics
```

<a id="impl-d322b6971b5b8602476eeb68170d53c0106d35fe583ae12b4d1645ab95b3a23b"></a>

## Implementation of Unpin

```rust
impl Unpin for WorkingSetDiagnostics
```

<a id="impl-e7b75abbe99043d39ce1a2d7031ca89935a456bd4d43391d352cb50dc61c09b8"></a>

## Implementation of UnsafeUnpin

```rust
impl UnsafeUnpin for WorkingSetDiagnostics
```

<a id="impl-2273a081f27eb7a39909959ce1b8f56664b59ee4ea6360682a85cc1b51979118"></a>

## Implementation of UnwindSafe

```rust
impl UnwindSafe for WorkingSetDiagnostics
```

<a id="impl-1e5682dc18e03c648aa9b125290c107c1e8d96ce8a179a8532e4057da4daf0cd"></a>

## Implementation of Any

```rust
impl<T> Any for T where T: 'static + ?Sized
```

<a id="impl-6c0b25c2c92cdb117802d9c0a4c70afc9a8bfb0da875bc6e66191e2349fcdf3f"></a>

## Implementation of Borrow

```rust
impl<T> Borrow<T> for T where T: ?Sized
```

<a id="impl-796e80d926348273a22b04d8e84f510693b11c06ec57c3c3e2e8c1524094a85c"></a>

## Implementation of BorrowMut

```rust
impl<T> BorrowMut<T> for T where T: ?Sized
```

<a id="impl-8360e4092e7ec4a05a26dd304cd739398f0cacc50c8d08dd5be0223d1a08d02e"></a>

## Implementation of ByRef

```rust
impl<T> ByRef<T> for T
```

<a id="impl-dbb1293b7b5dd80c4d9a98cfdd6843dc7470224c0b1387731cd418da07046d7b"></a>

## Implementation of CastableFrom

```rust
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT where ST: ?Sized, DT: ?Sized
```

<a id="impl-97b65e7dfc44b5ecaa495a3a19fe737914a1e9f8532200cf8f46191314e7d777"></a>

## Implementation of CastableFrom

```rust
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT where ST: ?Sized, DT: ?Sized
```

<a id="impl-86d7da2bfd1140cc1675dfe6a975e6a2762338ab32731152da0723858ef3aa81"></a>

## Implementation of CloneToUninit

```rust
impl<T> CloneToUninit for T where T: Clone
```

<a id="impl-d82ade77f1f9b6253ee49e007ed46a4df3334a6069d1fdef6fd67634c6a19d9a"></a>

## Implementation of Equivalent

```rust
impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized
```

<a id="impl-a4865d4893a8972c2d56ee8a90bead5c7361c039dd168c58c183431204efd0d1"></a>

## Implementation of Equivalent

```rust
impl<Q, K> Equivalent<K> for Q where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized
```

<a id="impl-c22bdd3b1b677b66eb32d1c182cc1410c7f0c46491dd74e6a659647c238d19ec"></a>

## Implementation of From

```rust
impl<T> From<T> for T
```

<a id="impl-5adf6ca1830f30fbbac655ab8ff394d254954df7ededc7cc833c72fdc87d6f00"></a>

## Implementation of Imply

```rust
impl<T, U> Imply<T> for U where T: ?Sized, U: ?Sized
```

<a id="impl-85eec431edd188129f88290bbcb748e4d2fdc97f7efef3c162b8c252286ffec0"></a>

## Implementation of Into

```rust
impl<T, U> Into<U> for T where U: From<T>
```

<a id="impl-c40268dd59dd3329202d3c0544c62372e98ff3baa8ec442ec00752e024ec1d06"></a>

## Implementation of IntoEither

```rust
impl<T> IntoEither for T
```

<a id="impl-5655b1ef858b34a584cb80104f040c8a4063ced0d281311a0833ed12aefde86e"></a>

## Implementation of Pointable

```rust
impl<T> Pointable for T
```

<a id="impl-8cc2aa01198fc9fa44f08b889f62988d70d2a7f4f0f11f4666d4c08bdaddb22a"></a>

## Implementation of Read

```rust
impl<T> Read<Exclusive, BecauseExclusive> for T where T: ?Sized
```

<a id="impl-5ea09131039c62dd92b119d480a35c7e2b33d2b81dccf0b849f6b1f19f4bda24"></a>

## Implementation of Same

```rust
impl<T> Same for T
```

<a id="impl-e7c74775fb3ccca97dde289783210508c61e4f404318b19c70c2c185f535f063"></a>

## Implementation of Scalar

```rust
impl<T> Scalar for T where T: 'static + Clone + PartialEq + Debug
```

<a id="impl-7ee6ff38d6674f5edfe4734359062c2a67a572cff5899a89704764822b931c7f"></a>

## Implementation of SupersetOf

```rust
impl<SS, SP> SupersetOf<SS> for SP where SS: SubsetOf<SP>
```

<a id="impl-a8ef6e94191301c3685488478f4905086c47137bac2d606ea4d09631d5472b06"></a>

## Implementation of ToOwned

```rust
impl<T> ToOwned for T where T: Clone
```

<a id="impl-83960135d00d98080c95a08867729696e36811280c2dd9cf34c1b4fe21c81e18"></a>

## Implementation of TryFrom

```rust
impl<T, U> TryFrom<U> for T where U: Into<T>
```

<a id="impl-1cc495bcaa5112ffb304e7f0de674feca391fd97f47bec86033a9225b72ac05c"></a>

## Implementation of TryInto

```rust
impl<T, U> TryInto<U> for T where U: TryFrom<T>
```
