Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Cheat sheet · Specialise

Machine learning cheat sheet (General machine learning)

Opens with credits

A quick-revision companion to the Machine learning roadmap: Python for data, the maths you need, data preparation, classical models, evaluation, neural networks, deep learning and MLOps, with short NumPy, pandas, scikit-learn and PyTorch snippets. Skim a chapter before an exam, a project or a technical conversation, and follow the links for depth.

Curated by Tauseef Fayyaz8 chapters69 concepts213 glossary terms

Chapters

8 chapters · 69 concepts

  1. 1Python for dataThe everyday toolkit: NumPy arrays and vectorised maths, pandas for tables, notebooks for exploration, charts, and the file formats data arrives in.8 concepts
  2. 2The maths you needJust enough linear algebra, calculus, probability and statistics to understand what models compute, how they learn and whether a result is real.9 concepts
  3. Data cleaning and feature engineeringTurning raw data into model-ready features without fooling yourself: exploration, missing values, outliers, encoding, scaling, pipelines and imbalanced classes.9 conceptsOpens with credits
  4. Classical machine learningThe models that still win on most tabular problems: linear and logistic regression, regularisation, trees, forests and boosting, plus clustering and PCA for data without labels.10 conceptsOpens with credits
  5. Evaluating and tuning modelsGetting an honest estimate of how a model will do on new data: splits, cross-validation, leakage, the right metrics, baselines, tuning and explaining what the model relies on.9 conceptsOpens with credits
  6. Neural networks and trainingHow neural networks compute and learn: layers and activations, tensors and autograd, losses, backpropagation, optimisers, the PyTorch training loop and how to read loss curves.9 conceptsOpens with credits
  7. Deep learning architecturesThe architectures behind modern vision and language models: embeddings, CNNs, recurrent networks, attention and transformers, and how to adapt pretrained models to your task.7 conceptsOpens with credits
  8. Production ML and MLOpsTaking a model from notebook to a reliable service: tracking and versioning, serving, avoiding training-serving skew, CI/CD, monitoring for drift and deciding when to retrain.8 conceptsOpens with credits
  9. 9Glossary, A to ZEvery concept in the sheet and the smaller terms it uses, in one list.213 terms

About this sheet

Data, models, deep learning.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com