Simple module requirement, based on bayesian network on Node.js framework
var bayezid = require('bayezid');
var bayezid = new Bayezid({ rootFolder: "./path/to/folder" });
bayezid.run(function (err, data) {
console.log(data);
});
bayezid.run({some: 'value'}, function (err, data) {
console.log(data);
});
npm test
or NODE_ENV=test mocha --compilers coffee:coffee-script
I encourage you to contribute to Bayezid! Please ensure that you provide appropriate test coverage and ensure the documentation is up-to-date. Bonus points if you perform your changes in a clean topic branch rather than master, and if you create a pull request for your changes to be discussed and reviewed.
Please also keep your commits atomic so that they are more likely to apply cleanly. That means that each commit should contain the smallest possible logical change. Don’t commit two features at once, don’t update the gemspec at the same time you add a feature, don’t fix a whole bunch of whitespace in a file at the same time you change a few lines, etc, etc.
For significant changes, you may wish to discuss your idea here.
'Bayezid' name is consonant with last name of Bayes Thomas, English mathematician and Presbyterian minister, who known for having formulated a specific case of the theorem that bears his name.
Although, Bayezid I "the Thunderbolt" was the Sultan of the Ottoman Empire, from 1389 to 1402.