A comprehensive repository containing 30+ notebooks on learning machine learning!

Overview

A Complete Machine Learning Package


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

toolss

This is a comprehensive repository containing 30+ 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/concepts being covered. Wherever possible, visuals are used to make things clear.

Viewing and Running the Notebooks

The easiest way to view all the notebooks is to use Nbviewer.

  • Render nbviewer

If you want to play with the codes, you can use the following platforms:

  • Open In Colab

  • Launch in Deepnote

Deepnote will direct you to Intro to Machine Learning. Heads to the project side bar for more notebooks.

Tools Overview

The following are the tools that are covered in the notebooks. They are popular tools that 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 neural networks: TensorFlow is a popular deep learning framework used for building models suitable for different fields such as Computer Vision and Natural Language Processing. At its backend, it uses Keras which is a high level API for building neural networks easily. TensorFlow has gained a lot of popularity in the ML community due to its complete ecosystem made of wholesome tools including TensorBoard, TF Datasets, TensorFlow Lite, TensorFlow Extended, TensorFlow.js, etc...

Outline

Part 1 - Intro to Python and Working with Data

0 - Intro to Python for Machine Learning

1 - Data Computation With NumPy

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

2 - Data Manipulation with Pandas

  • 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 with Matplotlib and Seaborn

4 - Real World Data - Exploratory Analysis and Data Preparation

Part 2 - Machine Learning

5 - Intro to Machine Learning

  • Intro to Machine Learning
  • Machine Learning Workflow
  • Evaluation Metrics
  • Handling Underfitting and Overfitting

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 Resources

Machine Learning community is very vibrant. There are many faboulous learning resources, some of which are paid or free available. Here is a list of courses that has got high community ratings. They are not listed in an order they are to be taken.

Courses

  • Machine Learning by Coursera: This course was tought 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.

  • 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.

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

  • 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.

  • 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.

  • 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.

Books

Below is of the most 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.

  • 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 ge 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, check this, this


This repository was created by Jean de Dieu Nyandwi. You can find him on:

If you find any of this thing helpful, shoot him a tweet or a mention :)

Owner
Jean de Dieu Nyandwi
Building machine learning systems!
Jean de Dieu Nyandwi
Apache Liminal is an end-to-end platform for data engineers & scientists, allowing them to build, train and deploy machine learning models in a robust and agile way

Apache Liminals goal is to operationalise the machine learning process, allowing data scientists to quickly transition from a successful experiment to an automated pipeline of model training, validat

The Apache Software Foundation 121 Dec 28, 2022
Code for the TCAV ML interpretability project

Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV) Been Kim, Martin Wattenberg, Justin Gilmer, C

552 Dec 27, 2022
Pandas Machine Learning and Quant Finance Library Collection

Pandas Machine Learning and Quant Finance Library Collection

148 Dec 07, 2022
Lightweight Machine Learning Experiment Logging 📖

Simple logging of statistics, model checkpoints, plots and other objects for your Machine Learning Experiments (MLE). Furthermore, the MLELogger comes with smooth multi-seed result aggregation and co

Robert Lange 65 Dec 08, 2022
BigDL: Distributed Deep Learning Framework for Apache Spark

BigDL: Distributed Deep Learning on Apache Spark What is BigDL? BigDL is a distributed deep learning library for Apache Spark; with BigDL, users can w

4.1k Jan 09, 2023
Regularization and Feature Selection in Least Squares Temporal Difference Learning

Regularization and Feature Selection in Least Squares Temporal Difference Learning Description This is Python implementations of Least Angle Regressio

Mina Parham 0 Jan 18, 2022
SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow

SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow, in High Performance Computing (HPC) simulations and workloads.

Data Version Control or DVC is an open-source tool for data science and machine learning projects

Continuous Machine Learning project integration with DVC Data Version Control or DVC is an open-source tool for data science and machine learning proj

Azaria Gebremichael 2 Jul 29, 2021
BioPy is a collection (in-progress) of biologically-inspired algorithms written in Python

BioPy is a collection (in-progress) of biologically-inspired algorithms written in Python. Some of the algorithms included are mor

Jared M. Smith 40 Aug 26, 2022
A simple and lightweight genetic algorithm for optimization of any machine learning model

geneticml This package contains a simple and lightweight genetic algorithm for optimization of any machine learning model. Installation Use pip to ins

Allan Barcelos 8 Aug 10, 2022
Diabetes Prediction with Logistic Regression

Diabetes Prediction with Logistic Regression Exploratory Data Analysis Data Preprocessing Model & Prediction Model Evaluation Model Validation: Holdou

AZİZE SULTAN PALALI 2 Oct 23, 2021
This repository has datasets containing information of Uber pickups in NYC from April 2014 to September 2014 and January to June 2015. data Analysis , virtualization and some insights are gathered here

uber-pickups-analysis Data Source: https://www.kaggle.com/fivethirtyeight/uber-pickups-in-new-york-city Information about data set The dataset contain

B DEVA DEEKSHITH 1 Nov 03, 2021
Book Item Based Collaborative Filtering

Book-Item-Based-Collaborative-Filtering Collaborative filtering methods are used

Åžebnem 3 Jan 06, 2022
A Python library for detecting patterns and anomalies in massive datasets using the Matrix Profile

matrixprofile-ts matrixprofile-ts is a Python 2 and 3 library for evaluating time series data using the Matrix Profile algorithms developed by the Keo

Target 696 Dec 26, 2022
Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.

Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and many other libraries. Documenta

2.5k Jan 07, 2023
Using Logistic Regression and classifiers of the dataset to produce an accurate recall, f-1 and precision score

Using Logistic Regression and classifiers of the dataset to produce an accurate recall, f-1 and precision score

Thines Kumar 1 Jan 31, 2022
Official code for HH-VAEM

HH-VAEM This repository contains the official Pytorch implementation of the Hierarchical Hamiltonian VAE for Mixed-type Data (HH-VAEM) model and the s

Ignacio Peis 8 Nov 30, 2022
Interactive Web App with Streamlit and Scikit-learn that applies different Classification algorithms to popular datasets

Interactive Web App with Streamlit and Scikit-learn that applies different Classification algorithms to popular datasets Datasets Used: Iris dataset,

Samrat Mitra 2 Nov 18, 2021
Merlion: A Machine Learning Framework for Time Series Intelligence

Merlion is a Python library for time series intelligence. It provides an end-to-end machine learning framework that includes loading and transforming data, building and training models, post-processi

Salesforce 2.8k Jan 05, 2023