Pakistan's Best Exam Prep Blog

Expert guides on MDCAT, ETEA, FSC, NUST/GIKI/PIEAS, AI for students, and the best ways to study and score high

 4 new articles every week

No articles match your search. Try a different keyword or category.

Flat illustration of a measuring scale with a ruler, a bar chart and a two-by-two grid of coloured squares
Learn AI · Session 04 13 min read

Model Evaluation Metrics

How to judge a model honestly. Regression errors, the confusion matrix, and why accuracy alone can lie to you.

Flat illustration of a control panel with sliders and dials next to a small loss curve
Learn AI · Session 05 14 min read

Hyperparameters and Tuning

The dials you set before training, how epochs and learning rate change the result, and how to tune without cheating.

Flat illustration of a small ball rolling down a smooth hill into a valley with footprints marking each step
Learn AI · Session 07 12 min read

Gradient Descent Family

The algorithm that trains every neural network. The update rule, the three variants and the optimisers built on top.

Flat illustration of colourful dots grouping into clusters on the left and a small three-layer network of connected circles on the right
Learn AI · Session 09 14 min read

Clustering and ANN Basics

Finding groups when nobody gave you labels, then the building blocks of an artificial neural network.

Flat illustration of a simple branching decision tree with a root box, two branches and small leaf circles in two colours
Learn AI · Session 11 12 min read

Decision Tree

The most readable model in machine learning. How a tree picks its questions, and why a single deep tree memorises.

Flat illustration of many small trees in a row with a larger tree behind them, symbolising a forest
Learn AI · Session 12 12 min read

Random Forest

Why hundreds of unreliable trees voting together beat one careful tree, shown with real numbers.

Flat illustration of a staircase of small bars climbing upward, each step slightly taller than the one before
Learn AI · Session 13 14 min read

Boosting Algorithms and XGBoost

Trees that learn from each other's mistakes. Gradient boosting built from scratch, XGBoost with early stopping, and the vocabulary of RL.

Flat illustration of two groups of dots separated by a wide street with dashed edges and a few circled dots touching the edges
Learn AI · Session 14 12 min read

Support Vector Machines (SVM)

The model that looks for the widest street between two classes, and the trick that lets it bend.

Flat illustration of several different shaped pieces fitting together into one circle
Learn AI · Session 15 11 min read

Ensemble Learning Techniques

Combine models for stability and accuracy, with the maths of why it works, an honest benchmark and when it is not worth it.

Flat illustration of a small square window sliding over a grid of pixels with a smaller grid of feature values beside it
Learn AI · Session 16 13 min read

CNN Fundamentals

How a network learns to see. Filters, feature maps and pooling, then a small CNN that reads handwritten digits.

Flat illustration of a street scene made of simple shapes with rectangular boxes drawn around a bus and three standing figures
Learn AI · Session 17 11 min read

Optional Deep Dive: YOLO for Vision

A CNN that tells you what is where, in a single fast pass. Run a pre-trained YOLO model and learn how its boxes are scored.

Flat illustration of a chain of identical small boxes connected by arrows passing a glowing dot from one to the next
Learn AI · Session 18 12 min read

RNN Fundamentals

Networks with memory for text and time series. How the hidden state works, and the experiments that show where it breaks.

Flat illustration of a long horizontal conveyor belt carrying a small box past three gate-like switches above and below it
Learn AI · Session 19 14 min read

LSTM

The recurrent cell with a protected memory line. Every gate computed by hand, with honest tests of what it does and does not fix.

Flat illustration of a row of word tokens with curved lines connecting every token to every other token
Learn AI · Session 20 19 min read

Transformers and Architecture

The architecture behind every modern AI chatbot, built up from tokens to attention, with GPT-2 running real code.

Flat illustration of a tall stack of layered blocks with a small chat bubble on top and a gauge showing memory
Learn AI · Session 21 16 min read

LLMs and Inference via Provider APIs

How a Transformer becomes an LLM, what the memory maths looks like, how quantization and LoRA work, and the shape of an API call.

Flat illustration of a stack of documents with a magnifying glass pulling one page out toward a speech bubble
Learn AI · Session 22 14 min read

RAG and Types

Give an LLM your own documents without retraining it. A complete pipeline you can run, with honest results for dense, keyword and hybrid search.

Flat illustration of a laptop with a small chat bubble on its screen and a memory chip icon beside it
Learn AI · Session 23 10 min read

llama.cpp: Running LLMs on CPU

A real 1.5-billion-parameter model running on a laptop with no GPU. What the file is, how fast it goes, and why threads do not always help.

Flat illustration of a speech bubble connected by arrows to a small toolbox containing a calculator, a cloud and a database icon
Learn AI · Session 24 11 min read

Tool / Function Calling

How a model that only produces text can check the weather or query a database. A real round trip, and the ways it goes wrong.

Flat illustration of a single universal plug connecting a laptop-shaped app to several different tool icons
Learn AI · Session 25 11 min read

MCP (Model Context Protocol)

One open standard for plugging tools and data into any AI app. A working server, a client, and the raw messages between them.

Flat illustration of connected pipe segments carrying small blocks between a model, a document stack and a toolbox
Learn AI · Session 26 10 min read

Frameworks: LangChain and LlamaIndex

The plumbing frameworks for LLM apps. Run a real chain and a real index on a local model, and learn when each framework earns its place.

Flat illustration of a small flow graph of connected nodes with a loop arrow, a pause symbol and a bookmark flag
Learn AI · Session 27 10 min read

LangGraph and LangSmith

Workflows with loops, memory and crash recovery. Run a graph that retries, survives a crash, pauses for approval, and see what tracing records.

NUST / GIKI / PIEAS Coming Soon

NUST NET Preparation Guide 2025: How to Score in Top 3%

Paper pattern, subject breakdown, how NET is scored, and the preparation strategy that gets students into NUST. From someone who scored in the top 3%.

More articles dropping every week.
We publish 4 new guides per week on MDCAT, ETEA, FSC, NUST/GIKI/PIEAS, AI, and study techniques.