<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/LinearTimeSeriesForecasterConfiguration/earlyStoppingTolerance",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents39LinearTimeSeriesForecasterConfigurationV22earlyStoppingToleranceSfvp"
  },
  "title" : "earlyStoppingTolerance"
}
-->

# earlyStoppingTolerance

The early-stopping tolerance.

```
var earlyStoppingTolerance: Float
```

## Discussion

The tolerance is used by the `fitted` method to decide when progress is no longer being made, in which case the
training process will stop before the specified maximum number of iterations (known as early stopping).
Significant progress happens when the validation loss decreases by at least the tolerance.

Defaults to 0.01.

> Note: Early stopping only happens when using the `fitted` method with validation data.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)