LightOnML is a high level machine learning-oriented library that allows to control LightOn’s present and future Optical Processing Units (OPUs). Our current product performs nonlinear random projections using light. LightOn’s OPUs are available through LightOn’s Cloud service.

The library is developed for Python 3, with interfaces for scikit-learn and pytorch to offer to ML researchers and practitioners a familiar and user-friendly environment.

The companion lightonopu library offers a general interface to the OPU, through the OPU class, with compatibility with NumPy arrays and PyTorch tensors.