Vitor Santos Costa
941d3c3f13
EM was not checking for convergence properly.
2008-11-02 15:58:29 +00:00
Vitor Santos Costa
ac34be01b0
support for randomising or making uniform all distributions before starting EM
2008-11-01 21:09:08 +00:00
Vitor Santos Costa
4f1d7d0524
make this example a more uniform example.
2008-11-01 21:08:47 +00:00
Vitor Santos Costa
11e02be540
fixes to work with gibbs and vel.
2008-11-01 11:52:54 +00:00
Vitor Santos Costa
de79f30e45
use influences
...
fixes to work with EM.
2008-11-01 11:52:10 +00:00
Vitor Santos Costa
c6bb7e9dfe
small interface fixes, use influences
2008-11-01 11:51:36 +00:00
Vitor Santos Costa
0ff1552370
normalise_CPT actually works on joints.
2008-11-01 11:49:38 +00:00
Vitor Santos Costa
ccbd6aea5b
add new interface function to obtain key for a distribution
2008-11-01 11:48:53 +00:00
Vitor Santos Costa
4cebf98f0c
fix bad variable passing
...
separate graph initilialisaton phase so that this can be done only once.
2008-11-01 11:47:56 +00:00
Vitor Santos Costa
08a736fea2
improve EM solver interface.
2008-11-01 11:47:17 +00:00
Vitor Santos Costa
c968576cb4
install Markov blanket analyser.
2008-11-01 11:46:08 +00:00
Vitor Santos Costa
4a2aa23c5b
more CLP(BN) fixes, add softening option when computing MLE estimators.
2008-10-31 15:11:27 +00:00
Vitor Santos Costa
61f35779a0
make sure we include every vertex.
2008-10-31 14:10:57 +00:00
Vitor Santos Costa
e66e7c86bc
more fixes to use matrices in gibbs sampling.
2008-10-31 09:41:52 +00:00
Vitor Santos Costa
6408ae52ac
we do not always want logarithms for CPTs.
2008-10-31 09:41:02 +00:00
Vitor Santos Costa
1d4dc2b0d7
we do not always want logarithms for CPTs.
2008-10-31 09:40:05 +00:00
Vitor Santos Costa
365f454755
use standard library for topsort.
2008-10-31 09:39:26 +00:00
Vitor Santos Costa
20e08fb549
find the variables connected with a variable, and all variables that may
...
affect each other.
2008-10-29 20:55:32 +00:00
Vitor Santos Costa
fa0d580faa
make sure that we always consider evidence.
...
fix interface.
2008-10-29 20:54:15 +00:00
Vitor Santos Costa
d1db0d68ea
distribution is now named through its structure, not just the main functor.
2008-10-29 20:52:56 +00:00
Vitor Santos Costa
922424abd0
new implementation of aggregates, using matrices.
2008-10-29 20:50:21 +00:00
Vitor Santos Costa
22b17b5856
new interface to display
2008-10-29 18:24:50 +00:00
Vitor Santos Costa
7cbdad30f2
be more careful about calling the solver:
...
- only pass variables related to the query
- call the solver in case we have only evidence
2008-10-29 18:23:26 +00:00
Vítor Santos de Costa
0028072865
fix gibbs EM in case we have 0 elements.
2008-10-24 10:36:37 +01:00
Vitor Santos Costa
0dcf34b7bc
mainbranch fixes to:
...
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00
Vítor Santos de Costa
592fe9e366
new version of CLP(BN) with EM learning
2008-10-22 00:44:02 +01:00
Vitor Santos Costa
06a5d8f9db
fix some unbound variables in dist_unbound
2008-09-30 11:48:24 +01:00
Vitor Santos Costa
75cd0c619c
syntax error fixing in em.yap
2008-09-30 00:04:07 +01:00
Vitor Santos Costa
3b811d0d70
changes to support em: step 1
2008-09-30 00:02:31 +01:00
vsc
5d49f14545
fix rbtrees built from ordered lists
...
fix jt
be more flexible about unbound parents
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2260 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-05 16:24:08 +00:00
vsc
1c6b91cb72
improve WIN32 support and installation
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2170 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-27 00:41:33 +00:00
vsc
b2274186bd
make or-parallelism compile again
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2164 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 16:45:53 +00:00
vsc
d02bc3de81
update chr
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 14:38:02 +00:00
rzf
93e6f17c3b
removed singletons
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2135 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-09 08:21:00 +00:00
rzf
186d4e0687
corrected bug: call_solver was not exported
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2131 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-08 15:38:24 +00:00
rzf
097bdcec67
reverted to old version due to a wrong commit
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2126 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:57:23 +00:00
rzf
2e289a8317
reverted to old version due to a wrong commit
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2124 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:37:56 +00:00
rzf
b55a9bd8f9
added option for setting the value of zeros in cpt table. By using a small value rather than 0.0 some errors with jt and vel are avoided
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2123 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-06 07:11:18 +00:00
rzf
60b5042f09
corrected a bug in the BNT path specification
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2121 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-27 21:28:07 +00:00
rzf
575d5bcb26
fixed a bug in bnt.yap: the index of the value of the evidence variable start from 1 rather than from 0
...
added the possibility of computing the marginal of more than one variable in bnt.yap when jtree is used
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2118 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-26 13:52:38 +00:00
rzf
ceaf8af95d
added binary flag suppress_attribute_display to clpbn to suppress the dislpaying of attributes
...
fixed a bug in bnt.yap: the index of the value of the evidence variable start from 1 rather than from 0
added the possibility of computing the marginal of more than one variable in bnt.yap
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2103 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-18 16:42:04 +00:00
vsc
d86f30a2eb
CLP(BN) fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2096 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-13 11:57:46 +00:00
vsc
4fa75e361a
fix startline.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2094 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 22:53:02 +00:00
vsc
afb734b51a
improve learning in CLP(BN)
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2093 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 22:28:18 +00:00
vsc
efe6c4eaef
condor support.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2092 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 21:50:58 +00:00
vsc
af0fb4f4d9
SWI-portability changes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2088 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 17:03:59 +00:00
vsc
64d62f1e3e
improve JT
...
fix graph compatibility with SICStus
re-export declaration.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 12:17:25 +00:00
vsc
1bd96722de
junction tree algorithm
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2031 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-28 23:52:14 +00:00
vsc
507d3058f4
fix some overflows
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2028 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-20 15:51:39 +00:00
vsc
9ffa95724d
just get rid of some debugging code.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2024 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 15:02:25 +00:00