newron.log_param()


newron.log_param(key: str, value: Any) → None

Log a model parameter under the current run. If no run is active, this method will create a new active run.

Parameters

  • key – Parameter name (string). This string may only contain alphanumerics, underscores (_), dashes (-), periods (.), spaces ( ), and slashes (/). All backend stores support keys up to length 250, but some may support larger keys.
  • value – Parameter value (string, but will be string-ified if not). All backend stores support values up to length 500, but some may support larger values.

Example

import newron
#USER CODE
newron.log_param("learning_rate", 0.01)