Python examples

September 11, 2026 · View on GitHub

Demo scripts for the hypercube-wtf API. They call only the installed package.

ScriptWhat it shows
synthetic_classification.pyMulti-class length-N fields → fit → train / test accuracy

How to run

These files live in the GitHub repository. They are not part of pip install — use the Quick start if you only want a snippet.

From a clone of HypercubeWTF (repository root), after installing the package:

pip install hypercube-wtf
# or from this tree:  pip install .
python python/examples/synthetic_classification.py

What these are not

  • Not the C++ demos (wtf_synth, wtf_mnist) or the MNIST study write-ups. Those live under examples/.
  • Not automated tests. Package tests are tests/test_basic.py.
  • Not hard tasks. Synthetic multi-class fields are easy onboarding so the episode API is obvious; do not cite their metrics as research results.

Going further

Want…See…
Full Python APIdocs/Python_SDK.md
C++ product guidedocs/CPP_SDK.md
Package readmeREADME.md