AITeky Learn

AiTeky Original Interactive Learning & Practice Beginner

Machine learning: teach a computer from examples

Predict rents, exam results, car prices and loan risk with scikit-learn, and learn to check honestly whether a model is any good.

A property broker who has seen hundreds of flats can guess a fair rent in seconds. Nobody gave the broker a formula: they learned from examples. Machine learning is the same idea for a computer. You show it many past examples with the answers, it finds the pattern, and then it makes a good guess for a new case it has never seen.

Banks use it to judge loan risk, shopping apps to suggest products, hospitals to flag high-risk patients and resale sites to price used cars. Most of that work is not magic maths: it is preparing data, choosing a simple model and, above all, checking honestly whether the model works on new data. That is what this course teaches.

You need Python basics, NumPy and pandas before this course. Statistics helps. Everything runs in your browser with scikit-learn, the library most data teams use for this kind of work.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business files and questions, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 20 min Free sample πŸ”’ AiTeky Pass What is machine learning? A computer learns from examples See how a computer learns a pattern from past examples instead of being given rules. Train your first model to guess a flat's rent from its size, read what it learned and use it on new flats.
  2. 02 25 min πŸ”’ AiTeky Pass Linear regression: predict a number from several clues See how linear regression picks its best line, use several features at once, read each coefficient in plain words, and measure the model with the mean absolute error and R-squared.
  3. 03 25 min πŸ”’ AiTeky Pass Train and test: check the model on data it has never seen Learn why a model must be tested on examples it did not train on. Split the data with train_test_split, catch overfitting when a model memorises instead of learning, and find the right amount of flexibility.
  4. 04 25 min πŸ”’ AiTeky Pass Classification: predict yes or no with logistic regression Predict a group instead of a number. Train a logistic regression to guess which students will pass, read its probabilities, see how the 0.5 cut-off turns them into answers, and score it with accuracy against a baseline.
  5. 05 25 min πŸ”’ AiTeky Pass Decision trees and random forests: models that ask questions See how a decision tree predicts by asking a series of yes-or-no questions, read the rules it learned, control its depth, find which clues matter most, and let a random forest of many trees vote.
  6. 06 25 min πŸ”’ AiTeky Pass Is the model any good? Confusion matrix, precision and recall See how accuracy can fool you when one group is rare, count a classifier's four kinds of answers in a confusion matrix, measure precision and recall, and move the threshold to make the mistakes that cost less.
  7. 08 30 min πŸ”’ AiTeky Pass Prepare the data properly: scaling, encoding, pipelines and cross-validation Scale numbers and one-hot encode words inside a pipeline, so new data always gets the same preparation. Score models fairly with cross-validation, choose settings without touching the test set, and spot data leakage.
  8. 09 25 min πŸ”’ AiTeky Pass Find groups without answers: k-means clustering Learn without answers. Group a grocery app's customers by how they shop with k-means, see why scaling changes everything, choose the number of groups with the elbow method, and turn clusters into named segments a business can use.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 07 45 min πŸ”’ AiTeky Pass On the job: price used cars for a resale app Take a messy file of 900 used-car listings to a working price model. Fix wrong prices and missing values, turn categories into numbers, compare a baseline, linear regression and a random forest, discover why predicting the log of the price wins, and practise the interview questions.
  2. 10 50 min πŸ”’ AiTeky Pass On the job: which loan applicants may not repay? Build a loan default model end to end. Explore 2,000 past loans, make a better feature from domain knowledge, handle a rare outcome with stratified splits and class weights, compare models with ROC AUC, pick the threshold that loses the least money, check fairness, and practise the interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in