@Test public void test() throws Exception { DynamicModelLearning.main(null); }
public static void main(String[] args) throws IOException, ExceptionHugin { String filename = "datasets/simulated/cajamar.arff"; DataStream<DynamicDataInstance> data = DynamicDataStreamLoader.loadFromFile(filename); DynamicModel model = new HiddenMarkovModel(data.getAttributes()); model.updateModel(data); DynamicBayesianNetwork dbn = model.getModel(); System.out.println(dbn); DynamicBayesianNetworkWriter.save(dbn, "networks/simulated/exampleDBN.dbn"); }
DynamicModelLearning { public static void main(String[] args) throws IOException, ExceptionHugin { String filename = "datasets/simulated/cajamar.arff"; DataStream<DynamicDataInstance> data = DynamicDataStreamLoader.loadFromFile(filename); DynamicModel model = new HiddenMarkovModel(data.getAttributes()); model.updateModel(data); DynamicBayesianNetwork dbn = model.getModel(); System.out.println(dbn); DynamicBayesianNetworkWriter.save(dbn, "networks/simulated/exampleDBN.dbn"); } }
DynamicModelLearning { public static void main(String[] args) throws IOException, ExceptionHugin { String filename = "datasets/simulated/cajamar.arff"; DataStream<DynamicDataInstance> data = DynamicDataStreamLoader.loadFromFile(filename); DynamicModel model = new HiddenMarkovModel(data.getAttributes()); model.updateModel(data); DynamicBayesianNetwork dbn = model.getModel(); System.out.println(dbn); DynamicBayesianNetworkWriter.save(dbn, "networks/simulated/exampleDBN.dbn"); }  }
DynamicModelLearning { public static void main(String[] args) throws IOException, ExceptionHugin { String filename = "datasets/simulated/cajamar.arff"; DataStream<DynamicDataInstance> data = DynamicDataStreamLoader.loadFromFile(filename); DynamicModel model = new HiddenMarkovModel(data.getAttributes()); model.updateModel(data); DynamicBayesianNetwork dbn = model.getModel(); System.out.println(dbn); DynamicBayesianNetworkWriter.save(dbn, "networks/simulated/exampleDBN.dbn"); }  static void main(String[] args); }
DynamicModelLearning { public static void main(String[] args) throws IOException, ExceptionHugin { String filename = "datasets/simulated/cajamar.arff"; DataStream<DynamicDataInstance> data = DynamicDataStreamLoader.loadFromFile(filename); DynamicModel model = new HiddenMarkovModel(data.getAttributes()); model.updateModel(data); DynamicBayesianNetwork dbn = model.getModel(); System.out.println(dbn); DynamicBayesianNetworkWriter.save(dbn, "networks/simulated/exampleDBN.dbn"); }  static void main(String[] args);  }