# Python Machine Learning Bootcamp

Canonical URL: <https://training-nyc.com/courses/python-machine-learning>

## Overview

Machine learning goes beyond normal coding, which requires step-by-step instructions, by using algorithms that can independently learn patterns and make decisions. This skill set is in high demand, as machine learning algorithms now run the majority of trading on Wall Street and the product recommendations at big companies like Amazon, Spotify, and Netflix.

This course will begin with linear and logistic regression, the most time-tested and reliable tools for approaching a machine learning problem. The course will then progress to algorithms with a very different theoretical basis, such as k-nearest neighbors, decision trees, and random forest. This will bring important statistical concepts to the forefront, such as bias, variance, and overfitting. You’ll also learn how to measure the accuracy of your models, as well as tips for choosing effective features and algorithms.

The course will be focused on the practical skills needed to solve real-world problems with machine learning. The mathematical foundations for each machine learning algorithm will be explained visually, but there will not be a formal math component. Entering students are expected to be comfortable with writing Python programs, as well as the Numpy and Pandas libraries.

## What you'll learn

- How to clean and balance your data using the Pandas library
- Applying machine learning algorithms such as logistic regression and random forest using the scikit-learn library
- Choosing good features to use as input for your algorithms
- Properly splitting data into training, test and cross-validation sets
- Important theoretical concepts like overfitting, variance and bias
- Evaluating the performance of your machine learning models

## Prerequisites

This course requires students to be comfortable with Python and its data science libraries (NumPy and Pandas). If a student has not worked in Python before, we require a student to enroll in our [Python for Data Science Bootcamp](/courses/python-data-science-nyc)before taking this course.

## Curriculum

### 1. Course Kick‑off & Python Refresher

- Data Science tool recap - Pandas and indexing
- Exploratory data analysis (EDA): standard deviations and uniform vs. normal distributions using NumPy/Pandas
- Hands‑on: loading CSVs, basic plotting with Matplotlib

### 2. Data Visualization & Simple Linear Regression

- Crafting clear scatterplots: labels, grids, styling
- Single‑variable linear regression (attendance → concessions)
- Train‑test splitting and dealing with outliers
- Evaluating models with R²; interpreting residuals
- Extended example: car‑sales dataset, predicting price from one feature

### 3. Binary Classification & Logistic Regression

- From regression to classification: why logistic vs. linear
- Implementing logistic regression on an employee “stay/leave” dataset
- Classification metrics deep dive: accuracy, precision, recall, F1 score, ROC curve
- Understanding variability: train‑test ratios, data shuffling, sample size effects
- Confusion matrix analysis

### 4. k‑Nearest Neighbors & the Iris Dataset

- Introduction to k‑NN: distance metrics, choosing k
- Dataset exploration: sepal/petal measurements, plotting clusters
- Preprocessing: label encoding categorical data, feature scaling
- Model training, hyperparameter tuning, evaluating with confusion matrix and classification report
- Brief intro to decision‑tree logic (setting up for ensembles)

### 5. Ensemble Methods & Neural Networks

- Random forest classifiers on the Titanic dataset: feature engineering, importance scores
- Kaggle workflow: generating predictions, submitting to competition
- Neural network primer: perceptron to multilayer architectures
- Hands‑on MNIST digit classification with Keras/TensorFlow in Colab

## Schedule
- Jun 15, 2026 – Jun 19, 2026 — NYC
- Aug 3, 2026 – Aug 7, 2026 — NYC
- Aug 30, 2026 – Oct 11, 2026 — NYC
- Sep 8, 2026 – Oct 8, 2026 — NYC
- Sep 8, 2026 – Oct 8, 2026 — NYC
- Sep 22, 2026 – Sep 28, 2026 — NYC
- Nov 9, 2026 – Nov 13, 2026 — NYC
- Dec 7, 2026 – Dec 11, 2026 — NYC
- Dec 29, 2026 – Feb 2, 2027 — NYC
- Jan 17, 2027 – Feb 21, 2027 — NYC

## Pricing

**Tuition:** $1895
