> ## Documentation Index
> Fetch the complete documentation index at: https://aidflow.aigensys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Predictor.obs_stabilize

**def Predictor.obs\_stabilize**(self, data, preprocess=False) [\[source\]](https://github.com/aigensys-labs/aidflow/blob/main/AID/\TRUENAS\aig_modeling_Products\AID\1_0_Lib\AID\predictor\predictor.py#L334)

Apply trained outlier detection and provide OUTLIER labels.

Uses the outlier model trained during the pipeline to
flag anomalous observations in new data.

#### Parameters

**`data`** : *`pDF`*
Input data of shape (n\_samples, n\_features).

**`preprocess`** : *`bool`*
If True, accepts original columns and applies\
`fe_clean` first. If False, expects output\
from fe\_clean / `fe_stabilize`.

#### Returns

*`ObsStabilizerResult`*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.