mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-17 08:29:28 +00:00
Improve notebook wording (#18472)
This commit is contained in:
parent
1eec67e8fe
commit
1cdb813196
@ -400,12 +400,12 @@
|
|||||||
"id": "1cc51d0a-4982-4ff9-89c1-b294d5cce8f6",
|
"id": "1cc51d0a-4982-4ff9-89c1-b294d5cce8f6",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"#### Aggregate Evaluators\n",
|
"#### Batch Evaluators\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Some metrics are only performed in aggregate or full \"test session\" level. These could be simple \n",
|
"Some metrics are aggregated over a full \"test\" without being assigned to an individual runs/examples. These could be as simple \n",
|
||||||
"classification metrics like Precision, Recall, or AUC, or other custom metrics.\n",
|
"as common classification metrics like Precision, Recall, or AUC, or it could be another custom aggregate metric.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"You can define any custom metric on an aggregate level using a callable that accepts a list of Runs (system traces) and list of Examples (dataset records)."
|
"You can define any batch metric on a full test level by defining a function (or any callable) that accepts a list of Runs (system traces) and list of Examples (dataset records)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -476,7 +476,7 @@
|
|||||||
" normalize_by=10,\n",
|
" normalize_by=10,\n",
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" ],\n",
|
" ],\n",
|
||||||
" aggregate_evaluators=[max_pred_length],\n",
|
" batch_evaluators=[max_pred_length],\n",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user