Add threads to fit

This commit is contained in:
2023-07-06 12:40:47 +02:00
parent b6c21c21e2
commit 0b33c6c04a
3 changed files with 63 additions and 19 deletions

View File

@@ -221,7 +221,7 @@ int main(int argc, char** argv)
cout << endl;
cout << "Class name: " << className << endl;
// Build Network
auto network = bayesnet::Network();
auto network = bayesnet::Network(1.0);
build_network(network, network_name, maxes);
network.fit(Xd, y, features, className);
cout << "Hello, Bayesian Networks!" << endl;