Release notes¶
Version 1.2¶
New features¶
Online transform mode allows a large speedup when running transform on single vectors, or small batches (<100 vectors). To use it, add
online=True
to the new OPU fit1d/fit2d methods. On single vectors the speedup is more than 70x with regards toonline=False
.Add fit/transform methods. The new
fit1d
/fit2d
methods allow the OPU transform to be fit first before transform. They accept in parameters either the number of features, or input vectors.The transform method is called without 1d/2d variants, the choice for number of input dimensions going to the
fit1d
/fit2d
methods.Add a
fit
toOPUMap
objects inlightonml.projections.sklearn
andlightonml.projections.torch
.
Minor changes¶
Context metadata with information on the transform is now an attribute of the output array
Internal optimizations speed up transform by ~5 %
Add new verbose level (0 to 3, 3 being the most verbose), and set it at a global level with lightonopu.set_verbose_level()
Allow transform settings to be overridden in the fit1d/fit2d methods (for advanced usage)