Entry Point: package venture.shortcuts¶
Module contents¶
-
class
venture.shortcuts.
Backend
¶ Bases:
object
Base class representing a model backend.
-
make_church_prime_ripl
(**kwargs)¶
-
make_combined_ripl
(persistent_inference_trace=True, seed=None, **kwargs)¶
-
make_core_sivm
(persistent_inference_trace=True, seed=None)¶
-
make_engine
(persistent_inference_trace=True, seed=None)¶
-
make_ripl
(init_mode='venture_script', **kwargs)¶
-
make_ripl_rest_server
(**kwargs)¶
-
make_venture_script_ripl
(**kwargs)¶
-
make_venture_sivm
(persistent_inference_trace=True, seed=None)¶
-
trace_constructor
()¶
-
-
class
venture.shortcuts.
Lite
¶ Bases:
venture.shortcuts.Backend
An instance of this class represents the Lite backend.
-
name
()¶
-
trace_constructor
()¶
-
-
class
venture.shortcuts.
Puma
¶ Bases:
venture.shortcuts.Backend
An instance of this class represents the Puma backend.
-
name
()¶
-
trace_constructor
()¶
-
-
venture.shortcuts.
backend
(name='puma')¶ Return a backend by name: ‘lite’ or ‘puma’.
-
venture.shortcuts.
make_church_prime_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object that parses input in the abstract syntax.
-
venture.shortcuts.
make_lite_church_prime_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object that parses input in the abstract syntax and traces models in the Lite backend.
-
venture.shortcuts.
make_lite_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object that traces models in the Lite backend.
-
venture.shortcuts.
make_puma_church_prime_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object that parses input in the abstract syntax and traces models in the Puma backend.
-
venture.shortcuts.
make_puma_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object that traces models in the Puma backend.
-
venture.shortcuts.
make_ripl
(*args, **kwargs)¶ Construct and return a VentureScript RIPL object.
Traces models in the default backend. See
venture.ripl.ripl.Ripl
for what you can do with it.
-
venture.shortcuts.
make_ripl_rest_client
(base_url)¶ Return a VentureScript REST client object pointed at the given URL.
-
venture.shortcuts.
make_ripl_rest_server
()¶ Return a VentureScript REST server object backed by a default RIPL.