This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef NAIVEBAYES_H | |
| #define NAIVEBAYES_H | |
| #include <cmath> | |
| #include <vector> | |
| #include <numeric> | |
| #include <utility> | |
| #include <map> | |
| #include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <numeric> | |
| #include <algorithm> | |
| #include <vector> | |
| #include <array> | |
| #include <optional> | |
| #include <cmath> | |
| #include <iostream> | |
| namespace KMeans { | |
| //precond: v is not empty |