Skip to content

v11.0 — Liquid neural networks (LTC/CfC), full visualization + GitHub Pages, UCI dataset examples

Choose a tag to compare

@danmcleran danmcleran released this 07 Jun 14:56
· 204 commits to master since this release

tinymind v11.0

Headline: continuous-time liquid neural networks land (LTC + CfC, float-autodiff-trained and int8-deployable), every example now ships a plot and a GitHub Pages write-up, and the example suite gains seven real-dataset programs built on UCI data.

New architectures — Liquid Time-Constant & Closed-form Continuous-time cells

  • cpp/ltc.hpp — LtcCell, a fused semi-implicit-Euler ODE cell, unconditionally stable, differentiated for free through the existing PINN autodiff (forward MultiDual + reverse RevVar). Float / fixed-point tier.
  • cpp/cfc.hpp — CfCCell, the solver-free closed-form sibling with a runtime time-gate, so it handles irregular sampling. Float autodiff + reaches the int8/freestanding corner LTC can't.
  • cpp/qcfc.hpp — QCfCCell, pure-integer int8 deployable CfC (regular-sampling form, ts folded at calibration). No <cmath> on the inference path.
  • Calibration helpers (buildQCfCParams, biases) and unit suites (unit_test/ltc, unit_test/cfc, quantization parity) added.
  • Exemplars: examples/ltc_sequence, examples/cfc_sequence (irregular-sampling drive), examples/qcfc_liquid_int8 (int8 deployment).

Visualization + GitHub Pages

  • Shared style module examples/plotting/tinymind_plot.py (matplotlib-only, headless Agg fallback, theme-aware dark for docs / light default).
  • Every runnable example now emits a header-row CSV and ships a plot.py — CSV-first contract, numbers owned by the C++ side.
  • Full GitHub Pages site: example gallery, per-example how-it-works pages, architecture notes, and the as-built UCI dataset capability report.

Real-dataset examples (UCI)

  • Seven new dataset-driven examples: iris, energy_efficiency (regression, linear readout), optical_digits (8x8 CNN-scale MLP), har_activity (LSTM), air_quality (LSTM forecasting), gas_sensor_drift (drift curve), predictive_maintenance (AI4I 2020, physics product features).
  • Fixed LinearActivationPolicy fixed-point derivative (enables fixed-point regression).

Coverage + correctness

  • 100% line coverage of cpp/; closed PINN / LTC / CfC / QCfC unit-test gaps; make coverage dashboard + browser target.
  • Convergence/fit fixes across xor, gru_xor, lstm_sinusoid, kan_xor, ltc, cfc, qcfc, air_quality, predictive_maintenance, and the PINN heat equation.

Build

  • Recursive root make clean.