Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/en/docs/components/katib/experiment.md
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ To define the metrics collector for your experiment:

1. Write code in your training container to print or save to the file metrics in the format
specified in the `.source.filter.metricsFormat`
field. The default format is `([\w|-]+)\s*=\s*((-?\d+)(\.\d+)?)`.
field. The default format is `([\w|-]+)\s*=\s*([+-]?\d(\.\d+)?([Ee][+-]?\d+)?)`.
Each element is a regular expression with two subexpressions. The first
matched expression is taken as the metric name. The second matched
expression is taken as the metric value.
Expand All @@ -841,12 +841,12 @@ To define the metrics collector for your experiment:

```shell
epoch 1:
loss=0.3
loss=3.0e-02
recall=0.5
precision=0.4

epoch 2:
loss=0.2
loss=1.3e-02
recall=0.55
precision=0.5
```
Expand Down