Sitemap
Cubed

Leading publication exploring AI, Crypto, Web3, and the next generation of the internet.

Member-only story

The Ultimate Guide to Validation Sets in Machine Learning Optimization

7 min readAug 17, 2025

--

How Do Validation Sets Improve Machine Learning Model Optimization?

When I first started working with machine learning models, I quickly realised that simply training on all available data wasn’t enough. The question I kept asking myself was: how do validation sets improve machine learning model optimization? The answer lies in their ability to help us fine-tune models without peeking at the test data, preventing overfitting and guiding us to better generalisation. This realisation transformed my approach to building models, turning guesswork into a more scientific process.

I remember the moment vividly — I was training a model for image classification, and despite great training accuracy, the model failed miserably on new images. It was frustrating. Then, I learned about validation sets and how they act as a checkpoint during training. This small subset of data became my secret weapon, allowing me to adjust hyperparameters like learning rate and regularisation strength effectively. The result? A…

--

--

Shailendraa Kumar
Shailendraa Kumar

Written by Shailendraa Kumar⁠

Data wiz with 30 years of Artificial Intelligence / Machine Learning mastery generating $6B+ value! Best-selling author & global speaker, turning data into gold

Cubed
Cubed

Published in Cubed

Leading publication exploring AI, Crypto, Web3, and the next generation of the internet.