Urgent.News

What's breaking now, across thousands of outlets.

AI

From API to GPU, Week 6 (Part 1): A Model That Predicts, and How Wrong It Is

Phase 2 of 8: Enough ML to understand inference. Week 6 of 32, part 1 of 2. Every week so far, the model already existed. I ran Phi-4, read Qwen's files, and measured tensors, but I never made a model learn anything. This week I build one from scratch and train it. That is a lot for one sitting, so I split the week into two posts and go slowly. The goal: the model starts with a random weight and…

The article discusses a simple one-neuron linear model designed to predict Celsius to Fahrenheit conversions. This model starts with randomly assigned weights and biases, which are essentially incorrect initial guesses. The training process involves adjusting these weights and biases iteratively to minimize the difference (error) between the predicted and actual Fahrenheit values.

The first post focuses on building this basic model and explaining how it makes predictions and measures the errors. The core concept is a forward pass, where input Celsius values are processed through the model to produce predictions. Initially, the weights and biases are random, resulting in nonsensical predictions. The article provides an example of converting Celsius values to Fahrenheit using the true formula: F = C * 1.8 + 32.

The model uses this formula to construct the correct answers (labels) for six pairs of Celsius and Fahrenheit values.

The key takeaway is that the model learns by comparing its predictions with the actual values and adjusting its internal parameters (weight and bias) to reduce the error. This learning process involves making a guess (forward pass), measuring the error (loss), determining how to adjust the parameters, and taking a small step in that direction.

This loop of prediction and adjustment continues until the model's predictions closely match the actual values. The article emphasizes that this explanation is focused on the prediction and error measurement aspects, with the actual learning process covered in the subsequent post.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Inside Vi: An AI Organism Built Without a Rented LLM

Vi is an experiment against rented minds. Numpy tissue. A C++ Broca is the only thing allowed to speak. Memory is not a context window. Routing is scores. Speech is Broca. “Should I?” compares two live numbers — curiosity against pain — not a cutoff the author liked that morning.

From API to GPU, Week 6 (Part 2): Watching a Neural Network Learn

Phase 2 of 8: Enough ML to understand inference. Week 6 of 32, part 2 of 2. Part 1 built a one-neuron model that converts Celsius to Fahrenheit, made it predict, and scored how wrong it was with a…

  • Neural network learning involves weight and bias adjustments
  • Loss is minimized through gradient computation
  • Optimizer updates occur during training loop stages

Agentic AI Is Mostly Marketing. Memory Is the Part That's Real.

Open any 'agentic AI' repo trending on GitHub this month and you'll find the same shape: a while loop, a tool-calling wrapper, a retry policy, and a system prompt that says 'you are an autonomous agent.' Strip the prompt out and what's left is a script. A good script, sometimes — but a script.

  • Most "agentic AI" in 2026 is automation with chat interface, not truly agentic.
  • Memory allows systems to change behavior over time without human intervention.
  • Many projects add memory as an afterthought, resulting in plateaued performance.

More from Saturday 5 September →