mojolearn.numeric_mode#

mojolearn.numeric_mode()[source]#

The current default numeric mode of this process.

Returns:

{“identical”, “deterministic”, “fast”} – The mode estimators use when they are not given numeric_mode= (see mojolearn.set_numeric_mode()). Where the loaded binaries report their compiled mode, it is checked against this answer.

Raises:

RuntimeError – If a loaded binary was compiled for a different mode than the one selected (a broken install).

Examples

>>> import mojolearn
>>> mojolearn.numeric_mode()
'identical'