Comments (4)
This doesn't reproduce, I get
forall(between(1,10000,_),mc_mh_sample(q,b,10,Prob)). true.
What version of SWI are you using? I'm using 8.5.4-3-g7bf463db4
from cplint.
I get:
?- mc_mh_sample(q,b,2,Prob).
Prob = 0.
?- mc_mh_sample(q,b,2,Prob).
Prob = 0.
?- mc_mh_sample(q,b,2,Prob).
false.
?- mc_mh_sample(q,b,2,Prob).
false.
?- mc_mh_sample(q,b,2,Prob).
false.
?- mc_mh_sample(q,b,2,Prob).
Prob = 0.
?- mc_mh_sample(q,b,10,Prob).
false.
?- mc_mh_sample(q,b,10,Prob).
false.
SWI version: version 8.5.8-24-gba1bc35
.
from cplint.
In the latest devel version on linux (8.5.10-15-g673a8f640) it work, can you try to update swipl?
from cplint.
I've updated SWI and the bugs its gone
from cplint.
Related Issues (20)
- avoid restarting learning HOT 1
- make some prob fixed in par learning HOT 1
- Error "Exported procedure pita:randomize/2 is not defined" HOT 8
- Problems in pita.pl : yield bddem errors HOT 6
- Missing definition of add_decision_var and compute_best_strategy HOT 2
- Problems with master branch HOT 4
- Errors in examples HOT 2
- duel.pl in examples directory throws an error HOT 3
- Strange error in mc for SWI-Prolog version 8.1.14 HOT 4
- Expensive use of findall/3 HOT 2
- Redundant (and costly) use of call/1 HOT 1
- Wrong erase/1 HOT 1
- Flexible probabilities with ProbLog syntax HOT 1
- call predicates outside of lpad scope
- Negative Probability Values and Probability Bounds HOT 1
- Error while getting graphical result HOT 2
- Rules with Disjunction in the Body HOT 1
- Pascal distribution HOT 4
- Get proof trees for queries on probabilistic logic programs? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cplint.