newron.autolog


newron.autolog(log_models=True, disable=False, exclusive=False, disable_for_unsupported_versions=False, silent=False, registered_model_name=None)

Enables (or disables) and configures autologging to newron. Logs loss and any other metrics specified in the fit function, and optimizer data as parameters. Model checkpoints are logged as artifacts to a ‘models’ directory.

Parameters

  • log_models – If True, trained models are logged as newron model artifacts. If False, trained models are not logged.
  • disable – If True, disables the scikit learn autologging integration. If False, enables the scikit learn autologging integration.
  • exclusive – If True, autologged content is not logged to user-created fluent runs. If False, autologged content is logged to the active fluent run, which may be user-created.
  • disable_for_unsupported_versions – If True, disable autologging for versions of scikit learn that have not been tested against this version of the newron client or are incompatible.
  • silent – If True, suppress all event logs and warnings from newron during scikit learn autologging. If False, show all events and warnings during scikit learnn autologging.
  • registered_model_name – If given, each time a model is trained, it is registered as a new model version of the registered model with this name. The registered model is created if it does not already exist.

Example

import newron

# USER CODE

newron.autolog()