Muhammad Faheem·Nov 3One-Hot vs. Ordinal Encoding: How to Prepare Categories for Machine LearningChoose an encoding that matches what your categories mean, and keep its mapping consistent from training data to new examples.
Muhammad Faheem·Nov 2Preparing Features for Machine Learning with Python: Scaling and EncodingLearn how to put numeric features on comparable scales and turn categories into model-ready values without losing their meaning.
Muhammad Faheem·Oct 27Exploratory Data Analysis with Python: How to Explore Data Before Machine LearningUse a few focused questions, summaries, and visualizations to understand what a dataset can — and cannot — tell you before modeling.
Muhammad Faheem·Oct 26Where Does Machine Learning Data Come From? APIs, Files, SQL, and Web ScrapingBefore choosing a model, find out where the data lives, whether it covers the problem you care about, and how to turn it into a usable…
Muhammad Faheem·Oct 24How Much Memory Does Video Data Need? A Tensor Shape ExampleA short calculation shows how video frames, resolution, color channels, batches, and data type determine a tensor’s in-memory size.A response icon1A response icon1
Muhammad Faheem·Oct 23Tensor Shape, Rank, and Size Explained With NumPyStart with one number, then build up to the arrays machine learning uses. A few small NumPy examples make tensor rank, shape, and size…
Muhammad Faheem·Oct 20How to Turn a Business Goal Into a Machine Learning ProblemA customer churn example shows how to move from a broad business goal to a useful prediction task — and why a prediction alone is not a…
Muhammad Faheem·Oct 18Overfitting vs. Underfitting: Understanding Model Complexity with PythonA simple polynomial regression example shows why fitting training data closely does not always lead to better predictions.