ammm.prepro.scaler¶
This module provides the SerializableScaler class, a custom scaler implementation that supports serialization and deserialization, and is designed to work with JAX arrays (or their NumPy equivalents when JAX is mocked).
MagicMock is a subclass of Mock with default implementations of most of the magic methods. You can use MagicMock without having to configure the magic methods yourself.
If you use the spec or spec_set arguments then only magic methods that exist in the spec will be created.
Attributes and the return value of a MagicMock will also be MagicMocks.