use of com.sri.ai.praise.learning.parameterlearning.representation.table.TableBayesianModel in project aic-praise by aic-sri-international.
the class TableBayesianModelTest method generateSickSunColdModel.
static TableBayesianModel generateSickSunColdModel() {
TableBayesianNode sunNode = new TableBayesianNode(sunVariable, arrayList());
TableBayesianNode coldNode = new TableBayesianNode(coldVariable, arrayList());
TableBayesianNode sickNode = new TableBayesianNode(sickVariable, arrayList(sunVariable, coldVariable));
List<TableBayesianNode> nodes = list(sickNode, sunNode, coldNode);
TableBayesianModel sickSunColdModel = new TableBayesianModel(nodes);
return sickSunColdModel;
}
Aggregations