captest.capdata.CapData.filter_outliers
- CapData.filter_outliers(custom_name=None, **kwargs)
Apply EllipticEnvelope from scikit-learn to remove outliers in (poa, power).
- Parameters:
custom_name (str, default None) – Optional display label for the recorded filter step.
**kwargs – Forwarded to
sklearn.covariance.EllipticEnvelope. Defaultssupport_fraction=0.9andcontamination=0.04are applied when not overridden.
Notes
When NaN values are present in poa/power,
filter_missingis invoked first (and recorded as a separate filter step). This preserves the legacy auto-handling behavior.