static void ModelNetworkSprinklerFile() { GraphicalModel model = new GraphicalModel("WetRainSprinkler.xml"); model.CreateNetwork(); Dictionary <string, int[]> observedData = GraphicalModel.LoadData("WetRainSprinklerData.xml"); model.LearnParameters(observedData); }
static void CreateGraphicalModel() { GraphicalModel model = new GraphicalModel("dungeonNetwork.xml"); model.CreateNetwork(); Dictionary <string, int[]> observedData = GraphicalModel.LoadData("dungeonNetworkData.xml"); model.LearnParameters(observedData); }