Refactor ExactInference
This commit is contained in:
@@ -17,6 +17,8 @@ namespace bayesnet {
|
||||
int laplaceSmoothing;
|
||||
bool isCyclic(const std::string&, std::unordered_set<std::string>&, std::unordered_set<std::string>&);
|
||||
pair<int, double> predict_sample(const vector<int>&);
|
||||
vector<double> exactInference(map<string, int>&);
|
||||
double computeFactor(map<string, int>&);
|
||||
public:
|
||||
Network();
|
||||
Network(int);
|
||||
|
Reference in New Issue
Block a user