Vitor Santos Costa
|
259313b603
|
fix the case when you refer a variable that does not affect the marginals.
|
2008-11-02 16:00:46 +00:00 |
|
Vitor Santos Costa
|
4490aa4bb6
|
predicate was not defined, so it should not be exported.
|
2008-11-02 16:00:19 +00:00 |
|
Vitor Santos Costa
|
53b8aa471c
|
just small changes of paramters.
|
2008-11-02 15:59:41 +00:00 |
|
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
|
9c1ee7ba34
|
add matrix_row to get a row of a matrix
fix a bit of error handling.
|
2008-10-31 09:47:58 +00:00 |
|
Vitor Santos Costa
|
aca06e16fc
|
fix bad call to map_tree (obs from Paulo Moura).
|
2008-10-31 09:42:32 +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 |
|
Vitor Santos Costa
|
181e122200
|
try to avoid doing stack expansion so often on arena overflow
|
2008-10-29 18:21:41 +00:00 |
|
Vitor Santos Costa
|
de043e3ee9
|
generate an Error on memory overflow.
|
2008-10-29 18:19:15 +00:00 |
|
Vitor Santos Costa
|
67d9e0ef26
|
fix compilation of (V;_) where V is unbound (obs from Ingo Molnar).
|
2008-10-29 18:16:11 +00:00 |
|
Vitor Santos Costa
|
017146ee54
|
fix compilation of C/3 (there was a bug with .)
|
2008-10-29 17:58:47 +00:00 |
|
Vitor Santos Costa
|
d4016ce69e
|
make -/1 fy with 200 priority, for compatibility with other Prologs (obs from Paylo Moura)
|
2008-10-28 11:34:19 +00:00 |
|
Vitor Santos Costa
|
e783a03610
|
fix write_strings breakage
|
2008-10-25 09:02:42 +01:00 |
|
Vítor Santos de Costa
|
1b399e3433
|
fix bad call to $execute in $spy
|
2008-10-24 14:26:44 +01:00 |
|
Vítor Santos de Costa
|
0028072865
|
fix gibbs EM in case we have 0 elements.
|
2008-10-24 10:36:37 +01:00 |
|
Vítor Santos de Costa
|
7f365f7377
|
make GC happen when we have 1/4 of total memory free.
There was a problem of not having enough room to put 10% of the heap.
|
2008-10-24 10:35:53 +01:00 |
|
Vítor Santos de Costa
|
5c959aee93
|
go back to SICSTus accents mode (and accept newlines in quoted atoms).
|
2008-10-24 00:23:45 +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 |
|
Vítor Santos de Costa
|
b3cb7b1071
|
add log/2 and exp/2
|
2008-10-22 00:40:15 +01:00 |
|
Vítor Santos Costa
|
7eeaf24db2
|
fix SHAREDIR in chr
|
2008-10-20 18:00:47 +01:00 |
|
Vítor Santos Costa
|
9c3ef66490
|
fix OSX breakage
|
2008-10-20 17:58:12 +01:00 |
|
Vitor Santos Costa
|
7e4384cf5c
|
fix if/3 compilation (obs from Brian De Vries)
|
2008-10-18 12:50:02 +01:00 |
|
Vítor Santos de Costa
|
7207c18e65
|
fix longmp in trow not to recover trail. This way we do not need to do
copy_term/2 and we avoid losing the attributed variable stack.
|
2008-10-18 11:03:25 +01:00 |
|
Vitor Santos Costa
|
87987d0b85
|
fix extra arguments.
|
2008-10-17 12:37:39 +01:00 |
|
Vítor Santos de Costa
|
9403ea8942
|
get rid of duplicate declarations.
|
2008-10-16 17:22:01 +01:00 |
|
Vítor Santos de Costa
|
eeff5515b4
|
fix isblank warning
|
2008-10-16 17:19:14 +01:00 |
|
Vítor Santos de Costa
|
45e8b6fc8f
|
when I call from $spy I am not under debugger control.
|
2008-10-13 15:40:05 +01:00 |
|
Vítor Santos de Costa
|
6692a5888c
|
make sure we force debug_jump false on creep.
|
2008-10-10 00:39:24 +01:00 |
|