ChanSek / Machine-Learning

This repository will contain all the stuff what I am learning about ML and AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine-Learning

This repository contains all the stuff what I am learning about ML and AI. To start with ML, I joined an online course from NPTEL called Machine Learning for Engineering and Science Application.

Machine Learning for Engineering and Science Application

Overview of Machine Learning

Aritifcial Intelligence - Replicates results of Human Being Machine Learning - Performs better with experience

Aritifcial Intelligence > Machine Learning > Deep Learning

What is ML?

An algorithm that uses data to answer questions. In addition to it, we can also define it as an algorithm which improves its performance as the data grows.

Book Definition - A computer program said to learn from experience E with respect to some class of tasks T and performance measure P.

Task - T (Recognizing Spam)
Experience - E (Data - Emails and label them as Spam or not spam)
Performance Measure - P (How many emails are we labelling as Spam)

As E increases, the P increases

Machine Learning Paradigm

Classical Programming

Inputs - Data and Rules
Outputs - Answers

Machine Learning

Inputs - Date and Answers
Outputs - Rules

Types of Learning Approaches

  1. Supervised Learning
    • Date Labeled by Human
    • Examples - OCR, Speech Recognition, Image Labeling
  2. Unsupervised Learning
    • Unlabeled Data
    • Examples - Grouping Customers, Detecting new Diseases
  3. Generative Approaches
    • Creating new data from the given data
    • Part of Unsupervised Learning
    • Example - Give 100 images of cat, then draw a new cat
  4. Semi-supervised Learning
    • Small amount of labeled data along with unlabeled data
  5. Self-supervised Learning
    • No labeled data
    • Labels are extracted from data using Heuristics
  6. Reinforcement Learning
    • Actions are chosen based on rewards.
    • Example - Chess, Games, etc

Seven Steps in Machine Learning

  1. Generating Data
  2. Preparing Data - Without bias
  3. Choosing a Model/Algorithm
    • Examples - Random Forest, ANNs, Hidden markov Models, etc.
  4. Training
  5. Evaluation
  6. Hyperparameter Tuning
  7. Prediction

Supervised Learning

  1. Classification Problem
    • Cancer or Non-Cancer, Spam or Not Spam
  2. Regression Problem
    • Prediction of Stock Market based on history

Scalars, Vectors, Matrics, Tensors

Scalar - 0th order tensor

  • Example - n = 3
    Vectors - 1st order tensor
  • Example - x⃗ = [1, 2, 3, 4]

About

This repository will contain all the stuff what I am learning about ML and AI

License:Apache License 2.0