From 45df10e86dd4da58981b17a0ffc40b751b4cce1e Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 3 Nov 2008 16:01:39 +0000 Subject: [PATCH] use avg cpt type. --- CLPBN/clpbn/examples/School/tables.yap | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CLPBN/clpbn/examples/School/tables.yap b/CLPBN/clpbn/examples/School/tables.yap index f2c83cf36..21aff50e6 100644 --- a/CLPBN/clpbn/examples/School/tables.yap +++ b/CLPBN/clpbn/examples/School/tables.yap @@ -1,6 +1,4 @@ -:- use_module(library('clpbn/aggregates'),[cpt_average/5]). - int_table(_, [0.5, 0.4, 0.1],[h, m, l]). @@ -37,12 +35,6 @@ rating_prob_table([0.9,0.05,0.01, 0.09,0.9,0.09, 0.01,0.05,0.9]). -build_rating_table(LSats, Key, Table) :- - cpt_average(LSats, Key, [h,m,l], 1.00, Table). - -build_grades_table(LGrades, Key, Table) :- - cpt_average(LGrades, Key, [a,b,c,d], 1.00, Table). - abi_table( _, [0.50, 0.40, 0.10]).