
A support agent takes a call from an unhappy customer. Her assistant shows a churn risk score and drafts a retention offer that quotes the company's own policy. You will see that assistant first, then learn how the course builds it, so you can change it, test it and explain it.
Learn how to study so the skills stick. Watching alone does not build skill, while pausing, typing the code and fixing what breaks does.
Sort out what the word AI really covers. AI is a family of techniques, and machine learning learns rules from data instead of being given them.
Watch a spam filter learn, one step at a time. A model is a function whose settings are learned from examples, and training adjusts those settings until mistakes shrink.
Tell predictive and generative AI apart by the request each one answers. Predictive AI answers "which one", and generative AI answers "make me one". You see both applied to one NimbusTel customer.
Follow the ideas behind today's AI, from the 1958 perceptron to modern language models. The thread that links them is weights learned from examples, made practical by more data and faster hardware.
Understand what a large language model really does. It predicts plausible text, and plausible is not the same as true, which is how it can sound sure and still be wrong.
Get a snapshot of today's AI models, plus a way of choosing between them that will outlast the names. Pick models by task, cost and data rules, because the names change every few months.
Decide which tasks suit AI and which do not. Use AI where errors are cheap to catch or where it helps a person, and keep a human in charge where mistakes are costly.
Set up your free coding lab in the browser. You will create and run a Colab notebook, see why run order matters, and switch to a GPU when you need one.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
See why one language sits behind so much AI work. You write short Python that says what should happen, and fast libraries underneath do the heavy lifting.
Write your first Python by describing a NimbusTel customer in code. No experience is needed, and if you already know Python you can skim this one and jump to the exercise.
Both the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Teach your code to make decisions, repeat work and survive messy data, with a high, medium or low risk label as the goal. If you already write Python, skim this one and try the exercise.
if, elif and elsetry and exceptThe lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Borrow other people's code instead of writing everything yourself. You will install a package, bring in modules, save data to files, and write your first class, including one that learns.
%pip and importing modules three ways__init__, attributes and methodsThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Find out why a NumPy array beats a Python loop. In the NimbusTel billing example, one line gave the same answer as a loop and ran about twenty times faster on the test machine.
Build, slice and filter NumPy arrays, then compute every NimbusTel bill in a single line. You finish by timing a Python loop against vectorised code.
np.where and broadcasting@Both the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Meet the DataFrame, the table that holds text, whole numbers and decimals together. It is a table of typed columns that you transform with code, so the steps can be rerun next month.
Load NimbusTel's customer export and inspect it from several angles before anyone builds a model. Along the way you will find a problem that would break any model built on it.
head, info and describe for a first lookloc and iloc, and filtering rows with masksThe lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Clean NimbusTel's data in a way you can justify, then turn it into answers. A model learns whatever numbers you give it, so careless fixes become careless models.
groupby, sorting, and merging with a safety checkThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Draw the charts a monthly NimbusTel review needs, and learn the habits that keep a chart honest. Matplotlib gives full control, and Seaborn draws common charts in one line.
fig, ax = plt.subplots() patternBoth the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Train your first models with just three verbs. Every scikit-learn model uses fit, predict and score, so swapping one model for another changes a single line.
train_test_splitThe lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Put the module's tools to work on one real question: does the way NimbusTel customers pay say anything about whether they leave. You follow five steps from question to written insight.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
See why most machine learning projects fail in the workflow, not the algorithm. A NimbusTel team built a churn model that scored brilliantly in a notebook, then went live and flagged customers who had already called to cancel.
Learn why we hold data back. A model is only as good as its score on data it never saw, just as a student who memorises the practice questions proves little about a new problem.
Spot data leakage before it fools you. A NimbusTel churn model reached ninety-nine percent accuracy by leaning on a column that only exists after a customer cancels. If a score looks too good, hunt for leakage first.
Understand linear regression through a simple rule for pricing a flat: a base amount plus a fixed amount for every extra square foot. You see how training finds the best weights.
Build a price estimator with linear regression on California housing data. You will read what each weight means and see where a straight line breaks down.
LinearRegression and reading its coefficients and interceptBoth the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Judge a regression model fairly. A typical miss of about fifty-three thousand dollars means little on its own, so you meet three metrics and the one reference point every model needs: a dumb baseline.
See how a classifier turns customer data into a decision. It outputs a probability, and a threshold that you choose turns that probability into a yes or no.
Build the model that lists which NimbusTel customers are likely to leave. A do-nothing baseline scores seventy-three percent accuracy while catching no churners, so you see why accuracy alone can fool you.
LogisticRegression and comparing it with the baselineThe lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Learn to look past accuracy. A churn model that predicts nobody leaves still scores seventy-three percent, so you choose the metric that matches the cost of each mistake.
Decide who gets a retention offer, using numbers. You will price each kind of mistake, choose a threshold on validation data, and confirm it once on the test set.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Handle a rare class that a model tends to under-flag. You will tell a churn model that churners matter, then measure what that does to recall, precision and ROC AUC.
class_weight="balanced" fixBoth the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Meet two models with very different habits. Some learn a rule, like a boundary between groups, while others simply compare each new case with its neighbours. You also see how they did on NimbusTel data.
Discover how a model learns the kind of flowchart an experienced retention manager keeps in her head. A tree is a flowchart learned from data. It takes seconds, and the result is written down for everyone.
See why many weak opinions, combined well, beat one strong guess. Averaging many varied trees cancels out their mistakes, and boosting stacks small trees that each correct the last.
Test the claim that tree models win on business tables, using NimbusTel's own customers. Your logistic regression sets the score to beat.
The lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Tell two opposite failures apart, then find the setting between them. Underfitting misses the pattern and overfitting memorises the noise, so aim for the simplest model that captures the pattern.
The notebook behind the lecture's charts is attached as a resource, to open in Google Colab if you want to explore it.
Find out whether your winning model really wins. One validation split can swing on luck alone, so you will steady it with cross-validation, tune three models and open the test set exactly once.
GridSearchCV and RandomizedSearchCV inside a pipelineThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Learn why careful features often lift a simple model further than a fancier one. You see how raw NimbusTel columns are reshaped so a model can read them.
Package a churn model so it can leave the notebook. You will bundle the preparation steps and the model into one object, save it, reload it and score a raw customer record.
ColumnTransformer and Pipeline that fit once and predict on raw datajoblibBoth the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Find out what you can learn when there are no labels at all. Unsupervised learning finds groups and patterns you did not label, like the kinds of customers NimbusTel has.
Turn seven thousand customers into a handful of named groups, each with an action the retention team can use. Nobody labelled these groups, so this is unsupervised learning in practice.
The lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Build an intuition for PCA with a teapot photographed from above and from the side. PCA keeps the directions where the data varies most, much as the best camera angle keeps the most detail.
Squeeze forty-six encoded columns onto two axes to see the whole customer base at once, then check honestly what the squeeze cost.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and code along.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Answer the head of retention in her own language: which customers to contact, and what to offer them. You will write a five-part report backed by everything from the module.
Both the lecture notebook and its practice exercise are attached as resources, ready to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Pick up a short routine for starting on any new dataset: start simple, measure, then add complexity only when it pays. It draws on everything you did with NimbusTel.
See why deep learning wins on images, sound and text. It learns its own features from raw data, so nobody has to write rules for what a collar or a sleeve looks like in pixels.
Work out what a single artificial neuron does, well enough to compute one with a pencil. A neuron is a weighted vote followed by a squash.
See how simple pieces add up to a network that can look at a tiny photo and say ankle boot. A network is layers of simple functions composed into a complex one.
Find out why a network needs bends between its layers. Without non-linear activations, a deep network collapses to a straight line, and a test on two curved moons shows the gap.
Understand training as a walk downhill in thick fog. The loss says how wrong the network is, the gradient says which way is uphill, and each small step goes the other way.
See how a network works out how much every weight contributed to an error. Backprop starts at the loss and works backward, sharing out blame exactly, like tracing a wrong restaurant order back through the kitchen.
Get comfortable with tensors, the grids of numbers PyTorch uses for everything, and move them onto a GPU. You time CPU against GPU fairly.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab with a T4 GPU runtime.
Let PyTorch do the gradient bookkeeping you traced by hand in the backpropagation lecture. You use autograd on one weight, then fit a straight line with a gradient descent loop you write yourself.
requires_grad, backward() and .grad, with one gradient checked by handzero_(), torch.no_grad() and detach() control recordingThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab; a CPU runtime is enough.
Build a small neural network that bends around two crescent-moon classes a straight line cannot separate. You write the training loop every PyTorch project uses.
nn.Module and with nn.Sequential, and counting parametersBoth the lecture notebook and its practice exercise are attached as resources, to open in Google Colab on a CPU runtime.
Train a network to tag clothing photos, using FashionMNIST: seventy thousand small greyscale images in ten classes. You also test what a plain network really sees.
DataLoadertrain_one_epoch and evaluate functionsBoth the lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and switch to a T4 GPU first.
Learn how a network spots a pattern anywhere in a picture. CNNs reuse small pattern detectors across the whole image, which fixes what a plain network throws away.
Build a convolutional network and run a fair fight against the earlier MLP, with the same data, seed, loop and five epochs. You see why it behaves differently, not only whether it wins.
nn.Conv2d and nn.MaxPool2d do to an image tensor's shapeThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab with a T4 GPU runtime.
Meet the defences deep networks need against memorising their training data, much as a student can memorise last year's exam paper and struggle with new questions. Regularisation trades a little training accuracy for real-world accuracy.
See how to get strong results from very little data by reusing what a big network already learned. Replace the head, freeze the backbone, and train only what is new.
Train a land-type classifier from only thirty satellite images per class, three ways, and compare the results. Fine-tuning a pretrained model gets strong results from little data.
Both the lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and switch to a T4 GPU first.
Rebuild the earlier CNN in Keras, a high-level library that writes the routine parts for you. Frameworks differ in style, but the ideas transfer one to one.
keras.datasetscompile, fit, evaluate and predict in place of a hand-written loopThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab with a T4 GPU runtime.
Find out why order matters in language and how networks first handled it. RNNs read one step at a time, and attention lets a model look everywhere at once.
Learn how software captures what words mean rather than how they are spelled. Embeddings turn meaning into geometry, so similar meanings become nearby points.
Keep a trained model from vanishing when your Colab runtime resets. You save a CNN, load it into a fresh model, and wrap it in a predict function for inference.
state_dict with torch.save, and loading it with weights_only=Truemodel.eval() matters at inference timeBoth the lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and switch to a T4 GPU first.
Pick up a checklist for training runs that fail without an error message. Most training bugs are data or shape bugs, and these checks take minutes and save afternoons.
Turn a folder of photos into a working classifier. You build one from one hundred photos of five flowers, then swap in your own photos to classify anything you like.
ImageFolder readsThe lecture notebook and a practice exercise are attached as resources. Open them in Google Colab to follow along.
See why a chat assistant can give a new slogan every time while a churn model gives the same score. A generative model learns what data looks like, then samples new examples, rather than picking a label.
Learn what a language model actually reads. Models read tokens, not words, and you pay per token. One tokenizer even cuts strawberry into three chunks, which hides its letters.
Count tokens yourself and see whether the same complaint, written in English and in Hindi, costs the same. You find out before any API bill arrives.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab; a CPU runtime is enough.
Understand the mechanism that lets a model look back over earlier words, as you do to work out who her refers to in a sentence. Attention lets every token decide which other tokens matter.
See how most large language models are built from one block, repeated. A transformer is the same block, stacked many times.
Follow one trip through the network to see why a chat answer streams in a piece at a time. GPT writes by predicting one token at a time, again and again.
Learn the dials that decide which token a model picks. Sampling settings trade creativity for consistency, so you keep them tight for facts and formats and loosen them for ideas. Same model, same prompt, different slogans.
Download a small open language model and watch it choose, token by token. You see the probabilities behind every word it writes, then test the sampling dials yourself.
transformers and reading its size and shapeThe lecture notebook and its practice exercise are attached as resources. Open them in Google Colab with a T4 GPU runtime.
Follow how a raw language model becomes a helpful assistant. Pretraining gives knowledge, and tuning gives manners and usefulness. Each stage builds on the weights of the one before.
Learn what a reasoning model does differently. It writes out its working before it answers, spending extra compute at answer time to solve harder problems.
Understand why a model can answer confidently about things it has never seen, like the opening hours of a small tea stall. Hallucination is a side-effect of predicting plausible text, so you ground the model to reduce it.
See how a picture can emerge from noise. Diffusion models learn to remove noise step by step, guided by your prompt.
Run a text-to-image pipeline on a free GPU, starting from one sentence about a tea stall on a rainy street. Then take the pipeline apart and turn its two main dials.
Both the lecture notebook and its practice exercise are attached as resources. Open them in Google Colab and switch to a T4 GPU first.
Learn how a model that predicts tokens comes to see and hear, such as reading a photo of a router's blinking lights together with a question. Modern models see, hear and read through the same token machinery.
Know what to check before you build on a model. The licence sets out what you may do with it, and the model card describes it.
Choose how to fix a problem with a model: change the prompt first, the context second, the model last. Each rung costs more than the one below, so climb only when a test shows you must.
Teach a small open model to turn help desk messages into tiny tickets in the same JSON shape every time. You train a small LoRA adapter on ninety-six examples, then prove the change on messages it has never seen.
The lecture notebook and its practice exercise are attached as resources. Open them in Google Colab with a T4 GPU runtime.
See why a model gives a generic answer when the details never reached it. You will learn to check what the model actually saw before you blame it for a careless reply.
Take a vague request apart and rebuild it into a prompt that gives reliable results. You will leave with a six-part checklist you can use on any chat assistant.
Watch a weak prompt for a broadband outage email improve through four revisions, each adding one missing piece. You will also practise controlling format and tone, and choosing when to edit, ask questions first or switch on deeper reasoning.
One good sample often teaches a model more than a paragraph of instructions. You will choose and format examples so the model copies the right style and structure.
Find out whether the famous think-step-by-step trick still helps models that now reason on their own. You will learn what to write instead: the goal, the constraints and how to check the answer.
Spot answers that sound confident but are wrong, such as citations that do not exist. You will build six habits that catch errors before they reach a customer, a manager or a report.
Treat a prompt like code that needs tests. You will see how one small edit can quietly break other replies, and how a small test set stops that from happening.
Set up the ChatGPT app for repeat work, so you stop pasting the same instructions every week. You will also learn what memory, temporary chats and data controls do with your information.
Get ready to use the OpenAI API without a nasty surprise on the bill. You will fund your account, cap your spending, create a key and keep it safe, so it never ends up in your code.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Turn a prompt into a small program with one function call. You will send a request to the model, read its reply and run the same prompt over a list of support tickets.
client.responses.create and reading output_textinstructions and text in inputThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Measure what each model call really costs before you scale an app. You will read the usage numbers from a response, turn them into dollars and project a monthly bill.
max_output_tokensThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Discover why a chatbot can forget a customer's name two messages later, and fix it in code. You will send the conversation history yourself and stop it growing too costly.
chat() helperThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Stop hoping the model replies in tidy JSON. You will describe the reply you want as a Pydantic schema and get typed data back that your code can use safely.
Literal, Optional and FieldThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Compare two versions of a prompt with numbers instead of opinions. You will build a small test harness that scores both versions on the same support tickets.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Learn to swap the model behind your code by changing one setting. You will call several providers through the same library, then run a free open model in Colab.
base_urlThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
See what surrounds a model inside a real app, using a support chatbot for an e-bike company in Bengaluru. You will follow one question through six stops and learn where state, secrets and costs live.
Give a support chatbot a memory using nothing more than a Python list. You will see why the model forgets, then control the cost of remembering with two strategies.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Turn a chat function into a real chat window in the browser, one a colleague can try from their phone. You will use Gradio, a free Python library, and share the app with a link.
gr.ChatInterfaceThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Make slow answers feel fast by showing words as they arrive. You will turn on streaming, measure the time to the first words and stream a reply into a chat window.
stream=True and reading the event typesThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Build a summariser for documents too long for one prompt, with a version for each reader. You will read a PDF, split it into chunks and combine the notes for a named audience.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. Upload the PDF and the text file when the notebook asks.
Understand how a model can use live data and exact sums without running anything itself. You will follow a tool call step by step, using a bot that guessed there were charged batteries at a station.
Give a support bot three tools: two live data lookups and a calculator that cannot be abused. You will build the loop that lets the model request calls while your code stays in charge.
call_idThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Make a model answer from your own documents instead of its memory. You will follow retrieval-augmented generation from preparing documents to a cited answer, and see where it can still fail.
Search a pile of rider comments by meaning instead of keywords. You will turn texts into embeddings, compare them and store them in a vector database that remembers them tomorrow.
where and reloading from diskThe lecture notebook and its practice exercise are attached as resources to open in Google Colab. Upload the feedback text file when the notebook asks.
Create a policy assistant that answers only from your documents and cites the section behind each fact. When the documents are silent, it says so instead of guessing.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. Upload the six policy files when the notebook asks.
An agent is a model with tools, a loop and a stop condition. You will learn to spot when the steps cannot be planned in advance, which is when an agent earns its place.
Build an agent that decides for itself how many checks a question needs. It runs until the model answers or a hard step limit stops it, and it logs every step.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Read a photographed repair receipt with one API call and get clean, typed fields back. Your code then checks the numbers before anyone trusts them.
input_image partThe lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Test a whole retrieval app, not just one prompt, so you know whether a change helped or broke it. You will write a golden test set and score each layer of the app.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. Upload the six policy files when the notebook asks.
One comment hidden in data can make an assistant announce free rides. You will learn to defend an app in layers, starting with one rule: treat model output as untrusted.
Find out where an app's time and money go, and which four levers you control. You will learn to measure first, then route and cache so cost and waiting time stay under control.
Put your policy helper on a public web address that keeps working after your notebook stops. You will package the app, store your key as a Space secret and test the live page.
app.py, a pinned requirements.txt and data fileshuggingface_hubThe lecture notebook and its practice exercise are attached as resources to open in Google Colab. Upload the six policy files when the notebook asks.
Choose an AI project with a simple score instead of applause in a meeting. You will compare a flashy chatbot with a quiet invoice-reading task and see why the boring one wins.
See how a marketing team can draft hundreds of pieces of copy without inventing features or promising unapproved discounts. The lecture shows where a model is strong and where reviewers must decide.
Build a generator for a fictional kitchen store that writes copy for four channels in one brand voice. It checks its own drafts, then hands a clean queue to a human editor.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Learn where AI helps most in customer support, and where it can hurt. You will see a real case in which a company was held responsible for its chatbot's wrong answer.
Settle the classic machine learning versus language model debate by testing both on the same support tickets. You will compare accuracy, speed and cost, then combine the two.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Use AI to speed up analysis without giving it the final say on your numbers. A confident chart can still be wrong, so you will learn how to ask, what to share and how to check.
Build an analyst that proposes its work as code, then check that code twice before anything runs. You will answer a question about a year of order data and verify the key numbers yourself.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Finance runs on documents, and AI can cut a lot of the manual checking. The model reads, simple rules check the arithmetic, and machine learning spots what looks odd.
Have a model read supplier invoices, then check what it read with rules and machine learning. You will catch a duplicate invoice and an odd amount that breaks no rule.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Scoring people needs far more care than scoring sales leads, even when the maths is the same. A real hiring tool that penalised CVs mentioning the word women's shows how bias creeps in.
AI becomes useful when it sits inside a process instead of a chat window. You will learn the shape of a safe workflow, from trigger to logged action.
Look beyond chatbots at the prediction models that earn much of AI's business value. You will see where they worked, where they failed and why, across three industries.
Forecast demand for one product and learn the first rule of forecasting: beat the naive forecast before you try anything cleverer. This one needs no API key.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
Judge an AI project on measured numbers, not on how fast it feels. You will work through savings, payback and return on investment, then plan a pilot.
Study real public AI cases to see what separates success from failure. The pattern you find becomes a checklist to use before you launch.
Treat harms from AI as defects you can test for. Using NimbusTel's churn model, you will learn to name a harm, measure it and set a pass line.
Find out how bias gets into an AI system, and how to see it. The key is to split your metrics by group, because overall numbers hide unfair gaps.
Test whether NimbusTel's churn model treats older customers the same as everyone else. You will split results by group, read what each gap means and watch a popular fix fail.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Ask a model why it made a decision, and learn when to trust the answer. A customer who asks why she was called deserves more than a risk score.
Explain NimbusTel's churn model in two ways: across all customers, and for one customer about to get a call. You will also check that the explanation is honest.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab.
This lecture also has a hands-on lab: the same practice exercise in a ready-made JupyterLab workspace, with the data already loaded and reference code for each task.
Know what leaves your machine when you use an AI tool, and who may use it. The lecture opens with an ordinary prompt that leaked a company's source code.
Get a clear picture of how AI rules are arriving in the European Union, India and the United States. It is a teaching summary and not legal advice, and the dates will keep changing.
Build a simple filter for the endless stream of new models. You will learn to read model cards and benchmarks critically, and to let a small test set of your own decide.
Look at four AI trends likely to outlast today's model names, and at the roles this course prepares you for. You will also plan a portfolio that proves your skills.
Write the one-page brief for the module project before any code. You will start from a user, a metric and a constraint, using a support agent on a cancellation call.
Design the pieces of the NimbusTel assistant, and decide what each one promises, before you write any code. You will also choose a build order that keeps every step small and testable.
Create a home for the NimbusTel assistant that survives Colab runtime resets. You will set up a project folder, a Python package, one settings file and pinned requirements.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. So is nimbus_kb.zip, the ten policy documents the notebook asks you to upload. nimbus_project.zip holds the finished project, in case the exercise asks for it.
Write the records desk for the assistant: one clean function for every data source it touches. Every other layer goes through it, so nothing sensitive leaves by accident.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Wrap the churn model from Module 3 in one function that returns a risk, a risk band and the reasons behind them. An agent needs to know why, not only a number.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Add policy search that quotes the company's own documents, with a label an agent can check. You will also stop paying to embed text that has not changed.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Keep business rules in code, where nobody can argue the model out of them. You will write the offer rules, wrap each layer as a tool and run the model's requests safely.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Connect the data, the churn model, policy search and the tools into one assistant. The model reasons and writes, while the tools decide the facts and the permissions.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Turn a finished call into a record your systems can store, instead of a chat nobody will read. Code gathers the facts, the model fills a fixed form and the agent approves.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Lay out the support agent's screen, with customer panel, chat, offer draft and approval on one page, using Gradio Blocks. You will also test every button over HTTP.
gr.Blocksgr.Stateapi_name and gradio_clientThe lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Prove the assistant works before anyone relies on it, because one good demo proves very little. You will write golden scenarios, check them in code and compare two versions on a scorecard.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Assume users and documents will try to fool the assistant, then make sure the system holds even when the model gives in. You will also remove personal data from logs and put a lid on cost.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Give the assistant a permanent web address on Hugging Face, and use the deployment as a final test on a clean machine. You will configure a Gradio Space, push only safe files and smoke test the live URL.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Watch the finished assistant handle three support calls from start to finish, then try it with your own questions. In each call, notice where code made the decision and where the model helped.
The lecture notebook and its practice exercise are attached as resources to open in Google Colab. If you skipped earlier lectures, upload nimbus_project.zip (the finished project, also attached) when the first cell asks for it.
Turn the NimbusTel assistant into a portfolio piece you can talk about in an interview. A good project is a story of decisions, not a pile of code.
Walk once more through everything you built, from a first Colab cell to an assistant that predicts churn, explains why, searches policies and drafts offers the rules allow. Then plan what comes next, so you keep shipping.
This course contains the use of artificial intelligence. Lectures are narrated by Katie, an AI voice, and AI tools helped produce the scripts, animations, quizzes and the promo video, where Vinay’s footage and voice are AI-generated from his own photos and recordings. The CodeSierra team curated the curriculum, and every notebook was run and tested.
This course goes past the demo. You build something complete: a retention and support assistant for NimbusTel, a fictional telecom company. A support agent types a customer ID. The assistant looks up the customer, predicts their churn risk (how likely they are to leave) with a machine learning model, searches the company's policy documents and drafts a retention offer that quotes those policies and passes the company's offer rules. The agent reviews it, then approves and saves it.
To get there, you learn both halves of modern AI and how to join them.
Predictive AI. You start with Python from scratch, then explore and clean data with pandas, train and evaluate models with scikit-learn, and handle the problems that break real projects: data leakage, imbalanced classes and accuracy scores that hide a useless model. You build a churn model on a public dataset of 7,043 telecom customers.
Deep learning and generative AI. You build neural networks in PyTorch, see how transformers and large language models work, and learn why they hallucinate. You write prompts that hold up, call models from Python through an API, and get reliable structured outputs.
AI applications. You build retrieval-augmented generation (RAG) over documents, give a model tools to call, add guardrails against prompt injection, test your app with evaluation cases, and put a Gradio interface on it.
Responsible AI. You measure bias in your own model, explain its predictions with SHAP, and learn which data should never leave your machine.
The capstone ties it all together. You design, build, test and deploy the NimbusTel assistant to Hugging Face Spaces (or a free temporary public link), and finish with a portfolio project you can explain in an interview.
How the course works. 18.6 hours of video across 10 modules. Short animated lectures explain each idea; hands-on lectures build notebooks cell by cell with real outputs. Every hands-on lecture ends with a practice exercise, and every module ends with a quiz. Everything runs in Google Colab in your browser. Modules 6–10 use the OpenAI API (a few US dollars of credit covers the whole course). Lecture 6.15 shows how to run chat calls on an open model; the search, image and capstone lectures use the OpenAI API.