newron.log_params()


newron.log_params(params: Dict[str, Any]) → None

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

Parameters

  • params – Dictionary of param_name: String -> value

Returns -> None

Example

import newron
#USER CODE
params = {"learning_rate": 0.01, "n_estimators": 10}

# Log a batch of parameters
with newron.start_run():
    newron.log_params(params)