NumPy defaults to float64 on modern systems. It can sometimes be convenient to decrease precision to float32 to limit the memory footprint and speed up calculations, or to increase it to float128 for precise calculations. This PR used a few hacks to keep the code as clean as possible. Please double-check and test all calculations, as I reordered some elements and modified many.
Specifying a type is optional and can be achieved by adding parameter dtype to the CRFMNES constructor:
NumPy defaults to float64 on modern systems. It can sometimes be convenient to decrease precision to float32 to limit the memory footprint and speed up calculations, or to increase it to float128 for precise calculations. This PR used a few hacks to keep the code as clean as possible. Please double-check and test all calculations, as I reordered some elements and modified many.
Specifying a type is optional and can be achieved by adding parameter
dtype
to theCRFMNES
constructor:For convenience, a Dockerfile and updated dependencies are also provided.