Package org.encog.ml.bayesian.table

Examples of org.encog.ml.bayesian.table.TableLine


    StringBuilder s = new StringBuilder();
    int tableIndex = 0;
    int[] args = new int[event.getParents().size()];
    do {
      for (int result = 0; result < event.getChoices().size(); result++) {
        TableLine line = event.getTable().findLine(result, args);
        if (s.length() > 0) {
          s.append(" ");
        }
        s.append(CSVFormat.EG_FORMAT.format(line.getProbability(),
            Encog.DEFAULT_PRECISION));
      }
    } while (BIFUtil.rollArgs(event, args));
    return s.toString();
  }
View Full Code Here

TOP

Related Classes of org.encog.ml.bayesian.table.TableLine

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.