Nearest Shrunken Centroids
Nearest shrunken centroids classifies a row to the class whose centroid is closest after each feature is scaled by its within-class spread. The class centroids are pulled towards the overall centroid by soft thresholding, so features that do not separate the classes drop out entirely. It was designed for data with many more features than rows, such as gene expression.
최근접 축소 중심 분류는 각 특성을 범주 내 퍼짐으로 나눈 뒤 중심이 가장 가까운 범주로 행을 분류합니다. 범주 중심을 전체 중심 쪽으로 연한 임계값으로 끌어당겨, 범주를 가르지 못하는 특성은 아예 빠집니다. 유전자 발현처럼 행보다 특성이 훨씬 많은 자료를 위해 만들어졌습니다.
With many features and few rows, which features separate the classes, and how well can I classify new rows with them?
특성은 많고 행은 적을 때 어떤 특성이 범주를 가르며, 그 특성으로 새 행을 얼마나 잘 분류할 수 있습니까?
The method reports the shrinkage threshold, the features that survive with their shrunken class differences, and the cross-validated error along the range of thresholds.
When to use Nearest Shrunken Centroids
- There are many more features than rows (genomics, spectra).
- You want a simple classifier that also selects features.
When to use something else
- Few features and strongly correlated predictors matter: use Linear Discriminant Analysis
- You need probabilities from a regression model: use Regularized Logistic Regression (Lasso, Ridge, Elastic Net)
Assumptions and requirements
- Features are treated as independent within class
- Within-class spread is similar across classes
- At least two rows per class
What the analysis reports
- Chosen threshold and number of surviving features
- Shrunken class differences per feature
- Cross-validated error by threshold
- Training accuracy
How to report it
Nearest shrunken centroids with threshold [value] (10-fold cross-validation) kept [value] of [value] features with a cross-validated error of [value].
Related methods
- Linear Discriminant Analysis
- Naive Bayes Classification
- Regularized Logistic Regression (Lasso, Ridge, Elastic Net)
- PLS Discriminant Analysis (PLS-DA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation).
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Nearest Shrunken Centroids on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.