Entry Point: package venture.shortcuts

Module contents

class venture.shortcuts.Backend

Bases: object

Base class representing a model backend.

See Lite and Puma.

make_church_prime_ripl(persistent_inference_trace=True, **kwargs)
make_combined_ripl(persistent_inference_trace=True, **kwargs)
make_core_sivm(persistent_inference_trace=True)
make_engine(persistent_inference_trace=True)
make_ripl(init_mode='venture_script', **kwargs)
make_ripl_rest_server(**kwargs)
make_venture_script_ripl(persistent_inference_trace=True, **kwargs)
make_venture_sivm(persistent_inference_trace=True)
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.

Table Of Contents

Previous topic

Python API Reference

Next topic

Read Infer Predict Layer: module venture.ripl.ripl

This Page