ExperimentSettings.CancellationToken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cancellation token for the AutoML experiment. It propagates the notification that the experiment should be canceled.
public System.Threading.CancellationToken CancellationToken { get; set; }
member this.CancellationToken : System.Threading.CancellationToken with get, set
Public Property CancellationToken As CancellationToken
Property Value
Remarks
An experiment may not immediately stop after cancellation. This is because once AutoML starts training an ML.NET model, AutoML lets the model train to completion. For instance, if the first model AutoML trains takes 4 hours, and the second model trained takes 5 hours, but cancellation is requested after 6 hours, the experiment will stop after 4 + 5 = 9 hours (not 6 hours).