---
title: "Early stopping animated icon"
description: "Early stopping animated icon (Model training & fine-tuning). Training is stopped where the loss flattens. Light: the stop block drops thirteen units onto the end of the flat loss trace and slams down with a hit; the trace gives under it and springs back, and the block rebounds a little and settles on the plateau. Strong: the block lifts first, drops harder, bounces once and lands again, and the trace gives under each impact. The axes never move; the block stays down on the plateau."
canonical: https://generativeicons.com/icons/early-stopping/
---

# Early stopping animated icon

Training is stopped where the loss flattens. Light: the stop block drops thirteen units onto the end of the flat loss trace and slams down with a hit; the trace gives under it and springs back, and the block rebounds a little and settles on the plateau. Strong: the block lifts first, drops harder, bounces once and lands again, and the trace gives under each impact. The axes never move; the block stays down on the plateau.

- Id: `early-stopping`
- Category: Model training & fine-tuning
- Search terms: stop training, halt training, end training, patience, plateau, loss plateau, stopping criterion, training callback, prevent overfitting, stop run
- Two states: monitoring to stopped-at-plateau, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/early-stopping.lottie (dotLottie, 5383 bytes, sha256 3fbeb0ed60fcd8c9825b082d7450c9f789c2505efad6dfc4a2e4e912e2811c07)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add early-stopping
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/early-stopping.mjs';

export function EarlyStoppingIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/early-stopping.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/early-stopping/ · https://generativeicons.com/api/icons/early-stopping
