13dd600f88add type to BIG NUMs, so that we can easily know what it is all about.
Vítor Santos Costa
2008-11-28 15:54:46 +00:00
e8cbc5034efirst patch to isolate GMP code.
Vítor Santos Costa
2008-11-28 15:54:08 +00:00
902dafa906more support for learning
Vítor Santos Costa
2008-11-26 09:56:55 +00:00
58d4442883fixes for gcc-4.3 (same as stable)
Vítor Santos Costa
2008-11-26 09:56:18 +00:00
a64c1138dfmore CLP(BN) fixes - support clpbn_table for an efficient implementation of deterministic tabling. - corresponding changes to learning algorithm.
Vitor Santos Costa
2008-11-18 11:29:59 +00:00
abf9691282fixes to hashing code.
Vitor Santos Costa
2008-11-18 11:29:08 +00:00
99c5cb3e36new version of term_hash based on SWI-ideas. It handles infinite terms, and it seems to be a better hash.
Vitor Santos Costa
2008-11-18 11:28:11 +00:00
1b98de440dImprove Gibbs learning in CLP(BN).
Vitor Santos Costa
2008-11-14 14:56:18 +00:00
1be78e23echad shortcut for var-to-var unification.
Vitor Santos Costa
2008-11-14 14:54:52 +00:00
e62ae6be36improve handling of local stack expansion.
Vitor Santos Costa
2008-11-14 14:54:25 +00:00
f5e1b6d029fix bug in create array: argument order was reversed.
Vitor Santos Costa
2008-11-14 14:53:44 +00:00
0ef147459ahandle case where we can expand attributed variable stack without having to grow stack physically.
Vitor Santos Costa
2008-11-14 14:52:55 +00:00
9296762791fix bug in reserving space for queues.
Vitor Santos Costa
2008-11-14 14:52:00 +00:00
7a21ccb009Include hack to unify two attributed variables, if the solver knows what it is doing.
Vitor Santos Costa
2008-11-14 14:50:54 +00:00
8e9fde1c6cbacktrack global hash table.
Vitor Santos Costa
2008-11-14 14:50:04 +00:00
99248795c9support for learning CLP(BN) programs from Aleph
Vitor Santos Costa
2008-11-13 09:03:53 +00:00
1c334ea198fix bad marking of attributed variables from trail.
Vitor Santos Costa
2008-11-13 09:03:27 +00:00
6920041189fix bad size in grow stack
Vitor Santos Costa
2008-11-13 09:02:33 +00:00
297ea16dcbfix type in gprof
Vitor Santos Costa
2008-11-05 13:28:44 +00:00
3f491b8666small fixes
Vitor Santos Costa
2008-11-04 17:02:26 +00:00
e19a8eeb87fix case where index has no clauses.
Vitor Santos Costa
2008-11-04 17:01:57 +00:00
13fb5d5156fix underflows when computing marginals.
Vitor Santos Costa
2008-11-04 03:55:49 +00:00
0dc7d3492dmove aggregate support to aggregates.
Vitor Santos Costa
2008-11-04 03:32:59 +00:00
e19a7e6b61include aggregate preparation in here.
Vitor Santos Costa
2008-11-04 03:31:50 +00:00
c81bc96fd0fix EM support
Vitor Santos Costa
2008-11-04 03:30:12 +00:00
43365003dcsupport for EM with JT use vel as default.
Vitor Santos Costa
2008-11-04 03:29:11 +00:00
8a9d66d001more fixes to improve aggregate performance: handle evidence on children and root nodes. make graphviz call on top-level.
Vitor Santos Costa
2008-11-04 00:46:17 +00:00
f6c5d16f63use avg CPT type. how to deal with it is a solver problem, not an app issue.
Vitor Santos Costa
2008-11-03 16:02:15 +00:00
45df10e86duse avg cpt type.
Vitor Santos Costa
2008-11-03 16:01:39 +00:00
8938666bf5add sum_list/3
Vitor Santos Costa
2008-11-03 16:00:22 +00:00
259313b603fix the case when you refer a variable that does not affect the marginals.
Vitor Santos Costa
2008-11-02 16:00:46 +00:00
4490aa4bb6predicate was not defined, so it should not be exported.
Vitor Santos Costa
2008-11-02 16:00:19 +00:00
53b8aa471cjust small changes of paramters.
Vitor Santos Costa
2008-11-02 15:59:41 +00:00
941d3c3f13EM was not checking for convergence properly.
Vitor Santos Costa
2008-11-02 15:58:29 +00:00
ac34be01b0support for randomising or making uniform all distributions before starting EM
Vitor Santos Costa
2008-11-01 21:09:08 +00:00
4f1d7d0524make this example a more uniform example.
Vitor Santos Costa
2008-11-01 21:08:47 +00:00
11e02be540fixes to work with gibbs and vel.
Vitor Santos Costa
2008-11-01 11:52:54 +00:00
de79f30e45use influences fixes to work with EM.
Vitor Santos Costa
2008-11-01 11:52:10 +00:00
c6bb7e9dfesmall interface fixes, use influences
Vitor Santos Costa
2008-11-01 11:51:36 +00:00
0ff1552370normalise_CPT actually works on joints.
Vitor Santos Costa
2008-11-01 11:49:38 +00:00
ccbd6aea5badd new interface function to obtain key for a distribution
Vitor Santos Costa
2008-11-01 11:48:53 +00:00
4cebf98f0cfix bad variable passing separate graph initilialisaton phase so that this can be done only once.
Vitor Santos Costa
2008-11-01 11:47:56 +00:00
08a736fea2improve EM solver interface.
Vitor Santos Costa
2008-11-01 11:47:17 +00:00
c968576cb4install Markov blanket analyser.
Vitor Santos Costa
2008-11-01 11:46:08 +00:00
4a2aa23c5bmore CLP(BN) fixes, add softening option when computing MLE estimators.
Vitor Santos Costa
2008-10-31 15:11:27 +00:00
61f35779a0make sure we include every vertex.
Vitor Santos Costa
2008-10-31 14:10:57 +00:00
9c1ee7ba34add matrix_row to get a row of a matrix fix a bit of error handling.
Vitor Santos Costa
2008-10-31 09:47:58 +00:00
aca06e16fcfix bad call to map_tree (obs from Paulo Moura).
Vitor Santos Costa
2008-10-31 09:42:32 +00:00
e66e7c86bcmore fixes to use matrices in gibbs sampling.
Vitor Santos Costa
2008-10-31 09:41:52 +00:00
6408ae52acwe do not always want logarithms for CPTs.
Vitor Santos Costa
2008-10-31 09:41:02 +00:00
1d4dc2b0d7we do not always want logarithms for CPTs.
Vitor Santos Costa
2008-10-31 09:40:05 +00:00
365f454755use standard library for topsort.
Vitor Santos Costa
2008-10-31 09:39:26 +00:00
20e08fb549find the variables connected with a variable, and all variables that may affect each other.
Vitor Santos Costa
2008-10-29 20:55:32 +00:00
fa0d580faamake sure that we always consider evidence. fix interface.
Vitor Santos Costa
2008-10-29 20:54:15 +00:00
d1db0d68eadistribution is now named through its structure, not just the main functor.
Vitor Santos Costa
2008-10-29 20:52:56 +00:00
922424abd0new implementation of aggregates, using matrices.
Vitor Santos Costa
2008-10-29 20:50:21 +00:00
22b17b5856new interface to display
Vitor Santos Costa
2008-10-29 18:24:50 +00:00
7cbdad30f2be more careful about calling the solver: - only pass variables related to the query - call the solver in case we have only evidence
Vitor Santos Costa
2008-10-29 18:23:26 +00:00
181e122200try to avoid doing stack expansion so often on arena overflow
Vitor Santos Costa
2008-10-29 18:21:41 +00:00
de043e3ee9generate an Error on memory overflow.
Vitor Santos Costa
2008-10-29 18:19:15 +00:00
67d9e0ef26fix compilation of (V;_) where V is unbound (obs from Ingo Molnar).
Vitor Santos Costa
2008-10-29 18:16:11 +00:00
017146ee54fix compilation of C/3 (there was a bug with .)
Vitor Santos Costa
2008-10-29 17:58:47 +00:00
d4016ce69emake -/1 fy with 200 priority, for compatibility with other Prologs (obs from Paylo Moura)
Vitor Santos Costa
2008-10-28 11:34:19 +00:00
e783a03610fix write_strings breakage
Vitor Santos Costa
2008-10-25 09:02:42 +01:00
1b399e3433fix bad call to $execute in $spy
Vítor Santos de Costa
2008-10-24 14:26:44 +01:00
0028072865fix gibbs EM in case we have 0 elements.
Vítor Santos de Costa
2008-10-24 10:36:37 +01:00
7f365f7377make 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.
Vítor Santos de Costa
2008-10-24 10:35:53 +01:00
5c959aee93go back to SICSTus accents mode (and accept newlines in quoted atoms).
Vítor Santos de Costa
2008-10-24 00:23:45 +01:00
0dcf34b7bcmainbranch fixes to: - fix quoted characters output - fix line position in read_term and friends - make messages look a bit better - CLP(BN) EM improvements.
Vitor Santos Costa
2008-10-23 22:17:45 +01:00
592fe9e366new version of CLP(BN) with EM learning
Vítor Santos de Costa
2008-10-22 00:44:02 +01:00
b3cb7b1071add log/2 and exp/2
Vítor Santos de Costa
2008-10-22 00:40:15 +01:00
7eeaf24db2fix SHAREDIR in chr
Vítor Santos Costa
2008-10-20 18:00:47 +01:00
9c3ef66490fix OSX breakage
Vítor Santos Costa
2008-10-20 17:58:12 +01:00
7e4384cf5cfix if/3 compilation (obs from Brian De Vries)
Vitor Santos Costa
2008-10-18 12:50:02 +01:00
7207c18e65fix 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.
Vítor Santos de Costa
2008-10-18 11:03:25 +01:00
87987d0b85fix extra arguments.
Vitor Santos Costa
2008-10-17 12:37:39 +01:00
9403ea8942get rid of duplicate declarations.
Vítor Santos de Costa
2008-10-16 17:22:01 +01:00
eeff5515b4fix isblank warning
Vítor Santos de Costa
2008-10-16 17:19:14 +01:00
45e8b6fc8fwhen I call from $spy I am not under debugger control.
Vítor Santos de Costa
2008-10-13 15:40:05 +01:00
6692a5888cmake sure we force debug_jump false on creep.
Vítor Santos de Costa
2008-10-10 00:39:24 +01:00
8b171db743fix notrace so that it will not call goal_expansion and friends.
Vítor Santos de Costa
2008-10-08 13:43:33 +01:00
bb27cf9b66fix chr loader for Linux/Unix
Vítor Santos de Costa
2008-10-08 13:29:28 +01:00
a116b546f3fix dynamic_loading_problem pass dynamic loader straight to ./yap when booting the first time simplify prefix for chr make cross-compiler use this.
Vítor Santos de Costa
2008-10-08 13:15:53 +01:00
aef5725901fix overflow fixes
Vítor Santos de Costa
2008-10-08 13:15:09 +01:00
444fc8fb7ffix overflow bug
Vítor Santos de Costa
2008-10-07 23:52:26 +01:00
2cdcf87044fix yxn instruction type.
Vítor Santos de Costa
2008-10-07 22:32:15 +01:00
681d0f186dfix bad type for p_number_y
Vítor Santos de Costa
2008-10-07 22:00:38 +01:00
06a5d8f9dbfix some unbound variables in dist_unbound
Vitor Santos Costa
2008-09-30 11:48:24 +01:00
83c6d45cbcfixed: bad argument passing in expand_component.
Vitor Santos Costa
2008-09-30 11:46:49 +01:00
32a1396b79declare hook predicates so that $notrace will not think they are undefined.
Vitor Santos Costa
2008-09-30 11:44:48 +01:00
75cd0c619csyntax error fixing in em.yap
Vitor Santos Costa
2008-09-30 00:04:07 +01:00
3b811d0d70changes to support em: step 1
Vitor Santos Costa
2008-09-30 00:02:31 +01:00
09ccb295c2FIX: in tabling mode _trust_me was being assembled as _retry_me (obs from Chris Mungali)
Vitor Santos Costa
2008-09-26 18:52:29 +01:00
fb8648d7dfremove early completion code.
Vitor Santos Costa
2008-09-26 18:50:09 +01:00
ce8a8bc965fix showprofres/1.
Vitor Santos Costa
2008-09-26 00:58:57 +01:00
770e838dddfix cast warnings in heapgc.c
Vítor Santos Costa
2008-09-24 20:45:12 +01:00
abcb8f99feFIX: InitCPred and friends should check for overflow.
Vítor Santos Costa
2008-09-24 00:59:41 +01:00
139f591458fix catch and throw: make sure we have an environment. use $notrace consistently: note that it only matters if ran from the debugger, otherwise it is just a meta-call.
Vítor Santos Costa
2008-09-24 00:13:02 +01:00
6747cb21dedo not allow backtracking to a frozen CP.
Vítor Santos Costa
2008-09-24 00:12:32 +01:00
30900bd61fgo back to only doing gc when needed.wq
Vítor Santos Costa
2008-09-24 00:11:22 +01:00