Skip to main content

/* SymJAX logo */

All dataset utilities (downloading/loading/batching/processing) in Numpy Continuous integration license Code style: black

This is an under-development research project, not an official product, expect bugs and sharp edges; please help by trying it out, reporting bugs. Reference docs

What is and why doing numpy-datasets ?

  • First, numpy-datasets offers out-of-the-box dataset download and loading only based on Numpy and core Python libraries.
  • Second, numpy-datasets offers utilities such as (mini-)batching a.k.a looping through a dataset one chunk at a time, or preprocessing techniques that are highly suited for machine learning and deep learning pipelines.
  • Third, numpy-datasets offers many options to transparently deal with very large datasets. For example, automatic mini-batching with a priori caching of the next batch, online preprocessing, and the likes.
  • Fourth, numpy-datasets does not only focus on computer vision datasets but also offers plenty in time-series datasets, with a constantly groing collection of implemented datasets.

Minimal Example

import sys
import symjax as sj
import symjax.tensor as T

# create our variable to be optimized
mu = T.Variable(T.random.normal((), seed=1))

# create our cost
cost = T.exp(-(mu-1)**2)

# get the gradient, notice that it is itself a tensor that can then
# be manipulated as well
g = sj.gradients(cost, mu)
print(g)

# (Tensor: shape=(), dtype=float32)

# create the compield function that will compute the cost and apply
# the update onto the variable
f = sj.function(outputs=cost, updates={mu:mu-0.2*g})

for i in range(10):
    print(f())

# 0.008471076
# 0.008201109
# 0.007946267
# ...

Installation

Installation is direct with pip as described in this guide.

Metadata

Release files for numpy-datasets 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for numpy-datasets 0.0.2
File Size Uploaded Provenance
numpy-datasets-0.0.2.tar.gz 69.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for numpy-datasets 0.0.2
File Interpreter ABI Platform
numpy_datasets-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 148.8 kB

Release files / numpy-datasets-0.0.2.tar.gz

Download URL numpy-datasets-0.0.2.tar.gz
Size 69.2 kB
Tags Source
SHA-256 checksum
How to use checksums
210054744760e22efce878bc9ef30a88c2d4855b6ad645e71d0e7accf930b855
BLAKE2b-256 checksum
How to use checksums
2c458843e6bf2e9c48fe803a1cedfb95cd8aaf7bd47cbf0c0523dd1cfee20ead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / numpy_datasets-0.0.2-py3-none-any.whl

Download URL numpy_datasets-0.0.2-py3-none-any.whl
Size 79.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a51796d8d61e23a7bb5b907f4a343f228cfa7ae5af170a37619a08a0b68e645
BLAKE2b-256 checksum
How to use checksums
392b225952e600b51c4b9e10a4a6347a5504ba58778db39d8503d172986f871d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for numpy-datasets 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page