modified: tracking_quickstart.ipynb
This commit is contained in:
parent
dcdc62113e
commit
d777c967ed
@ -107,7 +107,7 @@
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## 将模型、超参及其损失矩阵记录到 MLflow\n",
|
||||
"## 将模型、超参及其损失指标记录到 MLflow\n",
|
||||
"\n",
|
||||
"为了记录我们的模型和拟合模型时使用的超参数,以及与根据保留数据验证拟合模型相关的指标,我们使用 `mlflow.start_run()` 启动一个 MLflow 上下文。在该上下文的作用域内,我们可以调用 Fluent API(例如`mlflow.log_params()`或`mlflow.sklearn.log_model()`)记录数据。\n"
|
||||
]
|
||||
@ -123,7 +123,7 @@
|
||||
" # 记录超参\n",
|
||||
" mlflow.log_params(params)\n",
|
||||
"\n",
|
||||
" # 记录损失矩阵\n",
|
||||
" # 记录指标\n",
|
||||
" mlflow.log_metric(\"accuracy\", accuracy)\n",
|
||||
"\n",
|
||||
" # 设置一些标签(便于搜索、管理)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user