-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problog sample not behaving as in documentation #101
Comments
Seems to be a general problem with sample a generator object is created, but its results are not output: |
Hi It seems that the output you get is an issue with the problog-cli tool. It should not be outputted.
I hope this helps in the meantime. |
Thank you for responding.
In addition to looking at Problog-2 for research purposes, I'm evaluating
it for an application, along with a couple of other frameworks. The
responsiveness of the Problog team is a big checkmark in its favor. know
how much time that can take, believe me.
Thanks
Theresa
…On Mon, 17 Apr 2023 at 03:28, Robin Manhaeve ***@***.***> wrote:
Hi
It seems that the output you get is an issue with the problog-cli tool. It
should not be outputted.
The documentation is also incomplete, as you need to set the
--with-probabilty flag to get the desired output:
someHeads.
% Probability: 0.3
----------------
someHeads.
% Probability: 0.3
----------------
someHeads.
% Probability: 0.3
(True, <generator object sample at 0x7f714a63ae40>)
I hope this helps in the meantime.
Kind regards,
Robin
—
Reply to this email directly, view it on GitHub
<#101 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZNEYJZ3HA2UGOMHLH3R63XBTWKZANCNFSM6AAAAAAW5T52P4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The issue appears to be
But none of them seem to be that CLI script that gets installed. |
Same issue as #82 |
When I type the following command:
problog sample some_heads.pl -N 3
I get as output:
someHeads.
someHeads.
(True, <generator object sample at 0x7f5f192aca50>)
rather than
====================
% Probability: 0.2
someHeads.
% Probability: 0.2
someHeads.
% Probability: 0.3
as in the documentation. I.e., no probabilities are printed out for me.
The text was updated successfully, but these errors were encountered: