You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Calinski-Harabasz |`CalinskiHarabaszEvaluator`| $CH$ | Higher = better, fast |
645
645
646
+
---
647
+
648
+
### 🎲 Monte Carlo Clustering (Uncertainty Estimation)
649
+
650
+
Use the `MonteCarloClustering` class to quantify **how stable** your clustering results are via bootstrap resampling. Two analysis modes are available:
651
+
652
+
#### Bootstrap — Consensus Matrix & Score Distribution
653
+
654
+
Runs the algorithm many times on bootstrap-resampled data. Produces a **consensus matrix**, per-point **stability scores**, and full **score distributions** with confidence intervals.
// Consensus matrix (N × N) — fraction of times each pair co-clustered
670
+
Matrixconsensus=result.ConsensusMatrix;
671
+
672
+
// Per-point stability [0, 1] — how consistently each point stays in its cluster
673
+
double[] stability=result.PointStability;
674
+
double[] convergence=result.ConvergenceCurve; // running mean of score
675
+
```
676
+
677
+
#### Experiment — Optimal-K Distribution
678
+
679
+
Runs a full K-range experiment many times on bootstrap samples. Shows **how often each K value is selected as best**, revealing whether the optimal K is robust.
@@ -504,62 +504,147 @@ var solution = matrix.GaussElimination(vector);
504
504
```
505
505
506
506
---
507
+
## ✨ Interpolation
507
508
508
-
## 📈 Interpolation
509
+
CSharpNumerics provides a rich interpolation toolkit — from simple piecewise methods to polynomial, spline, rational, trigonometric, and multivariate interpolation.
510
+
511
+
### Piecewise (two-point) interpolation
512
+
513
+
All piecewise methods are accessible via a unified dispatcher:
0 commit comments