[Joseph] Implemented Fuzzy C Means Clustering#193
[Joseph] Implemented Fuzzy C Means Clustering#193Joseph0120 wants to merge 2 commits intoPisterLab:masterfrom
Conversation
|
🧱 Stack PR · Base of stack Stack Structure:
|
There was a problem hiding this comment.
Code Review
This pull request introduces a robust implementation of Fuzzy C-Means (FCM) clustering and integrates it into the existing hierarchical system. The key enhancements include the new FuzzyCMeansClusterer, storing membership weights in Cluster objects, and replacing the previous clustering logic in HierarchicalBase with FCM. A significant improvement is the introduction of multi-rate hierarchy updates in IADS, allowing for periodic rebuilding of top-level swarms and more frequent refreshing of sub-hierarchies to handle dynamic threats and drift. The implementation is of high quality, with thorough validation and handling of edge cases. My review includes a couple of minor suggestions in FuzzyCMeansClusterer.cs to improve the robustness of some loops. Overall, this is an excellent and well-executed feature.
Implemented fuzzy c‑means clustering with membership overlap and multi‑rate hierarchy refresh so swarms and sub‑clusters update over time and can share threats for redundancy. Accounts for drifting threats as well (interceptor to interceptor, swarm to swarm, or launcher to launcher)
Files added:
Files modified