ImageClassificationTrainer.EarlyStopping 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public EarlyStopping (float minDelta = 0.01, int patience = 20, Microsoft.ML.Vision.ImageClassificationTrainer.EarlyStoppingMetric metric = Microsoft.ML.Vision.ImageClassificationTrainer+EarlyStoppingMetric.Accuracy, bool checkIncreasing = true);
new Microsoft.ML.Vision.ImageClassificationTrainer.EarlyStopping : single * int * Microsoft.ML.Vision.ImageClassificationTrainer.EarlyStoppingMetric * bool -> Microsoft.ML.Vision.ImageClassificationTrainer.EarlyStopping
Public Sub New (Optional minDelta As Single = 0.01, Optional patience As Integer = 20, Optional metric As ImageClassificationTrainer.EarlyStoppingMetric = Microsoft.ML.Vision.ImageClassificationTrainer+EarlyStoppingMetric.Accuracy, Optional checkIncreasing As Boolean = true)
参数
- minDelta
- Single
- patience
- Int32
- checkIncreasing
- Boolean