---
title: "Loss curve animated icon"
description: "Loss curve animated icon (Model training & fine-tuning). Training lowers the loss. Light: the latest loss point drops ten units in one move and stops dead, the trace bending down with it, while a faint copy of the old point stays behind for a moment and fades, showing how far it fell. Strong: two training steps: the point drops most of the way, pauses, then drops the rest; the old point lingers longer. The loss is data and never overshoots; the axes never move."
canonical: https://generativeicons.lottiefiles.com/icons/loss-curve/
---

# Loss curve animated icon

Training lowers the loss. Light: the latest loss point drops ten units in one move and stops dead, the trace bending down with it, while a faint copy of the old point stays behind for a moment and fades, showing how far it fell. Strong: two training steps: the point drops most of the way, pauses, then drops the rest; the old point lingers longer. The loss is data and never overshoots; the axes never move.

- Id: `loss-curve`
- Category: Model training & fine-tuning
- Search terms: training loss, validation loss, loss function, cost function, error curve, learning curve, loss graph, loss plot, loss chart, training curve, minimize error, model loss
- Two states: high-loss to lower-loss, 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.lottiefiles.com/assets/loss-curve.lottie (dotLottie, 5597 bytes, sha256 2dc89670ceee8a4149dac5c9b4ff03d8c28bbe5e7e384aee14813d235b1facd5)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add loss-curve
```

## React

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

export function LossCurveIcon() {
  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/loss-curve.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.lottiefiles.com/icons/loss-curve/ · https://generativeicons.lottiefiles.com/api/icons/loss-curve
