Force mutual information methods to be at least 0
There were cases where a tiny negative number was returned (less than -1e-7) Fix mst glass test that is affected with this change
This commit is contained in:
@@ -155,7 +155,7 @@ namespace bayesnet {
|
||||
}
|
||||
}
|
||||
if (pairSelection.size() > 0) {
|
||||
notes.push_back("Used pairs not used in train: " + std::to_string(pairSelection.size()));
|
||||
notes.push_back("Pairs not used in train: " + std::to_string(pairSelection.size()));
|
||||
status = WARNING;
|
||||
}
|
||||
notes.push_back("Number of models: " + std::to_string(n_models));
|
||||
|
Reference in New Issue
Block a user