package nx-datasets

  1. Overview
  2. Docs
Common datasets for machine learning

Install

Dune Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha0.tbz
sha256=a9a8a9787f8250337187bb7b21cb317c41bfd2ecf08bcfe0ab407c7b6660764d
sha512=fe13cf257c487e41efe2967be147d80fa94bac8996d3aab2b8fd16f0bbbd108c15e0e58c025ec9bf294d4a0d220ca2ba00c3b1b42fa2143f758c5f0ee4c15782

doc/CHANGES.html

Changelog

All notable changes to this project will be documented in this file.

1.0.0~alpha0 - 2025-06-29

Initial Alpha Release

We're excited to release the zeroth alpha of Raven, an OCaml machine learning ecosystem bringing modern scientific computing to OCaml.

Added

Core Libraries
  • Nx - N-dimensional array library with NumPy-like API

    • Multi-dimensional tensors with support for several data types.
    • Zero-copy operations: slicing, reshaping, broadcasting
    • Element-wise and linear algebra operations
    • Swappable backends: Native OCaml, C, Metal
    • I/O support for images (PNG, JPEG) and NumPy files (.npy, .npz)
  • Hugin - Publication-quality plotting library

    • 2D plots: line, scatter, bar, histogram, step, error bars, fill-between
    • 3D plots: line3d, scatter3d
    • Image visualization: imshow, matshow
    • Contour plots with customizable levels
    • Text annotations and legends
  • Quill - Interactive notebook environment

    • Markdown-based notebooks with live formatting
    • OCaml code execution with persistent session state
    • Integrated data visualization via Hugin
    • Web server mode for browser-based editing
ML/AI Components
  • Rune - Automatic differentiation and JIT compilation framework

    • Reverse-mode automatic differentiation
    • Functional API for pure computations
    • Basic JIT infrastructure (in development)
  • Kaun - Deep learning framework (experimental)

    • Flax-inspired functional API
    • Basic neural network components
    • Example implementations for XOR and MNIST
  • Sowilo - Computer vision library

    • Image manipulation: flip, crop, color conversions
    • Filtering: gaussian_blur, median_blur
    • Morphological operations and edge detection
Supporting Libraries
  • Nx-datasets - Common ML datasets (MNIST, Iris, California Housing)
  • Nx-text - Text processing and tokenization utilities

Known Issues

This is an alpha release with several limitations:

  • Quill editor has UI bugs being addressed
  • APIs may change significantly before stable release

Contributors

Initial development by the Raven team. Special thanks to all early testers and contributors.

@axrwl @gabyfle @hesterjeng @ghennequin @blueavee

And to our early sponsors:

@daemonfire300 @gabyfle @sabine

OCaml

Innovation. Community. Security.