DATATWEETS
Courses
  • Python for Data Analytics
    • Python Basics
      • Lesson 1 - Programming in Python
      • Lesson 2 - Variables and Data Types
      • Lesson 3 - For Loops and Iteration
      • Lesson 4 - Working with Lists
      • Lesson 5 - Conditional Statements
      • Lesson 6 - Python Dictionaries
      • Lesson 7 - Advanced Dictionaries and Frequency Tables
      • Lesson 8 - Python Functions
      • Lesson 9 - Python Functions: Arguments, Parameters, and Debugging
      • Lesson 10 - Working with Files
      • Lesson 11 - Exception Handling
      • Lesson 12 - List Comprehension
      • Lesson 13 - Lambda Functions
      • Lesson 14 - Filter and Map Functions
    • Python Advanced
      • Lesson 1 - Introduction to Object-Oriented Programming
      • Lesson 2 - Class Methods, Properties, and Encapsulation
      • Lesson 3 - Inheritance and Polymorphism
      • Lesson 4 - Special Methods and Python's Data Model
      • Lesson 5 - Advanced Function Concepts
      • Lesson 6 - Decorators and Metaprogramming
      • Lesson 7 - Iterators and the Iterator Protocol
      • Lesson 8 - Generators and Memory-Efficient Processing
      • Lesson 9 - Context Managers and Resource Management
      • Lesson 10 - Regular Expressions for Text Processing
      • Lesson 11 - Advanced Collections and Data Structures
      • Lesson 12 - Working with Dates, Times, and Timezones
      • Lesson 13 - Modules and Packages
      • Lesson 14 - Virtual Environments and Dependency Management
    • NumPy Fundamentals
      • Lesson 1 - NumPy Essentials and 1D Arrays
      • Lesson 2 - 2D Arrays and Working with CSV Data
      • Lesson 3 - Selecting and Slicing Data
      • Lesson 4 - Vector Operations and Calculations
      • Lesson 5 - Boolean Indexing and Data Filtering
      • Lesson 6 - Modifying Data and Assignment
    • Pandas Data Analysis
      • Lesson 1 - Introduction to Pandas and Series
      • Lesson 2 - DataFrames and Reading Data
      • Lesson 3 - Selecting Data with .loc[]
      • Lesson 4 - Selecting Data with .iloc[]
      • Lesson 5 - Series Operations and Value Counts
      • Lesson 6 - DateTime Fundamentals
      • Lesson 7 - Boolean Filtering in Pandas
      • Lesson 8 - Sorting and Ranking
      • Lesson 9 - Adding and Modifying Columns
      • Lesson 10 - Apply, Map, and Transform Functions
      • Lesson 11 - Handling Missing Data
      • Lesson 12 - Data Type Conversion and Cleaning
      • Lesson 13 - Removing Duplicates and Handling Outliers
      • Lesson 14 - Working with String Data
      • Lesson 15 - GroupBy and Aggregation
      • Lesson 16 - Pivot Tables
      • Lesson 17 - Concatenating DataFrames
      • Lesson 18 - Merging and Joining DataFrames
      • Lesson 19 - MultiIndex and Hierarchical Data
      • Lesson 20 - Window Functions and Rolling Operations
      • Lesson 21 - Final Project: Real-World Data Analysis
    • Data Visualization with Python
      • Lesson 1 - Understanding Graphs and Coordinates
      • Lesson 2 - Introduction to Matplotlib
      • Lesson 3 - Customizing Plots
      • Lesson 4 - Multiple Lines and Series
      • Lesson 5 - Scatter Plots Basics
      • Lesson 6 - Creating Scatter Plots
      • Lesson 7 - Understanding Correlation
      • Lesson 8 - Comparing Correlations
      • Lesson 9 - Understanding Distributions
      • Lesson 10 - Creating Bar Plots
      • Lesson 11 - Creating Histograms
      • Lesson 12 - Comparing Distributions
      • Lesson 13 - Pandas Plot Method
      • Lesson 14 - Creating Subplots
      • Lesson 15 - Grid Charts
      • Lesson 16 - Final Project - Traffic Analysis
  • SQL & Databases
    • Getting Started with SQL
      • Lesson 1 - Exploring Databases and Schemas
      • Lesson 2 - Columns, Data Types, and Functions
      • Lesson 3 - Filtering Rows with Numbers
      • Lesson 4 - Filtering with Text and Categories
      • Lesson 5 - Sorting and Limiting Results
      • Lesson 6 - Conditional Logic with CASE and Clean Style
      • Lesson 7 - Guided Project: Analyzing Kickstarter Campaigns
    • Summarizing Data with SQL
      • Lesson 1 - Aggregate Functions: COUNT, SUM, AVG, and More
      • Lesson 2 - Building Summary Statistics
      • Lesson 3 - Grouping Data with GROUP BY
      • Lesson 4 - Grouping by Multiple Columns and Filtering Groups
    • Combining Tables with Joins
      • Lesson 1 - Introduction to Joins
      • Lesson 2 - Joins with Filtering, Grouping, and Sorting
      • Lesson 3 - Self Joins, Outer Joins, and Cross Joins
      • Lesson 4 - Combining Results with Set Operators
    • Subqueries, CTEs, and Views
      • Lesson 1 - Scalar Subqueries
      • Lesson 2 - Multi-Row and Multi-Column Subqueries
      • Lesson 3 - Nested and Correlated Subqueries
      • Lesson 4 - Common Table Expressions (CTEs)
      • Lesson 5 - Creating and Using Views
      • Lesson 6 - Guided Project: Customer and Product Analysis
    • Window Functions
      • Lesson 1 - Introduction to Window Functions
      • Lesson 2 - Window Frames: ROWS and RANGE
      • Lesson 3 - Window Aggregate Functions
      • Lesson 4 - Ranking Functions: ROW_NUMBER, RANK, and NTILE
      • Lesson 5 - Offset Functions: LAG, LEAD, and FIRST_VALUE
      • Lesson 6 - Distribution and Percentile Functions
      • Lesson 7 - Guided Project: Sales Analytics for Northwind Traders
    • Querying Databases from Python
      • Lesson 1 - Running SQL Queries with sqlite3
      • Lesson 2 - From SQL Results to pandas DataFrames
    • PostgreSQL for Data Engineers
      • Lesson 1 - Introduction to PostgreSQL
      • Lesson 2 - Designing Tables and Choosing Data Types
      • Lesson 3 - Prepared Statements and Preventing SQL Injection
      • Lesson 4 - Loading and Copying Data
      • Lesson 5 - Managing Users and Databases
      • Lesson 6 - Project: Installing PostgreSQL Locally
      • Lesson 7 - Guided Project: Building a Crime Reports Database
    • Optimizing PostgreSQL
      • Lesson 1 - Exploring PostgreSQL Internals
      • Lesson 2 - Reading Query Plans with EXPLAIN
      • Lesson 3 - Speeding Up Queries with Indexes
      • Lesson 4 - Advanced Indexing Strategies
      • Lesson 5 - Vacuuming, Transactions, and ACID
    • Production Database Tools
      • Lesson 1 - Cloud Data Warehousing with Snowflake
      • Lesson 2 - Introduction to NoSQL Databases
      • Lesson 3 - Hands-On with MongoDB
  • Software Engineering Fundamentals
    • Lesson 1: Introduction to Software Engineering
    • Lesson 2: Implementing SDLC in Real-World Projects
    • Lesson 3: Software Development Methodologies
    • Lesson 4: Software Design and Architecture
    • Lesson 5: Design Patterns
    • Lesson 6: Object-Oriented Programming
    • Lesson 7: Clean Code and Best Practices
    • Lesson 8: Version Control with Git
    • Lesson 9: Software Testing
    • Lesson 10: Behaviour-Driven Development
    • Lesson 11: Gherkin Language
    • Lesson 12: CI/CD and DevOps
    • Lesson 13: Security Best Practices
  • Tutorials
    • Installing Python on macOS
    • Installing Python on Windows
    • How to Set Up Visual Studio Code
    • Install PostgreSQL on macOS
    • Install PostgreSQL on Windows
  • Machine Learning
    • Math Foundations for ML
      • Lesson 1 - Understanding Linear and Nonlinear Functions
      • Lesson 2 - Understanding Limits
      • Lesson 3 - Derivatives and Finding Extreme Points
      • Lesson 4 - Linear Systems
      • Lesson 5 - Vectors
      • Lesson 6 - Matrix Algebra
      • Lesson 7 - Solution Sets and Linear Independence
    • Machine Learning Foundations
      • Lesson 1 - The Machine Learning Workflow
      • Lesson 2 - Introduction to K-Nearest Neighbors
      • Lesson 3 - Evaluating Model Performance
      • Lesson 4 - Hyperparameter Optimization
      • Lesson 5 - Guided Project: Predicting Breast Cancer Diagnosis
    • Regression
      • Lesson 1 - Introduction to Linear Regression
      • Lesson 2 - Interpreting Regression Parameters
      • Lesson 3 - Checking Linear Regression Fit
      • Lesson 4 - Applying Linear Regression Models
      • Lesson 5 - Understanding Gradient Descent
      • Lesson 6 - Implementing Gradient Descent in Python
      • Lesson 7 - Gradient Descent with Scikit-Learn
      • Lesson 8 - Guided Project: Predicting Insurance Costs
    • Classification
      • Lesson 1 - Introduction to Logistic Regression
      • Lesson 2 - Interpreting the Regression Parameters
      • Lesson 3 - Evaluating Logistic Regression Models
      • Lesson 4 - Applying Logistic Regression Models
      • Lesson 5 - Guided Project: Classifying Heart Disease
    • Trees & Ensembles
      • Lesson 1 - Foundations of Decision Trees
      • Lesson 2 - Building Decision Trees with Scikit-Learn
      • Lesson 3 - Evaluating and Optimizing Decision Trees
      • Lesson 4 - Cross-Validation and Ensemble Methods
      • Lesson 5 - Guided Project: Predicting Employee Productivity
    • Model Optimization & Feature Engineering
      • Lesson 1 - Feature Engineering
      • Lesson 2 - Model Selection
      • Lesson 3 - Cross-Validation
      • Lesson 4 - Regularization
      • Lesson 5 - Going Beyond Linear Models
      • Lesson 6 - Guided Project: Optimizing Model Prediction
    • Unsupervised Learning
      • Lesson 1 - Introduction to Unsupervised Learning
      • Lesson 2 - The Iterative K-Means Algorithm
      • Lesson 3 - Choosing the Number of Clusters with the Elbow Method
      • Lesson 4 - K-Means with Scikit-Learn and Interpreting Results
      • Lesson 5 - Guided Project: Wholesale Customer Segmentation
    • Deep Learning Foundations
      • Lesson 1 - Introduction to Neural Networks
      • Lesson 2 - Math and NumPy Foundations for Neural Networks
      • Lesson 3 - Gradient Descent for Neural Networks
      • Lesson 4 - Backpropagation
      • Lesson 5 - Optimizers: SGD, RMSprop, and Adam
      • Lesson 6 - Regularizing Neural Networks
    • Deep Learning with PyTorch
      • Lesson 1 - Deep Learning Fundamentals
      • Lesson 2 - Tensors and Autograd in PyTorch
      • Lesson 3 - Building Neural Networks with nn.Sequential
      • Lesson 4 - Training Neural Networks
      • Lesson 5 - Deep Networks and Regularization
      • Lesson 6 - Guided Project: Predicting IPO Listing Gains with PyTorch
    • Deep Learning with TensorFlow
      • Lesson 1 - Deep Learning Fundamentals
      • Lesson 2 - Introduction to TensorFlow Operations
      • Lesson 3 - Building a Shallow Neural Network with the Sequential API
      • Lesson 4 - Multi-Layer Deep Learning Models
      • Lesson 5 - Deep Learning with the Keras Functional API
      • Lesson 6 - Guided Project: Predicting IPO Listing Gains with TensorFlow
    • Computer Vision with CNNs
      • Lesson 1 - Introduction to Convolutional Neural Networks
      • Lesson 2 - CNN Architecture
      • Lesson 3 - Regularization in Deep Learning
      • Lesson 4 - Advanced CNN Architectures
      • Lesson 5 - Transfer Learning
      • Lesson 6 - Guided Project: Detecting Pneumonia from X-Ray Images
    • Sequence Models (RNNs & LSTMs)
      • Lesson 1 - Introduction to Recurrent Neural Networks
      • Lesson 2 - Basic RNN Architecture
      • Lesson 3 - Advanced RNN Architecture: GRU and LSTM
      • Lesson 4 - Adding Convolutional Layers to RNNs
      • Lesson 5 - Time-Series Forecasting with RNNs
      • Lesson 6 - Guided Project: Forecasting the S&P 500
    • NLP with Deep Learning
      • Lesson 1 - Introduction to Natural Language Processing
      • Lesson 2 - Text Vectorization and Word Embeddings
      • Lesson 3 - Building Text Classification Models
      • Lesson 4 - Building Sequence Models for Text
      • Lesson 5 - Building Text Models with Transformers
      • Lesson 6 - Guided Project: Classifying Disaster Tweets
DATATWEETS
  • Course Catalog
  • Learn Python
  • Tutorials
  • Blog
  • About Me
  • X
  • GitHub
Get Started
Get Started

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

Module · 5 lessons

Classification

Predict categories with logistic regression and measure classifiers with the right metrics.

Start module Back to Machine Learning

At a glance

Level
Intermediate
Lessons
5 lessons
Time to complete
1–2 weeks
Cost
Free forever · no sign-up

Classification predicts categories: spam or not, healthy or at risk, churn or stay. This module teaches logistic regression from the ground up, including the sigmoid function, how to interpret the model, and how to evaluate classifiers with precision, recall, and ROC curves.

Lessons in this module

1 Introduction to Logistic Regression Learn why classification needs a different model than regression and build your first logistic regression classifier with scikit-learn 2 Interpreting the Regression Parameters Fit a logistic regression with scikit-learn and learn to read its coefficients as log-odds and odds ratios 3 Evaluating Logistic Regression Models Go beyond accuracy and evaluate a logistic regression classifier with the confusion matrix, sensitivity, specificity, and precision 4 Applying Logistic Regression Models Turn a trained logistic regression into real decisions using predicted probabilities, decision thresholds, and the ROC curve 5 Guided Project: Classifying Heart Disease Apply the full classification workflow end to end by building a logistic regression model that predicts heart disease from real clinical data
Achievement

Complete all 5 lessons to finish the Classification module.

Start module
  • About
  • Privacy
  • Terms
  • Contact
  • Brought to you by Datatweets © 2026