Aabha AI Academy All articles

Articles

Practical explanations with worked examples and questions to try.

29 articles.

Why Your Scaler Must Learn from Training Data Only

One small ruler shows how test data can quietly change the inputs used to train a model.

SQL window functions and GROUP BY with running totals

Keep each reading session visible while calculating a separate running total for every student.

Python generators do one piece at a time

Watch when Python prepares a value and what an exhausted stream leaves for its next consumer.

How One Threshold Changes Precision and Recall

A photography club review queue makes precision and recall visible at three different cutoffs.

SQL NULL and COUNT explained with a club survey

Five reading-club responses show why counting rows, answers and different values produces different results.

Valid JSON can still be the wrong answer

Three checks for an AI-produced workshop record: readable JSON, the agreed structure, and agreement with the original note.

WHERE and HAVING answer different questions

Eight fictional lessons show why filtering a lesson differs from filtering a subject total.

Understand shallow and deep copies of nested Python lists

A picnic plan reveals which lists are shared after assignment, a shallow copy and a deep copy.

Use Decimal with an explicit receipt rounding rule

Two discounted prices explain why the rounding rule includes both how and when to round.

Turn an AI explanation into a retrieval practice session

An explanation can feel clear while it is on the screen. A more useful check is what you can explain or solve after you close it. When studying with AI, build that closed-book attempt into the session instead of requesting another explanation immediately.

Make a retry safe before you repeat a request

A timeout can hide a successful operation. Learn what idempotency protects, how a request key identifies one intention, and when repeating a request could create a duplicate.

Use a baseline before you build a forecasting model

Before choosing a forecasting algorithm, write down a prediction rule simple enough to calculate by hand. It gives the eventual model a concrete comparison and helps expose mistakes in the evaluation.

Which prompt gives you a more useful email?

Compare two instructions for the same email, then check which draft preserves the facts and suits its reader.

Read a chart before you repeat its claim

A chart can contain correct numbers and still give you an exaggerated first impression. Before repeating its headline, recover the comparison in a sentence: what was measured, for whom, over which period, and in what units?

How a SQL join quietly multiplies your totals

Two correct joins can produce an incorrect total. Follow two child tables through a four-row expansion, then fix the report by aggregating each child first.

Give an AI Assistant Clear Tool Boundaries

Start with an assistant that can prepare a useful draft and stop. A small fictional workshop example shows how to separate model suggestions, application checks, and human approval before adding tools that change the world.

Test an API Before You Trust It

A small automated test can catch a broken response before a user does. Build a tiny FastAPI service, then check its happy path, rejected inputs, and boundary values with repeatable tests.

Evaluate AI Written Summaries with a Simple Scoring Rubric

Use factuality, coverage, and attribution to accept, revise, or reject an AI summary.

Is Your Dataset Ready for Machine Learning

Check labels, leakage, missingness, and splits before a first machine-learning experiment.

SQL Joins Explained with a Small Practice Dataset

Practice SQL joins and count paid orders while preserving customers with no matches.

Clean a Messy CSV with Python A Reproducible First Project

Build and test a Python CSV cleaner that keeps valid records and explains review decisions.

Why AI Gives Confident Wrong Answers and How to Check Them

Verify claims, citations, quantities, and conditions before using a fluent AI answer.

Turn Sample Meeting Notes into an Action List with AI

Extract owners, deadlines, dependencies, and unresolved proposals from synthetic meeting notes.

Before You Paste Work Data into AI

Check permission, minimize work data, and choose a safer input before using an AI tool.

Before you build an API, write the request contract

Decide what a request must contain, what the server owns and what should happen when the input is unsuitable.

When RAG helps and where it can fail

Retrieval can give an AI answer relevant source material. You still need to check which evidence was found and how the answer used it.

Accuracy is not the whole evaluation

A model can get almost every prediction right and still miss the cases you built it to find. Learn to read the errors behind the score.

What your data can and cannot tell you

Separate a finding about your records from a claim about other people or what caused the result.

Turn a vague prompt into a clear task

Give an AI tool enough context to produce something you can inspect. Start by defining the result you need and how you will judge it.