Commit Graph

  • 13dd600f88 add 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
  • e8cbc5034e first patch to isolate GMP code. Vítor Santos Costa 2008-11-28 15:54:08 +00:00
  • 902dafa906 more support for learning Vítor Santos Costa 2008-11-26 09:56:55 +00:00
  • 58d4442883 fixes for gcc-4.3 (same as stable) Vítor Santos Costa 2008-11-26 09:56:18 +00:00
  • a64c1138df more 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
  • abf9691282 fixes to hashing code. Vitor Santos Costa 2008-11-18 11:29:08 +00:00
  • 99c5cb3e36 new 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
  • 1b98de440d Improve Gibbs learning in CLP(BN). Vitor Santos Costa 2008-11-14 14:56:18 +00:00
  • 1be78e23ec had shortcut for var-to-var unification. Vitor Santos Costa 2008-11-14 14:54:52 +00:00
  • e62ae6be36 improve handling of local stack expansion. Vitor Santos Costa 2008-11-14 14:54:25 +00:00
  • f5e1b6d029 fix bug in create array: argument order was reversed. Vitor Santos Costa 2008-11-14 14:53:44 +00:00
  • 0ef147459a handle 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
  • 9296762791 fix bug in reserving space for queues. Vitor Santos Costa 2008-11-14 14:52:00 +00:00
  • 7a21ccb009 Include 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
  • 8e9fde1c6c backtrack global hash table. Vitor Santos Costa 2008-11-14 14:50:04 +00:00
  • 99248795c9 support for learning CLP(BN) programs from Aleph Vitor Santos Costa 2008-11-13 09:03:53 +00:00
  • 1c334ea198 fix bad marking of attributed variables from trail. Vitor Santos Costa 2008-11-13 09:03:27 +00:00
  • 6920041189 fix bad size in grow stack Vitor Santos Costa 2008-11-13 09:02:33 +00:00
  • 297ea16dcb fix type in gprof Vitor Santos Costa 2008-11-05 13:28:44 +00:00
  • 3f491b8666 small fixes Vitor Santos Costa 2008-11-04 17:02:26 +00:00
  • e19a8eeb87 fix case where index has no clauses. Vitor Santos Costa 2008-11-04 17:01:57 +00:00
  • 13fb5d5156 fix underflows when computing marginals. Vitor Santos Costa 2008-11-04 03:55:49 +00:00
  • 0dc7d3492d move aggregate support to aggregates. Vitor Santos Costa 2008-11-04 03:32:59 +00:00
  • e19a7e6b61 include aggregate preparation in here. Vitor Santos Costa 2008-11-04 03:31:50 +00:00
  • c81bc96fd0 fix EM support Vitor Santos Costa 2008-11-04 03:30:12 +00:00
  • 43365003dc support for EM with JT use vel as default. Vitor Santos Costa 2008-11-04 03:29:11 +00:00
  • 8a9d66d001 more 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
  • f6c5d16f63 use 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
  • 45df10e86d use avg cpt type. Vitor Santos Costa 2008-11-03 16:01:39 +00:00
  • 8938666bf5 add sum_list/3 Vitor Santos Costa 2008-11-03 16:00:22 +00:00
  • 259313b603 fix the case when you refer a variable that does not affect the marginals. Vitor Santos Costa 2008-11-02 16:00:46 +00:00
  • 4490aa4bb6 predicate was not defined, so it should not be exported. Vitor Santos Costa 2008-11-02 16:00:19 +00:00
  • 53b8aa471c just small changes of paramters. Vitor Santos Costa 2008-11-02 15:59:41 +00:00
  • 941d3c3f13 EM was not checking for convergence properly. Vitor Santos Costa 2008-11-02 15:58:29 +00:00
  • ac34be01b0 support for randomising or making uniform all distributions before starting EM Vitor Santos Costa 2008-11-01 21:09:08 +00:00
  • 4f1d7d0524 make this example a more uniform example. Vitor Santos Costa 2008-11-01 21:08:47 +00:00
  • 11e02be540 fixes to work with gibbs and vel. Vitor Santos Costa 2008-11-01 11:52:54 +00:00
  • de79f30e45 use influences fixes to work with EM. Vitor Santos Costa 2008-11-01 11:52:10 +00:00
  • c6bb7e9dfe small interface fixes, use influences Vitor Santos Costa 2008-11-01 11:51:36 +00:00
  • 0ff1552370 normalise_CPT actually works on joints. Vitor Santos Costa 2008-11-01 11:49:38 +00:00
  • ccbd6aea5b add new interface function to obtain key for a distribution Vitor Santos Costa 2008-11-01 11:48:53 +00:00
  • 4cebf98f0c fix 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
  • 08a736fea2 improve EM solver interface. Vitor Santos Costa 2008-11-01 11:47:17 +00:00
  • c968576cb4 install Markov blanket analyser. Vitor Santos Costa 2008-11-01 11:46:08 +00:00
  • 4a2aa23c5b more CLP(BN) fixes, add softening option when computing MLE estimators. Vitor Santos Costa 2008-10-31 15:11:27 +00:00
  • 61f35779a0 make sure we include every vertex. Vitor Santos Costa 2008-10-31 14:10:57 +00:00
  • 9c1ee7ba34 add 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
  • aca06e16fc fix bad call to map_tree (obs from Paulo Moura). Vitor Santos Costa 2008-10-31 09:42:32 +00:00
  • e66e7c86bc more fixes to use matrices in gibbs sampling. Vitor Santos Costa 2008-10-31 09:41:52 +00:00
  • 6408ae52ac we do not always want logarithms for CPTs. Vitor Santos Costa 2008-10-31 09:41:02 +00:00
  • 1d4dc2b0d7 we do not always want logarithms for CPTs. Vitor Santos Costa 2008-10-31 09:40:05 +00:00
  • 365f454755 use standard library for topsort. Vitor Santos Costa 2008-10-31 09:39:26 +00:00
  • 20e08fb549 find 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
  • fa0d580faa make sure that we always consider evidence. fix interface. Vitor Santos Costa 2008-10-29 20:54:15 +00:00
  • d1db0d68ea distribution is now named through its structure, not just the main functor. Vitor Santos Costa 2008-10-29 20:52:56 +00:00
  • 922424abd0 new implementation of aggregates, using matrices. Vitor Santos Costa 2008-10-29 20:50:21 +00:00
  • 22b17b5856 new interface to display Vitor Santos Costa 2008-10-29 18:24:50 +00:00
  • 7cbdad30f2 be 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
  • 181e122200 try to avoid doing stack expansion so often on arena overflow Vitor Santos Costa 2008-10-29 18:21:41 +00:00
  • de043e3ee9 generate an Error on memory overflow. Vitor Santos Costa 2008-10-29 18:19:15 +00:00
  • 67d9e0ef26 fix compilation of (V;_) where V is unbound (obs from Ingo Molnar). Vitor Santos Costa 2008-10-29 18:16:11 +00:00
  • 017146ee54 fix compilation of C/3 (there was a bug with .) Vitor Santos Costa 2008-10-29 17:58:47 +00:00
  • d4016ce69e make -/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
  • e783a03610 fix write_strings breakage Vitor Santos Costa 2008-10-25 09:02:42 +01:00
  • 1b399e3433 fix bad call to $execute in $spy Vítor Santos de Costa 2008-10-24 14:26:44 +01:00
  • 0028072865 fix gibbs EM in case we have 0 elements. Vítor Santos de Costa 2008-10-24 10:36:37 +01:00
  • 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. Vítor Santos de Costa 2008-10-24 10:35:53 +01:00
  • 5c959aee93 go back to SICSTus accents mode (and accept newlines in quoted atoms). Vítor Santos de Costa 2008-10-24 00:23:45 +01:00
  • 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. Vitor Santos Costa 2008-10-23 22:17:45 +01:00
  • 592fe9e366 new version of CLP(BN) with EM learning Vítor Santos de Costa 2008-10-22 00:44:02 +01:00
  • b3cb7b1071 add log/2 and exp/2 Vítor Santos de Costa 2008-10-22 00:40:15 +01:00
  • 7eeaf24db2 fix SHAREDIR in chr Vítor Santos Costa 2008-10-20 18:00:47 +01:00
  • 9c3ef66490 fix OSX breakage Vítor Santos Costa 2008-10-20 17:58:12 +01:00
  • 7e4384cf5c fix if/3 compilation (obs from Brian De Vries) Vitor Santos Costa 2008-10-18 12:50:02 +01:00
  • 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. Vítor Santos de Costa 2008-10-18 11:03:25 +01:00
  • 87987d0b85 fix extra arguments. Vitor Santos Costa 2008-10-17 12:37:39 +01:00
  • 9403ea8942 get rid of duplicate declarations. Vítor Santos de Costa 2008-10-16 17:22:01 +01:00
  • eeff5515b4 fix isblank warning Vítor Santos de Costa 2008-10-16 17:19:14 +01:00
  • 45e8b6fc8f when I call from $spy I am not under debugger control. Vítor Santos de Costa 2008-10-13 15:40:05 +01:00
  • 6692a5888c make sure we force debug_jump false on creep. Vítor Santos de Costa 2008-10-10 00:39:24 +01:00
  • 8b171db743 fix notrace so that it will not call goal_expansion and friends. Vítor Santos de Costa 2008-10-08 13:43:33 +01:00
  • bb27cf9b66 fix chr loader for Linux/Unix Vítor Santos de Costa 2008-10-08 13:29:28 +01:00
  • a116b546f3 fix 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
  • aef5725901 fix overflow fixes Vítor Santos de Costa 2008-10-08 13:15:09 +01:00
  • 444fc8fb7f fix overflow bug Vítor Santos de Costa 2008-10-07 23:52:26 +01:00
  • 2cdcf87044 fix yxn instruction type. Vítor Santos de Costa 2008-10-07 22:32:15 +01:00
  • 681d0f186d fix bad type for p_number_y Vítor Santos de Costa 2008-10-07 22:00:38 +01:00
  • 06a5d8f9db fix some unbound variables in dist_unbound Vitor Santos Costa 2008-09-30 11:48:24 +01:00
  • 83c6d45cbc fixed: bad argument passing in expand_component. Vitor Santos Costa 2008-09-30 11:46:49 +01:00
  • 32a1396b79 declare hook predicates so that $notrace will not think they are undefined. Vitor Santos Costa 2008-09-30 11:44:48 +01:00
  • 75cd0c619c syntax error fixing in em.yap Vitor Santos Costa 2008-09-30 00:04:07 +01:00
  • 3b811d0d70 changes to support em: step 1 Vitor Santos Costa 2008-09-30 00:02:31 +01:00
  • 09ccb295c2 FIX: 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
  • fb8648d7df remove early completion code. Vitor Santos Costa 2008-09-26 18:50:09 +01:00
  • ce8a8bc965 fix showprofres/1. Vitor Santos Costa 2008-09-26 00:58:57 +01:00
  • 770e838ddd fix cast warnings in heapgc.c Vítor Santos Costa 2008-09-24 20:45:12 +01:00
  • abcb8f99fe FIX: InitCPred and friends should check for overflow. Vítor Santos Costa 2008-09-24 00:59:41 +01:00
  • 139f591458 fix 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
  • 6747cb21de do not allow backtracking to a frozen CP. Vítor Santos Costa 2008-09-24 00:12:32 +01:00
  • 30900bd61f go back to only doing gc when needed.wq Vítor Santos Costa 2008-09-24 00:11:22 +01:00