Skip to main content

Deep Learning experiments from University of Chicago.

Project description

Documentation Status https://travis-ci.org/uchicago-cs/deepdish.svg?branch=master https://img.shields.io/pypi/v/deepdish.svg https://coveralls.io/repos/uchicago-cs/deepdish/badge.svg?branch=master&service=github https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat

deepdish

Deep learning and data science tools from the University of Chicago.

Installation

pip install deepdish

Main feature

The primary feature of deepdish is its ability to save and load all kinds of data as HDF5. It can save any Python data structure, offering the same ease of use as pickling or numpy.save. However, it improves by also offering:

  • Interoperability between languages (HDF5 is a popular standard)

  • Easy to inspect the content from the command line (using h5ls or our specialized tool ddls)

  • Highly compressed storage (thanks to a PyTables backend)

  • Native support for scipy sparse matrices and pandas DataFrame, Series and Panel

  • Ability to partially read files, even slices of arrays

An example:

import deepdish as dd

d = {
    'foo': np.ones((10, 20)),
    'sub': {
        'bar': 'a string',
        'baz': 1.23,
    },
}
dd.io.save('test.h5', d)

This can be reconstructed using dd.io.load('test.h5'), or inspected through the command line using either a standard tool:

$ h5ls test.h5
foo                      Dataset {10, 20}
sub                      Group

Or, better yet, our custom tool ddls (or python -m deepdish.io.ls):

$ ddls test.h5
/foo                       array (10, 20) [float64]
/sub                       dict
/sub/bar                   'a string' (8) [unicode]
/sub/baz                   1.23 [float64]

Read more at Saving and loading data.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepdish-0.3.4.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepdish-0.3.4-py2.py3-none-any.whl (36.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file deepdish-0.3.4.tar.gz.

File metadata

  • Download URL: deepdish-0.3.4.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for deepdish-0.3.4.tar.gz
Algorithm Hash digest
SHA256 a23893fd3f3489feaba96bcb3b053056707525615dc074e68ca0a176040419a5
MD5 5da9a6a4f06440385be6c9597f6b594d
BLAKE2b-256 612b66d0be534ddc2a919794cb24018addeba6b95a16690f78f2fc1b86fb42a1

See more details on using hashes here.

File details

Details for the file deepdish-0.3.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for deepdish-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7bf4cdd07bde69af93cd21b1e94e1da5dffddb4601db0eb78c5fa0dbde74d909
MD5 eb96ec9f74d70900fdab98c1dbbe23d1
BLAKE2b-256 230f6f28946d23bc1bb6a2138d7118d6e6375b20718ec2807977d36bb70f313f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page