Package bt

Examples of bt.Dataset


public class TestOfBayesianTest {
  public static void main(String[] args) {
    String fullPathToDataset = "data/example4BinaryVariables.csv";
    int maxNumberOfExamples = 10; // read only first 10 examples
    Dataset dataset = new Dataset(maxNumberOfExamples, Dataset.getBinaryDomain(4));
    try {
      dataset = dataset.readDataset(new java.io.File(fullPathToDataset), maxNumberOfExamples, 1);
      List<Integer> x = new ArrayList<Integer>();
      x.add(0);
      List<Integer> y = new ArrayList<Integer>();
      y.add(1);
      List<Integer> z = new ArrayList<Integer>();
View Full Code Here

TOP

Related Classes of bt.Dataset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.