Cookie Consent
Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.
Read our Privacy Policy


In the context of machine learning, a weight is a parameter within a neural network that transforms input data within the network's layers. Weights are adjusted during the training process to minimize the loss function.

How Weights Influence Learning

Weights in a neural network determine the importance of input features and how they impact the network's output. The process of learning involves updating these weights based on the gradient of the error with respect to each weight, typically using backpropagation.

Lakera LLM Security Playbook
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

Related terms
untouchable mode.
Get started for free.

Lakera Guard protects your LLM applications from cybersecurity risks with a single line of code. Get started in minutes. Become stronger every day.

Join our Slack Community.

Several people are typing about AI/ML security. 
Come join us and 1000+ others in a chat that’s thoroughly SFW.