Math for Data Science
Spring 2025
Office Location:
Duke Hall #209
Phone: 909-748-8630
E-Mail: joanna_bieri@redlands.edu
(Email or Teams are my preferred contact methods)
-
Link to our Canvas - for submitting work and checking grades
-
Important Course Documents
Course Syllabus
Schedule of Topics - Updated 2/11
NOTE: as the semester progresses we may change up the schedule a bit to suit our class pace and interests. The most recent schedule will be posted here.
-
Daily Assignments - Reading - Handouts
-
Day 1 - Wednesday - 1/8 - Click Here
PRE-CLASS:None
CLASS TIME:Talk about syllabus and class expectations
AFTER CLASS:
Math self assessment and warm-up
Lecture Notes
In this class we will use Python to do hard calculations, graph functions, and analyze data. You can decide if you want to use Anaconda Python (Jupyter Lab) on your own computer or use Google Colab (cloud computer).
Code for Lecture Notes
Start Prepping for Day 2
Take the survey - posted on canvas - part of the Day2 Class Preparation Assignment
-
Day 2 - Friday - 1/10 - Click Here
PRE-CLASS:Choose one:
CLASS TIME:
1. Install Anaconda Python (Jupyter Lab) on your own computer.
2. Use a google account to get access to Google Colab (cloud computer).
Please come to class with a laptop running one of these two options.
Don't forget to do the Day2 Class Preparation Assignment before class!Introduction to Python basics.
AFTER CLASS:
Math Fundamentals
Python-Math Examples Notebook.
Lecture Notes.
Practice deeply thinking about mathematical ideas! Today you will choose an area of math to review/deeply think about. You will bring a "Mathematical Deep Thinking" example to next class to share.
Start Prepping for Day 3
-
Day 3 - Monday - 1/13 - Click Here
PRE-CLASS:Finish the Python-Math Examples from our Python Notebook in last class.
CLASS TIME:
Prepare your "Mathematical Deep Thinking" mini-presentation.
Don't forget to do the Day3 Class Preparation Assignment before class!Math Fundamentals Review "Mathematical Deep Thinking" mini-presentation
AFTER CLASS:
Translating math Fundamentals into Python
Python-More Math Examples Notebook.
Lecture Notes.
Start Prepping for Day 4
Start working on Homework 1 (due 1/17) - available on Canvas.
-
Day 4 - Wednesday - 1/15
PRE-CLASS:Finish the Python-More Math Examples from our Python Notebook in last class.
CLASS TIME:
Don't forget to do the Day4 Class Preparation Assignment before class!
Reading: Essential Math for Data Science -- pages 2-6. Make sure you are taking some notes, especially where things seem confusing. In class we will talk about how these ideas translate to python.Number Theory and Order of Operations
AFTER CLASS:
Python Variable Types
Day4 Student Notebook.
Lecture Slides.
Lecture Notes.
Solutions to Math Fundamentals Days 1-3
Start Prepping for Day 5 Start working on Homework 1 (due 1/17) - available on Canvas.
-
Day 5 - Friday - 1/17
PRE-CLASS:Get as far as you can on Homework 1 (due 1/17) - available on Canvas. Come to class with questions! Don't forget to do the Day5 Class Preparation Assignment before class!
CLASS TIME:
Defining Variables and Functions
AFTER CLASS:
Empirical Modeling
Linear Regression
Day5 Student Notebook.
Lecture Slides.
Lecture Notes.
Start Prepping for Day 6
Don't forget to submit Homework 1 on Canvas by 11:59pm
- No Class - 1/20/25 - Martin Luther King Jr. Holiday
-
Day 6 - Wednesday - 1/22
PRE-CLASS:Finish the Linear Regression Homework assigned last class - hand it in on Canvas Day6
CLASS TIME:
Polynomial Functions, Rationals, Square Roots
Curvilinear Models
Day6 Student Notebook.
Lecture Slides.
Lecture Notes.
Start Prepping for Day 7
-
Day 7 - Friday - 1/24
PRE-CLASS:Start Homework 2 - do the parts that contain Linear and Polynomial Regression - hand it in on Canvas Day7
CLASS TIME:
Finish the Non-Linear Regression Discussion
Day7 Student Notebook.
Lecture Slides.
Lecture Notes.
Look at Review Materials
Start Prepping for Day 8
-
Week of 1/27-1/31 No Class - Review Materials
This week is your chance to get caught up on the content of the class. Here are some things you should be able to do:- All of the foundational algebra we reviewed.
- Using sympy to check your algebra answers.
- Knowing basic function families and what they look like.
- Plotting a basic function in Python (given code outline).
- Doing a linear or polynomial regression (given code outline).
- Choose the order of polynomial to use in a regression (ocams razor).
- Based on graphs and metrics (R^2 or MSE) talk about how well a regression worked.
- Given some data say what types of functions might fit that data.
- Know how to transform a function.
To review algebra - go back to the book chapter that was attached to Homework 1 and practice those problems. The answers are at the end!
To review other ideas - go back through the YOU TRY problems in the lectures.
REVIEW VIDEOS
Exponents.
Logarithms.
Let me know what other review you would like!
-
Day 8 - Monday - 2/3
PRE-CLASS:Finish the Dehli Climate Data Regression - hand it in on Canvas Day8
CLASS TIME:
Exponential and Logarithmic Functions
Regression with Exp and Log
Day8 Student Notebook.
Lecture Slides.
Lecture Notes.
Exam 1 on Friday
Start Prepping for Day 9
- Wednesday - 2/5 - Sick Day - boo!
-
Day 9 - Friday - 2/7
PRE-CLASS:Finish the Covid analysis (logistic curve fit) for a new country - hand it in on Canvas on Monday 2/10
CLASS TIME:Exam Review!
AFTER CLASS:
Practice Exam Student Notebook.
Practice Exam Lecture Notes.
Practice Exam - Rough Solutions.Exam 1 on Monday
Study for the Exam!
-
Exam 1 - Monday - 2/10
PRE-CLASS:Study for the exam.
CLASS TIME:
Exam 1None - Take a break!
-
Wednesday - 2/12
PRE-CLASS:No pre-class work
CLASS TIME:
Today we start our discussion of Calculus topics
Limits
Day10 Student Notebook.
Lecture Slides.
Lecture Notes.
Finish the YouTry problems from lecture.
-
Friday - 2/14
PRE-CLASS:Submit your notebook with the completed You Try problems.
CLASS TIME:
Derivatives
Day11 Student Notebook.
Lecture Slides.
Lecture Notes.
Finish the You Try problems from lecture. Make sure you work to learn what the derivative can tell us: Increasing, Decreasing, Tangent Line, Rate of Change, Slope...
-
Wednesday - 2/19
PRE-CLASS:Submit your notebook with the completed You Try problems from last class.
CLASS TIME:
Derivatives and Applications
Day12 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems from in class
Start working on Homework 4
Optional - do Homework 3 - to earn extra credit back on Exam1
-
Friday - 2/21
PRE-CLASS:Submit your notebook with the completed You Try problems from last class.
CLASS TIME:
Derivatives and Optimization
Day13 Student Notebook.
Lecture Slides.
Lecture Notes.
Finish and submit Homework 4
Keep working on the You Try problems for next class.
-
Monday - 2/24
PRE-CLASS:Submit your notebook with the completed You Try problems from last class.
CLASS TIME:
Partial Derivatives
Day14 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
Exam 2 on Friday - Review Derivatives and Polynomial Regression
-
Wednesday- 2/26
PRE-CLASS:Submit your notebook with the completed You Try problems from last class.
CLASS TIME:
Finish up partial derivative
Review for Exam 2 - which will be more like a quiz! Exam Review Student Notebook.
Exam Review Solutions.
Solutions to You Try problems about Limits, Derivatives, and Optimization.
Study for Exam 2
-
Exam 2 - Friday - 2/28
PRE-CLASS:Study for the exam.
CLASS TIME:
Exam 2None - Take a break!
- Spring Break - 3/3-3/7
-
Monday - 3/10
PRE-CLASS:Welcome back from break!
CLASS TIME:
Integrals
Day16 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
-
Wednesday - 3/12
PRE-CLASS:Submit the You Try problems
CLASS TIME:
Probability
Day17 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
-
Monday - 3/17
PRE-CLASS:Submit the You Try problems
CLASS TIME:
Conditional Probability
Day18 Lecture Video - Conditional Probabilities.
Day18 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
No new weekly homework this week - use this time to redo exam problems!
-
Wednesday - 3/19
PRE-CLASS:Submit the You Try problems from last class
CLASS TIME:
Probability Distributions
Day19 Lecture Video - Probability Distributions - Binomial Distribution - Pop Quiz.
Day19 Lecture Video - Example of Binomial Distribution - You Try.
Day19 Lecture Video - Probability Distributions - beta Distribution - You Try.
Day19 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
No new weekly homework this week - use this time to redo exam problems!
-
Friday - 3/21
PRE-CLASS:Submit the You Try problems from last class
CLASS TIME:
In Class Practice - Lab Probability
Day20 Student Notebook.
Submit the Student Notebook for next class
No new weekly homework this week - use this time to redo exam problems!
-
Monday - 3/24
PRE-CLASS:Submit the Lab Solutions from last class
CLASS TIME:
Day20 - Solutionsk.
Normal Distribution
Day21 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
-
Wednesday - 3/26
PRE-CLASS:Submit the You Try problems from last class
CLASS TIME:
Normal Distribution
Day22 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
-
Friday - 3/28
PRE-CLASS:Submit the You Try problems that finish up the Student Notebook from the Normal Distribution, and the problems we worked on in class for the Hypothesis Testing Day.
CLASS TIME:
Finish Up Hypothesis Testing
Exam Review
Day23 Student Notebook - Exam Review.
Exam Review Solutions.
Hand in the Exam Review Notebook as Homework 5 - hand this in before the exam.
-
Monday - 3/31 - Exam 3
PRE-CLASS:Study for the exam
CLASS TIME:
Exam 3Take a break!
-
Wednesday - 4/2
PRE-CLASS:Nothing to submit - make sure you handed in Homework 5
CLASS TIME:
Intro to Linear Algebra - Vectors - KNN
Day24 Student Notebook.
Lecture Slides.
Lecture Notes.
Keep working on the You Try problems for next class
-
Friday - 4/4
PRE-CLASS:Submit the You Try problems from last lecture
CLASS TIME:
More Linear Algebra
Day25 Student Notebook.
Lecture Slides.
Lecture Notes.
Do all of the you try problems and submit them for next class.
-
Monday - 4/7
PRE-CLASS:Submit the You Try problems from last lecture
CLASS TIME:
Determinants and Eigenvalues/vectors
Day26 Student Notebook.
Lecture Slides.
Lecture Notes.
Do all of the you try problems and submit them for next class.
-
Wednesday - 4/9
PRE-CLASS:Submit the You Try problems from last lecture
CLASS TIME:
Determinants and Eigenvalues/vectors
Day27 Student Notebook.
Lecture Slides.
Lecture Notes.
Do all of the you try problems and submit them for next class.
-
Friday - 4/11
PRE-CLASS:Submit the You Try problems from last lecture
CLASS TIME:
Exam Review
Day28 Student Notebook - Exam Review.
Exam Review Solutions.
Study for the exam!
Hand in the Exam Review Notebook as Homework 6 - hand this in before the exam.
-
Monday - 4/14 - Exam 4
PRE-CLASS:Study for the exam
CLASS TIME:
Exam 4Take a break!
Each day I will post the lecture videos, homework, additional reading, and other information. Make sure to check here for each day of class. -
Day 1 - Wednesday - 1/8 - Click Here
-
Homework Solutions - Exam Review
All Practice Problems and Programming Assignment solutions are available on Canvas
Link to the Book - No BS guide to Math and Physics
Link to the Book - Essential Math for Data Science