WilcoxonSignedRank<T>

Models & Types ยท AiDotNet.Preprocessing.FeatureSelection.Filter.Univariate

Wilcoxon Signed-Rank test for paired non-parametric feature selection.

Inheritance: TransformerBase<T, Matrix<T>, Matrix<T>> โ†’ WilcoxonSignedRank<T>

Implements: IFixedCountFeatureSelector<T>, ISupervisedFeatureSelector<T>

For Beginners

This test works with paired data (before/after, matched pairs). It ranks the absolute differences and compares positive vs negative ranks. Good for non-normal paired comparisons.

How It Works

The Wilcoxon Signed-Rank test compares paired samples without assuming normality. Useful when comparing features across matched/paired observations.

Constructors

Constructor Summary
WilcoxonSignedRank(int nFeaturesToSelect, int[] columnIndices)

Properties

Property Summary
Vector<T> PValues { get; }
Vector<T> WStatistics { get; }
bool SupportsInverseTransform { get; }
int NFeaturesToSelect { get; }
int[] SelectedIndices { get; }

Methods

Method Summary
Matrix<T> FitTransform(Matrix<T> data, Vector<T> target)
bool[] GetSupportMask()
string[] GetFeatureNamesOut(string[] inputFeatureNames)
void Fit(Matrix<T> data, Vector<T> target)