Skip to content

v0.9.8 Release Notes

null-a edited this page May 18, 2017 · 2 revisions

Breaking Changes

Optimize no longer supports the checkpointParams option

See the new file backed parameter store for similar functionality.

Parameter serialization format

The format in which parameters are serialized has changed. As a result, parameters serialized with 0.9.7 and earlier cannot be loaded directly into 0.9.8. As a work-around, the following script can be used to convert old parameters into the new format:

Node v4 is no longer supported

New Features

Add Laplace distribution primitives

More flexible parameter initialization

The param method now supports an init option which allows fine grained control over the initialization of parameters.

Automatic selection of inference method

When no method is specified when calling Infer, heuristics are used to automatically select a reasonable method for the current model.

Add support for weight decay

Add onStep callback to Optimize

Add forward and forwardGuide methods

These provide a convenient way to generate a single sample from the model or guide.

Add file backed parameter store

Add official support for command line arguments

Allow the ps parameter to be omitted from Categorical

Warn on superfluous options

Infer and Optimize now issue a warning when passed superfluous options.

Bug Fixes

Fix Poisson sampler

Correctly optimize parameters nested within Enumerate

Clone this wiki locally