JLD support for PyCall objects
Author JuliaPy
5 Stars
Updated Last
9 Months Ago
Started In
May 2017


Build Status

Coverage Status

PyCallJLD enables saving and loading PyCall's PyObjects using JLD.jl. Example:

using PyCall, JLD, PyCallJLD

@pyimport sklearn.linear_model as lm

# Create some Python objects
m1 = lm.LinearRegression()
m2 = lm.ARDRegression()

# Save them to models.jld"models.jld", "mods", [m1, m2])

# Load them back
models = JLD.load("models.jld", "mods")

The objects are serialized using cPickle.dumps

See PyCall's and JLD's documentation for details.

Used By Packages