Update website/docs/Use-Cases/Tune-User-Defined-Function.md

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
This commit is contained in:
Anonymous-submission-repo 2022-10-14 22:51:50 -04:00 committed by GitHub
parent 1683956559
commit 30520da559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -528,8 +528,8 @@ In the following example, we want to minimize `val_loss` and `pred_time` of the
```python
lexico_objectives = {}
lexico_objectives["metrics"] = ["val_loss","pred_time"]
lexico_objectives["pred_time"] = ["min","min"]
lexico_objectives["metrics"] = ["val_loss", "pred_time"]
lexico_objectives["pred_time"] = ["min", "min"]
lexico_objectives["tolerances"] = {"val_loss": 0.02, "pred_time":0.0}
lexico_objectives["targets"] = {"val_loss": -float('inf'), "pred_time": -float('inf')}