dotnet / dotnet/docs

AutoMLMonitor example class does not compile

Open
#41,509 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-ml/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### Type of issue

Code doesn't work

### Description

[Enter feedback here]
In the example code for AutoMLMonitor on [this help page](https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/how-to-use-the-automl-api) under the section Configure Experiment Modelling, the code does not compile and shows
an error at this line:
`public IEnumerable GetCompletedTrials() => _completedTrials;`

"The name '_completedTrials' does not exist in the current context.

### Page URL

https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/how-to-use-the-automl-api

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/machine-learning/how-to-guides/how-to-use-the-automl-api.md

### Document Version Independent Id

80ed0d4d-63d3-49f0-ae42-d1f132137352

### Article author

@luisquintanilla

### Metadata

* ID: c3bb37d9-1c4d-5d5f-2ed6-2ef77f2cd627
* Service: **dotnet-ml**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.