# `aug_spline_curve_simplify` — Spline Curve Simplification Augmenter _Group_: **Augmentation** · _Binding_: `n4m.sklearn.SplineCurveSimplificationAugmenter` · _C ABI_: `n4m_aug_spline_curve_simplify_*` ## Description Simplify each spectrum by refitting a cubic interpolating B-spline through a random control subset along the curve (`numpy.choice(replace=False)`, bit-for-bit). `spline_points <= 0` uses the reference default of n_features // 4. ### Parameters | Name | Type | Default | |------|------|---------| | `spline_points` | `int` | `-1` | | `uniform` | `bool` | `False` | | `rng` | `Optional[PCG64]` | `None` | | `seed` | `int` | `0` | ## Explanations ### Bibliographic source _Standard spectroscopic operator — see the nirs4all preprocessing / augmentation handbook and the cited literature within the binding docstring._ ### Mathematical principle Simplify each spectrum by refitting a cubic interpolating B-spline through a random control subset along the curve (`numpy.choice(replace=False)`, bit-for-bit). `spline_points <= 0` uses the reference default of n_features // 4. ### Implementation C ABI `n4m_aug_spline_curve_simplify_*` in libn4m (create / apply / destroy lifecycle), wrapped by `n4m.sklearn.SplineCurveSimplificationAugmenter`. The same numerical kernel backs every language binding. ### Usage ```python from n4m.sklearn import SplineCurveSimplificationAugmenter op = SplineCurveSimplificationAugmenter() X_transformed = op.fit_transform(X) ``` --- _See also_: [methods index](index.md) · [interactive dashboard](../landing/dashboard.md)