Skip to content

JuliaPy/PyCallJLD.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

JLD support for PyCall objects

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages