aug_channel_dropout — Channel Dropout

Group: Augmentation · Binding: n4m.sklearn.ChannelDropout · C ABI: n4m_aug_channel_dropout_*

Description

Randomly drop individual wavelength channels.

Parameters

Name

Type

Default

dropout_prob

float

0.05

mode

`str

int`

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

Randomly drop individual wavelength channels.

Implementation

C ABI n4m_aug_channel_dropout_* in libn4m (create / apply / destroy lifecycle), wrapped by n4m.sklearn.ChannelDropout. The same numerical kernel backs every language binding.

Usage

from n4m.sklearn import ChannelDropout
op = ChannelDropout()
X_transformed = op.fit_transform(X)

See also: methods index · interactive dashboard