/machine_learning_complete

A comprehensive machine learning repository containing 30+ notebooks on different concepts, algorithms and techniques.

Primary LanguageJupyter NotebookMIT LicenseMIT

Complete Machine Learning Package

🏅 Ranked as one of the top data science repositories on GitHub!

Render nbviewer Open In Colab Launch in Deepnote

Techniques, tools, best practices, and everything you need to to learn machine learning!

tools

Complete Machine Learning Package is a comprehensive repository containing 35 notebooks on Python programming, data manipulation, data analysis, data visualization, data cleaning, classical machine learning, Computer Vision and Natural Language Processing(NLP).

All notebooks were created with the readers in mind. Every notebook starts with a high-level overview of any specific algorithm/concept being covered. Wherever possible, visuals are used to make things clear.


What's New 🔥


Tools Overview

The following are the tools that are covered in Complete Machine Learning Package. They are popular tools that most machine learning engineers and data scientists need in one way or another and day to day.

  • Python is a high level programming language that has got a lot of popularity in the data community and with the rapid growth of the libraries and frameworks, this is a right programming language to do ML.

  • NumPy is a scientific computing tool used for array or matrix operations.

  • Pandas is a great and simple tool for analyzing and manipulating data from a variety of different sources.

  • Matplotlib is a comprehensive data visualization tool used to create static, animated, and interactive visualizations in Python.

  • Seaborn is another data visualization tool built on top of Matplotlib which is pretty simple to use.

  • Scikit-Learn: Instead of building machine learning models from scratch, Scikit-Learn makes it easy to use classical models in a few lines of code. This tool is adapted by almost the whole of the ML community and industries, from the startups to the big techs.

  • TensorFlow and Keras for deep learning: TensorFlow is a popular deep learning framework used for building models suitable for different fields such as Computer Vision and Natural Language Processing. Keras is a high level neural network API that makes it easy to design deep learning models. TensorFlow and Keras have a great community and ecosystem that include tools like TensorBoard, TF Datasets, TensorFlow Lite, TensorFlow Extended, TensorFlow Hub, TensorFlow.js, TensorFlow GNN, and much more.


Complete Outline

Part 1 - Intro to Python and Working with Data

  • Creating a NumPy Array
  • Selecting Data: Indexing and Slicing An Array
  • Performing Mathematical and other Basic Operations
  • Performing Basic Statistics
  • Manipulating Data

[You can find detailed notes about NumPy here]

  • Basics of Pandas
    • Series and DataFrames
    • Data Indexing and Selection
    • Dealing with Missing data
    • Basic operations and Functions
    • Aggregation Methods
    • Groupby
    • Merging, Joining and Concatenate
  • Beyond Dataframes: Working with CSV, and Excel
  • Real World Exploratory Data Analysis (EDA)

3 - Data Visualization

4 - Real World Data Exploratory Analysis and Data Preparation

Part 2 - Machine Learning

  • What is Machine Learning?
  • The Difference Between Artificial Intelligence, Data Science, Machine Learning, and Deep Learning
  • The Difference Between Machine Learning and Ordinary Programming
  • Applications of Machine Learning
  • When to Use and When not to Use Machine Learning
  • Types of Machine Learning
  • A Typical Machine Learning Project Workflow
  • Evaluation Metrics
  • The Challenges of Machine Learning Systems

6 - Classical Machine Learning with Scikit-Learn

Part 3 - Deep Learning

7 - Intro to Artificial Neural Networks and TensorFlow

8 - Deep Computer Vision with TensorFlow

9 - Natural Language Processing with TensorFlow


Used Datasets

Many of the datasets used for this repository are from the following sources:


Further Machine Learning Resources

Machine Learning community is very vibrant. Complete Machine Learning Package can get you started, but it's not enough. Fortunately, there are many faboulous learning resources, some of which are paid or freely available. Here is a list of courses that are often recommended by many people. Note that they are not listed in an order they are to be taken.

Courses

  • Machine Learning by Coursera: This course was taught by Andrew Ng. It is one of the most popular machine learning courses, it has been taken by over 4M of people. The course focuses more about the fundamentals of machine learning techniques and algorithms. It is free on Coursera.

  • Deep Learning Specialization: Also tought by Andrew Ng., Deep Learning Specialization is also a foundations based course. It teaches a decent foundations of major deep learning architectures such as convolutional neural networks and recurrent neural networks. The full course can be audited on Coursera, or watch freely on Youtube.

  • MIT Intro to Deep Learning: This course provide the foundations of deep learning in resonably short period of time. Each lecture is one hour or less, but the materials are still the best in classs. Check the course page here, and lecture videos here.

  • MIT Introduction to Data-Centric AI: This is the first-ever course on DCAI. This class covers algorithms to find and fix common issues in ML data and to construct better datasets, concentrating on data used in supervised learning tasks like classification. All material taught in this course is highly practical, focused on impactful aspects of real-world ML applications, rather than mathematical details of how particular models work. You can take this course to learn practical techniques not covered in most ML classes, which will help mitigate the “garbage in, garbage out” problem that plagues many real-world ML applications. Check out the course page here, lecture videos here, and lab assignments here.

  • NYU Deep Learning Spring 2021: Taught at NYU by Yann LeCun, Alfredo Canziani, this course is one of the most creative courses out there. The materials are presented in amazing way. Check the lecture videos here, and the course repo here.

  • CS231N: Convolutional Neural Networks for Visual Recognition by Stanford: CS231N is one of the best deep learning and computer vision courses. The 2017 version was taught by Fei-Fei Li, Justin Johnson and Serena Yeung. The 2016 version was taught by Fei-Fei, Johnson and Andrej Karpathy. See 2017 lecture videos here, and other materials here.

  • CS224N: Natural Language Processing with Deep Learning by Stanford: If you are interested in Natural Language Processing, this is a great course to take. It is taught by Christopher Manning, one of the world class NLP stars. See the lecture videos here.

  • Practical Deep Learning for Coders by fast.ai: This is also an intensive deep learning course that cover the whole spectrum of deep learning architectures and techniques. The lecture videos and other resources such as notebooks are the course page.

  • Machine Learning Engineering for Production (MLOps) Specialization: Taught by Andrew Ng., Laurence Moroney, and Robert Crowe, this is one of the best ML engineering course. It teaches how to design end to end machine learning production systems, building efficient data and modelling pipelines, and deploying models in production. You can find the course on Coursera and other course materials on Github.

  • Full Stack Deep Learning: While the majority of machine learning courses focuses on modelling, this course focuses on shipping machine learning systems. It teaches how to design machine learning projects, data management(storage, access, processing, versioning, and labeling), training, debugging, and deploying machine learning models. See 2021 version here and 2019 here. You can also skim through the project showcases to see the kind of the courses outcomes through learners projects.

Books

Below are some few awesome machine learning books.

  • The Hundred-Page Machine Learning Book: Authored by Andriy Burkov, this is one of the shortest but concise and well written book that you will ever find on the internet. You can read the book for free here.

  • Machine Learning Engineering: Also authored by Andriy Burkov, this is another great machine learning book that uncover each step of machine learning workflow, from data collection, preparation....to model serving and maintenance. The book is also free here.

  • Machine Learning Yearning: Authored by Andrew Ng., the book contains various strategies for building effective learning systems. It is partitioned into small parts which makes it easy to read and it is not sorely for machine learning engineers. Anyone working with data science and machine learning teams can find the book helpful. The official book is available here for free, but you can read or download it here without requiring to sign up.

  • Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Authored by Aurelion Geron, this is one of the best machine learning books. It is clearly written and full of ideas and best practices. You can get the book here, or see its repository here.

  • Deep Learning: Authored by 3 deep learning legends, Ian Goodfellow and Yoshua Bengio and Aaron Courville, this is one of the great deep learning books that is freely available. You can get it here.

  • Deep Learning with Python: Authored by Francois Chollet, The Keras designer, this is a very comprehensive deep learning book. You can get the book here, and the book repo here.

  • Dive into Deep Learning: This is also a great deep learning book that is freely available. The book uses both PyTorch and TensorFlow. You can read the entire book here.

  • Neural Networks and Deep Learning: This is also another great deep learning online book by Michael Nielsen. You can read the entire book here.

If you are interested in more machine learning and deep learning resources, you can find them here, here and here


Citing Complete ML Package

@article{Nyandwi2021MLPackage,
    title = "Complete Machine Learning Package",
    author = "Nyandwi, Jean de Dieu",
    journal = "GitHub",
    year = "2021",
    url = "https://nyandwi.com/machine_learning_complete",
}

This repository was created by Jean de Dieu Nyandwi. You can find him on Twitter, LinkedIn, Medium, and Instagram.