Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

issues with ergo evidential probability demo

2 views
Skip to first unread message

Johann Bestowrous

unread,
Nov 2, 2020, 10:41:32 PM11/2/20
to ErgoAI, Flora-2, and XSB Users Forum
Hello! Hope all is well.

When I follow the instructions in the <ergo_dir>/ergo_demos/evidential_probability/bikes.ergo:

  Instructions:
    First load: [evidential_probability >> ergo_ep].
    Then load:  ['path-to-ergo/ergo_demos/evidential_probability/bikes'].
    On Windows use double-backslashes (\\) instead of slashes (/). For instance,
      ['c:ergo_demos\\evidential_probability\\bikes'].
   Then run the query on command line.
        \ep(stolen,redRacingDomestic,?L,?H)@ergo_ep.

Trying to follow that first step returns:


ergo> [evidential_probability >> ergo_ep].

++Abort[Ergo]> Trying to import hilog predicate /(sub,3) from a nonloaded Ergo module \sys

From there I went a head and loaded the bikes file and continued the instructions, perhaps it can reveal useful info to help debug :).

ergo> 
Times (in seconds): elapsed = 1.328; pure CPU = 1.184

Yes

ergo> \ep(stolen,redRacingDomestic,?L,?H)@ergo_ep.

++Error[Ergo]> attempt to call an undefined Prolog predicate flora_sub/3 in module `ep_prolog'

Michael Kifer

unread,
Nov 3, 2020, 11:45:19 PM11/3/20
to ErgoAI-Flor...@coherentknowledge.com

Sorry, that package went stale. Will be fixed in the forthcoming release candidate of Ergo fairly soon.

Also, the problems you found in the persistence package.

Both of these packages are experimental, which is why they got out of sync.

--
You received this message because you are subscribed to the Google Groups "ErgoAI, Flora-2, and XSB Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/8692f72b-f109-41c0-b713-894946753028n%40coherentknowledge.com.
Reply all
Reply to author
Forward
0 new messages