Artificial Intelligence Series 1: Basic Machine Learning

‘Basic Machine Learning’ Training Program

Recipes tell you nothing. Learning techniques is the key.

— Tom Colicchio

Honor Code (scroll right to view)

1. In machine learning, there is no single *definitive solution*. Everyone is right.
2. We are here to learn; in this learning process, nothing is considered a mistake.
3. Everyone's *input* is valuable; contribute at every stage.
4. Our goal will always be to enhance model *accuracy*.

Why Learn Artificial Intelligence?

  1. One technology is quietly surrounding us in every sphere of life: Artificial Intelligence. Put simply, technology is being taught to make decisions just like human beings — to serve human needs. In healthcare, it helps provide patients with proper medical attention and minimizes human error. Furthermore, instead of testing experimental treatments directly on patients, AI simulations are transforming ‘drug discovery’. Today, AI’s pivotal contribution to COVID-19 drug discovery is widely recognized; without it, the research timeline would have stretched far longer. Many nations deployed this technology to control and track the pandemic.

  2. Governments in developed countries leverage artificial intelligence for urban planning, mass transit optimization, modifying river courses, early flood warning, equitable distribution of public resources, forecasting future pension obligations, predictive policing, and city-wide intelligent traffic management — among thousands of applications. Beyond war gaming, the strategic adoption of AI by the armed forces emerged in the United States in 2014 under the ‘Third Offset Strategy’. In 2018, the Pentagon outlined a $2 billion plan dedicated to artificial intelligence applications.

  3. The reality is that even if we do not consciously perceive how it unfolds, our surroundings are undergoing profound transformation driven by artificial intelligence. Whether we welcome it or not, it has seamlessly integrated into the fabric of daily life. From healthcare to public administration, transportation to education — whatever people strive to accomplish, AI empowers and simplifies. Truly, unprecedented capability is being placed into human hands, yet very few currently realize its magnitude. The genesis of artificial intelligence begins with teaching the machine — and that is precisely where machine learning comes in. In other words, machine learning is the core process that endows machines with intelligence.

  4. A global movement around AI for Social Good is actively harnessing data to serve humanity. We possess massive volumes of data, but at this stage, we often fail to extract meaningful wisdom from it. The methodologies for turning raw data into wisdom will be demonstrated throughout this training. Understanding machine learning is essential because its impact now touches every sector. Artificial intelligence is both a present reality and an indispensable future skillset.

How Will We Learn? Solving a Real-World Problem

Understanding the underlying philosophy of machine learning makes the learning curve remarkably smooth. You will know where you started, where you need to go, and exactly where you stand right now. Colleagues and friends across the global machine learning community always share one golden piece of advice: if you want to learn machine learning, start with Project Titanic. This is the ultimate gateway to machine learning. Period. When you understand the problem clearly, the solution lies well within reach.

Learning Outcome: The Titanic Challenge

The year was 1912. A true historical event. We have James Cameron to thank for making the story unforgettable. The ‘unsinkable’ RMS Titanic sank while crossing the Atlantic on its maiden voyage after colliding with an iceberg. It was 11:40 at night. We can envision that among the 2,224 passengers and crew, almost everyone had retired to sleep in their cabins or bunks. What followed is etched in history.

1,502 people perished on that voyage.

This timeless data science challenge was crafted around this real historical tragedy. Here, we are provided with two datasets. The first dataset contains 12 attributes describing 891 individuals, including a specific column indicating whether each passenger survived or died. Notice the nature of this data: authentic historical records. Their names and their documented fates are preserved across the internet. Nothing here is fabricated.

Now comes the challenge: we are given a second dataset containing 418 new individuals outside the original 891. Our mission is to determine their fates. There are 418 rows containing every single attribute except that one crucial column indicating whether they lived or died. We do not know what happened to them.

The Challenge: Predict Who Survived

So, what is the Titanic Challenge?

From the dataset of those 418 individuals, we must build a model to predict who survived and who perished. When I first encountered this problem, I was genuinely amazed. How is this possible? How could anyone know? Predicting human survival seems beyond our capability. How could a machine learning algorithm accomplish this?

R Programming Machine Learning Kaggle Competition Project Titanic Prediction

Instructor-led class: 2 hours + Project work: 1 hour = 3 hours per session.

Week 1 (Machine Learning, Project Titanic)

Day Topic What We Learned
Day 1 What is Machine Learning? Difference Between Traditional Programming & ML
Day 2 Kaggle Competitions Kaggle Kernels and Cloud-Hosted Scripts
Day 3 Project Titanic Training and Test Datasets

Week 2 (“R” Programming Environment)

Day Topic What We Learned
Day 1 “R” Programming Environment Working with “R” + RStudio
Day 2 Project GitHub Scripts Project Titanic + RStudio
Day 3 Project Titanic + RStudio Cloud (Web) Titanic Dataset on Kaggle

Week 3 (Prediction, Data Visualization)

Day Topic What We Learned
Day 1 First Prediction: Did Everyone Perish? Exploratory Data Analysis, Kaggle Submission
Day 2 Data Visualization: The Story of Plots What Insights Did Visualization Reveal?
Day 3 Second Prediction: Female vs Male? Women and Children First

Week 4 (Decision Trees, Feature Engineering)

Day Topic What We Learned
Day 1 Correlation Between Mortality and Ticket Fare Third Prediction: The aggregate Command
Day 2 Decision Trees: Fourth Prediction rpart and Predictive Elements
Day 3 Data Pre-processing and Feature Engineering Data Cleaning and Transformation
Day 4 Seventh Prediction (Random Forest) Machine Learning and Our Future

Online Access: GitHub and RStudio Cloud

  1. A GitHub account is required.
  2. Please create an RStudio Cloud account prior to class.

Supporting Documentation and Books (Online)

Hatekolome Machine Learning Book Cover
Any of the referenced editions

All links for ‘Hatekolome Machine Learning’ (First or Second Edition):

Medium Link
Online Link Gitbook — Complete Online Book
Print Book: Rokomari Rokomari.com
Print Book: Adarsha Adarsha Prakashani
Print Book: Neelkhet Haq, Manik Library and others: 01735742908, 01820157181
E-book: Amazon Kindle Edition
E-book: Google Play Books Google Play Books in Bangladesh
  1. Online Link: Complete Book Online
  2. Print Book: Rokomari
  3. Print Book: Adarsha
  4. Print Book: Neelkhet
  5. E-book: Amazon Kindle
  6. E-book: Google Play Books

Supporting Documentation Table of Contents

Supporting Documentation Table of Contents Part 1
Book Table of Contents Part 1
Supporting Documentation Table of Contents Part 2
Book Table of Contents Part 2
Supporting Documentation Table of Contents Part 3
Book Table of Contents Part 3

Supporting Videos (If You Miss a Class)

YouTube Playlist: Machine Learning (Second Edition) Book Video Series

Daily feedback regarding training can be provided at 01713095767. Thank you.

Application Guidelines

Hands-on “Data Analytics” (answering Question 5 thoroughly is mandatory):

  • 1. Free of cost (the value of knowledge varies by individual); initially offering 5 batches. My role is to set you upon the path of data; guiding you onto that road is my responsibility. All you need is genuine curiosity and enthusiasm. Starts strictly “no coding”. Only students from non-programming academic backgrounds should apply.

  • 2. The decision to offer this without charge is purely personal. Based on your submitted applications, cohorts of 25 students will be formed following 1-on-1 interviews.

  • 3. Experience demonstrates that because data utilization is still emerging nationally, many struggle to grasp this extraordinary skillset. Alongside your current profession, this competency will position you strongly for upcoming opportunities. New roles are on the horizon; what is needed is the skill. Inquisitiveness, earnestness, and passion — that is all you need to bring. I will teach you the rest.

[Batch 1: 17 July – 14 August 2021, 90-minute online sessions via Google Meet. Friday–Saturday, morning or evening (subject to cohort consensus). 10 female students + 10 male students + 5 instructor selections.]

  • 4. I have consistently observed that female students excel equally in cognitive reasoning, meta-analysis, and pattern recognition from data — hence equal vacancies are reserved.

  • 5. Because free mentorship often risks being taken for granted, profound personal commitment is required from you. To verify your earnestness, three application questions are posed. Please provide thoughtful, well-reasoned answers so I can guide you effectively. Selection will be based upon your responses.

  • 6. For your convenience, the background to these three questions is discussed on our YouTube playlist. You may skip the initial videos and watch the core discussions. Playlist Link

(The application deadline was 08 July 2021; applicants could revise their answers until that date.)


Updated