PyCallJLD.jl

JLD support for PyCall objects
Author JuliaPy
Popularity
3 Stars
Updated Last
1 Year Ago
Started In
May 2017

PyCallJLD.jl

Build Status

Coverage Status

codecov.io

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
JLD.save("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

No packages found.