{
  "id": "loss-function.machine-learning",
  "term": "loss function",
  "sense": "machine-learning",
  "pos": "noun",
  "status": "review",
  "level": 23,
  "domain": "machine learning",
  "style": null,
  "definition": "A rule that gives a number for how much a model's output differs from the true value, so that training can make that number less.",
  "folk_gloss": null,
  "emergence": {
    "components": [
      "model.representation",
      "output.outgoing",
      "error.mistake",
      "measurement.quantitative",
      "number.quantity",
      "training.skill"
    ],
    "interaction": "A model's output is compared with the true value, and the difference is measured as a single number that training then works to make smaller.",
    "novel_properties": [
      "a single number that scores how wrong a model is",
      "a direction for improving the model",
      "a goal a machine can learn toward"
    ]
  },
  "examples": [],
  "relations": [
    {
      "id": "measurement.quantitative",
      "type": "is-a",
      "note": "It is a measure of how far predictions are from true values."
    },
    {
      "id": "training.skill",
      "type": "enables",
      "note": "Training changes a model to make this number smaller."
    }
  ],
  "used_by": [
    "gradient-descent.optimization",
    "loss-curve.machine-learning",
    "training-loss.machine-learning"
  ],
  "forms": [
    "loss function",
    "loss functions"
  ],
  "closed": true,
  "provenance": {
    "author": "claude:claude-opus-5-5",
    "date": "2026-12-01",
    "confidence": 0.6
  },
  "canonical": "https://emergencemachine.com/tools/lexicon/what-is-the-meaning-of-loss-function.machine-learning"
}