* of the nodes in network. The difference between this function and previous one
* is just one line: learner.initializeWithPriors(network, NofVirtualSamples);
*/
public static void learnWithPriors(String networkFile, String dataFile, int NofVirtualSamples) {
XmlBifReader bifReader = new XmlBifReader();
BeliefNetwork network;
try {
// load network and show the marginals
network = bifReader.loadFromFile(networkFile);
if (network == null) {
System.out.println("Problems with loading the network");
return;
}