CSCI 2244-- Randomness and Computation
Spring 2025 at Boston College
Instructor: Jessie Finocchiaro
Tuesday, Thursdays 10:30-11:45a, 245 Beacon St Room 229
Email: {first name}.{last name}@bc.edu
Office hours: TBD What are office hours?
Class Calendar (office hours, due date reminders, etc.) Must be logged in to BC account.
This is a draft of the course plan. Some details sucject to change.
Please note: Prof. Alvarez is teaching another section of this course. The content will be similar, and most policies the same.
Course description
CSCI 2244 provides an introduction to fundamental concepts and tools that enable advanced work in modeling and computation involving randomness. The focus is on discrete probability. Topics include probability spaces, random variables, conditional probability, limit theorems, and Markov chains. Selected topics in linear algebra are discussed in connection with the analysis of covariance. Randomness in the sense of algorithmic succinctness (e.g., Kolmogorov complexity) is mentioned in passing, but is not discussed at length. Computational illustrations in Python are given throughout the course.
Prerequisites: The official prerequisites for CSCI 2244 are Computer Science I (CSCI 1101), calculus (MATH 1102/1103 or equivalent), and either CSCI 2243 Logic & Computation or MATH 2216 Introduction to Abstract Mathematics. In particular, students entering CSCI 2244 should be comfortable with fundamental programming techniques, differential and integral calculus with functions of one real variable, boolean algebra of sets, recursion and induction, and basic mathematical reasoning. Writing short programs in Python will be required in some of the problem sets. Please install Python 3.9 or higher, if you don’t already have it.
If your CS1 course did not use Python as the programming language, don’t panic. Python is easy to learn, and you won’t need all of its features right away. See the Python docs to get started.
Course learning goals
My goals for you in this course are to help you develop a solid intuition for mathematical reasoning (applied to computers). That is, I hope you can use the language of probability to understand and describe the world around you– particularly in the tech you’re developing.
Tentative schedule
Week | Topic | Text reference | Assignments/Activities |
---|---|---|---|
1/14 | Introduction, probability mass function, prob. axioms | Chapters 1-2 | PS 0, Install Python |
1/21 | Independent events, uniform distribution, counting principles | Chapter 2 | PS 1 due Jan 24 |
1/28 | Permutations, Combinations, Discrete RVs | Chapters 2-3 | PS 2 due Jan 31 |
2/4 | Cumulative distribution functions, expected value | Chapter 3 | PS 3 due Feb 7 |
2/11 | Variance, Markov and Chebyshev inequalities | Chapter 3 | Exam 1 on Feb 14 |
2/18 | Continuous RV PDFs, transformations of RVs | Chapter 4 | PS 4 due Feb 21 |
2/25 | Law of large numbers, CLT, Conditional Probability | Chapters 5-6 | PS 5 due Feb 28 |
3/4 | Spring break | Enjoy the break! | |
3/11 | Bayes’ rule, 2-dim RVs, joint distributions, marginals | Chapters 6-7 | PS 6 due March 14 |
3/18 | Covariance, matrix arithmetic, correlation | Chapters 7-8 | Exam 2 on March 21 |
3/25 | Sample covariance, covariance after linear transformations | Chapter 8 | none |
4/1 | Decorrelating data, eigenvectors | Chapter 8 | PS 7 due April 4 |
4/8 | Principal axes, projections, PCA | Chapter 8 | PS 8 due April 11 |
4/15 | Markov chains, equilibrium, absorbing states | Chapter 9 | PS 9 due April 19 |
4/22 | Catch up, review | The whole thing | Last week of class! |
Grading and late policies
Grades will be composed of 3 aspects: problem sets, in-class exams, and participation. The assignments and exams will be synced across sections. Deadlines are at 11:59pm on Fridays.
Homework
Problem sets will be due on Canvas most Fridays (check each problem set on Canvas for possible exceptions). You must submit at least six problem sets that demonstrate a serious attempt at completion in order to be eligible for a passing grade in the course. Each problem set will be posted approximately one week before the due date.
Late submissions will receive no credit except in very unusual circumstances (at the discretion of the instructor). However, I will drop your lowest homework grade (such as a zero from a missed assignment) no questions asked. The average score on the problem sets will contribute 10% of your course grade.
Your work on the problem sets will be crucial in developing a mastery of the material. Think twice before deciding to skip a problem set or not do it fully, as this will likely negatively impact your performance on exams.
In-class exams
Three exams will be given before the end of classes (see the schedule for dates). The exams will cover material from class, from the problem sets, and from the book. You may use your own cheat sheet (single-sided sheet of letter-sized paper of your own notes) during exams. No sharing of materials or information is allowed. The average of each student’s exam scores will contribute 80% of their course grade. Brief quizzes may also be given during some class periods, possibly without prior notice. The overall quiz score will count as 10% of the course grade.
There will be no make-up exams or quizzes. In order to allow for unexpected events, I will drop each student’s lowest quiz score.
Participation
Showing up to class and without engaging does not count as participating. This class is hard for a lot of folks, but engaging with the material and putting in hard work might help round your grade up from, for example, a B to B+, or A- to A. Moreover, engaging with the material is the best way to actually learn it (what we’re all here for!)
In lieu of a hard participation grade, I ask that you write a one-to-two sentence summary of the class by noon the following day, and ask any questions about concepts you didn’t fully understand. We will spend the first few minutes of the following class recapping and answering these questions.
Required texts and materials
No textbooks are required to purchase for this course, though the following will be helpful resources:
- Prof Alvarez’s textbook for the course (on Canvas)
- Grinstead and Snell’s Intro to Probability
- Mitzenmacher and Upfal’s Probability and Computing
Communication expectations
I will do my best to be generally responsive, while still protecting my personal boundaries. In general, the best way to contact me is by email.
I will do my best to respond to emails within 24 hours (excluding weekends, which might delay responses), and I expect you to do the same. When grading, I will do my best to have grades uploaded to the portal within a week, but will let the class know if this isn’t attainable.
In writing your emails, please write in complete sentences and take the time to give more context on your problem than you think I need. It will help me get a better idea of your understanding and thinking, and I can provide better feedback with this in mind.
Accommodations and accessibility
Your experience in this class is important to me. If you have already established accommodations with Connors Family Learning Center (learning disabilities and ADHD) and/or Disability Services (all other disabilities), please communicate your approved accommodations to me at your earliest convenience so we can discuss your needs in this course.
If you have or suspect you have a disability but have not yet established services through the Connors Family Learning Center or Disability Services, you can see the relevant website for information about the registration process.
Each office provides resources and coordinates reasonable accommodations for students. Reasonable accommodations are established through an interactive process between you, your instructor, and the relevant office. It is the policy and practice of Boston College to create inclusive and accessible learning environments consistent with federal and state law.
Class recording policy
Boston College seeks to protect the integrity of what transpires in the classroom among students and professor, any course materials prepared by the professor, and the privacy of students and faculty. With this in mind, you are prohibited from recording (audio or video) any lectures, seminars, or other classroom activities without the express permission of the instructor. Authorized recordings (including any made in order to accommodate ADA considerations) and all other course materials (including any materials posted on Canvas) may only be used for the purposes of an individual’s (or group’s) study in the course, and may not be shared with any wider audience on or off campus unless the instructor has explicitly given such permission.
This class or portions of this class will be recorded by the instructor for educational purposes. These recordings will be shared only with students enrolled in the course and will be deleted at the end of the end of the course.
If you ask, I will probably give permission. However, I don’t want to be recorded without my knowledge. That already happens enough in the rest of our lives.
Religious accommodation
Both Massachusetts law and my humanity beg that I make reasonable accommodations to help students avoid negative academic consequences when their religious obligations conflict with academic requirements. I commit to making every reasonable effort to allow students to observe their religious holidays without jeopardizing your success in this course, and I will not ask you to choose between religious observance and academic work, though you will have to make up any work missed during your absence. Please let me know as early as possible if you notice any conflicts between requirements for this course and your religious observances, so that we can agree to a solution.
Inclusion and incident reporting
I expect you to be respectful of everyone in the learning environment (including myself) who share their experiences and to not minimize or dismiss someone’s emotions or experience. We are all here to learn from each other.
Professional courtesy and sensitivity are especially important with respect to individuals and topics dealing with differences of race, culture, religion, politics, sexual orientation, gender, gender variance, and nationalities. Class rosters are provided to the instructor with the student’s legal name. I will gladly honor your request to address you by an alternate name or gender pronoun. Please advise me of your name and pronouns early in the semester so that I may make appropriate changes to my records. You can also update your name and pronouns in Canvas at any time. You can also review the Name Change resource from the Office of Student Services for more information about how you can update your name in various campus systems. If you are an LGBTQ+ student looking for additional support as you prepare to discuss your name or pronouns on campus, you are encouraged to contact Ira Kirschner, Associate Director, Thea Bowman AHANA and Intercultural Center.
In order to advance Boston College’s goal of creating a community in which everyone is treated with respect, dignity, and compassion and where acts of prejudice, hatred, and discrimination are not tolerated, the university created the bias-related incident reporting form. This form allows targets and witnesses to hate crimes or bias-related incidents to easily report the behavior and get connected to networks of care. In subsequent conversations with the Dean of Students Office, students can also get a better handle on the available institutional processes for addressing harm. You can learn more about the process at the Hate Crimes & Bias-Related Incidents Protocol website.
Classroom technology policy
A note on cell phones, texting, and checking one’s email during class: Research has shown us that even having our cell phones on the table in front of us diminishes our ability to learn well; further, taking notes via computer diminishes one’s ability to process information. Checking texts, emails, and messages is also unprofessional and disrespectful to our class community. Please turn off your phone, email, and computer during class; I will do so as well. I appreciate your cooperation with this important aspect of creating a class of which we all want to be a part. If there is a one-time exception (e.g., waiting on news for a family event), please let me know and I will generally be okay with making an exception.
On generative AI: Think of GenAI models like an electric bike. While they have their place and can help cyclists with active recovery, no one will become an elite road cyclist by solely riding an e-bike. In the same way, a LLM doing your homework for you will not help you become a better computer scientist. (Analogy courtesy of Bo Waggoner.)
With that said, BC does have a Microsoft Copilot license to make LLMs available to you.