This project-based course introduces fundamental concepts and techniques in artificial intelligence and data science, covering topics such as machine learning, data analysis, and algorithmic decision-making.
Dr. Peilong Li
Esbenshade 284B
By email
4
(Required)
CS 250: Foundations of AI and Data Science.
ZyBooks.
Sign-up with: link.
Enter zyBooks code: ETOWNCS250LiFall2024, then subscribe.

(Optional) Gareth James, et al.
An Introduction to Statistical Learning with Applications in Python (ISLP).
2023, Springer.
ISBN: 978-3-031-39189-7.
E-copy: link

This hands-on, project-based course introduces data science, blending computer science and statistics to extract insights from diverse datasets. Students master Python’s data science tools, including Jupyter, NumPy, Pandas, and Scikit-learn, and apply advanced visualization techniques. The curriculum emphasizes statistical understanding and analytical models like regression and clustering. A key focus is on data storytelling, enabling students to effectively communicate complex insights, bridging technical analysis with strategic decision-making.
Note this tentative schedule is subject to change. Please check the schedule regularly.
Last updated: 08/24/2022
| Week | Starting | Topics | Reading | Notes |
|---|---|---|---|---|
| 1 | 8/26/24 | M: Lec1: Course introduction | Mon: HW1 out. | |
| W: Lec2: Introduction to data science | Week 01-1 | |||
| F: Lec3: Review Python for data science | Week 01-2 | |||
| 2 | 9/2/24 | M: Labor Day, No Classes | ||
| W: Lec4: Numpy arrays and array indexing | Week 02-1 | |||
| F: Lec5: Numpy array operations | Week 02-2 | |||
| 3 | 9/9/24 | M: Lab1: Numpy | Week 03-1 | Mon: HW 1 due; HW2 out; |
| W: Lec6: Pandas - Series and DataFrame | Week 03-2 | Mon: Team formation due | ||
| F: Lec7: Pandas - groupby, concat, merge | Week 03-3 | |||
| 4 | 9/16/24 | M: Lec8: Pandas - IO and methods | Week 04-1 | Mon: Paper reading open. |
| W: PE1: Pandas exercises | Week 04-2 | |||
| F: Lab2: Pandas | Week 04-3 | |||
| 5 | 9/23/24 | M: Lec9: Data visualization - Matplotlib, Pandas | Week 05-1 | Mon: HW2 due; HW3 out. |
| W: Lec10: Data visualization - Seaborn | Week 05-2 | |||
| F: Lec11: Data visualization - Plotly | Week 05-3 | |||
| 6 | 9/30/24 | M: Lab3: Visualization | Week 06-1 | Mon: Project proposal due. |
| W: Lec12: Basic statistics | Week 06-2 | |||
| F: Lec13: More on Statistics and probability | Week 06-3 | |||
| 7 | 10/7/24 | M: Lec14: Module 1 summary and exam 1 preview | Week 07-1 | |
| W: Exam 1 | ||||
| F: Fall Break, No Classes | ||||
| 8 | 10/14/24 | M: Lec15: Intro to machine learning | Week 08-1 | Mon: HW3 due. |
| W: Lec16: Linear regression | Week 08-1 | |||
| F: PE2: Linear regression exercises | Week 08-3 | |||
| 9 | 10/21/24 | M: Lec17: Logistic regression Part 1 | Week 09-1 | Mon: Paper reading due; HW4 out. |
| W: Lec18: Logistic regression Part 2 | Week 09-2 | |||
| F: Lec19: K nearest neighbors | Week 09-3 | |||
| 10 | 10/28/24 | M: PE3: Classification | Week 10-1 | Fri: Project milestone due. |
| W: Lab4: Classification | Week 10-2 | |||
| F: Lec20: K-means clustering | Week 10-3 | |||
| 11 | 11/4/24 | M: PE3: K-means exercises | Week 11-1 | Mon: HW4 due; HW5 out. |
| W: Lab5: Clustering | Week 11-2 | |||
| F: Lec21: Dimensionality reduction | Week 11-3 | |||
| 12 | 11/11/24 | M: PE4: PCA | Week 12-1 | Mon: Paper presentation due. |
| W: Paper presentation group 1 | ||||
| F: Paper presentation group 2 | ||||
| 13 | 11/18/24 | M: Lec22: Support vector machine | Week 13-1 | |
| W: PE5: SVM | Week 13-2 | |||
| F: Lab6: SVM | Week 13-3 | |||
| 14 | 11/25/24 | M: Exam 2 | Mon: HW5 due. | |
| W: Virtual Day - Project update and discussion | ||||
| F: Thanksgiving Break, No Classes | ||||
| 15 | 12/2/24 | M: Project presentation group 1 | Mon: Project presentation slides due at noon. | |
| W: Project presentation group 2 | ||||
| F: Project presentation group 3 | ||||
| 16 | 12/9/24 | M: No Classes | ||
| W: No Classes | ||||
| Thursday: 2:30-5:30 PM, Project presentation backup day | Thurs: Project final paper and code due at midnight. |
The final grade for this course depends upon the grades and scores earned on course components weighted as follows:
Grades will be computed by rounding numerical percentages to the nearest integer and applying the following table:
| Letter | Range | Letter | Range | Letter | Range |
|---|---|---|---|---|---|
| A | 93-100 | B- | 80-82 | D+ | 67-69 |
| A- | 90-92 | C+ | 77-79 | D | 63-66 |
| B+ | 87-89 | C | 73-76 | D- | 60-62 |
| B | 83-86 | C- | 70-72 | F | 0-59 |
All labs are to be done individually, in class, with the assistance of the instructor. Each assignment will be given near the beginning of a class and must be uploaded to Canvas before the due time. Some of the labs allow for late submission till midnight with late penalty, but no submission is allowed beyond the lab day. To receive full credit, a programming assignment must have no code exceptions, but partial credit will be awarded based on the understanding of the material demonstrated by the student’s code.
All homework assignments have to be completed individually in this course. Homework assignments are meant to be more comprehensive tasks that may need additional reading and research. Homework assignments are to be completed in a week or two.
Late Policy
Late assignment will lose points per day, including weekends and holidays. For example, -1 after 1 day, -2 after 2 days, -4 after 3 days … until 8+ days students will receive 0 score. Under no circumstances should any student disclose their code, or copy the code written by other students or from an outside source. Both students will receive 0 score on the disclosed/copied assignment.
Presenting data analysis results to public is one of the highly sought skills from data science employers.
Students are required to form a team of two and read at least one technical paper from the provided paper list (or other papers agreed by the instructor). Students need to complete 1) an individual paper reading assignment in the middle of the semester; and 2) team-present the paper to the instructor and their peers during the end of the semester. The grading of the paper presentation consists of 50% from peers and 50% from the instructor. The evaluation rubrics will be provided via Canvas.
The final project best demonstrates students’ understanding of the lecture contents and their capability of solving real data science problems. Students are encouraged to form teams of no more than 2 people. A single solo project is allowed if class size is odd. Topics of the final project are left open for the teams to find, but the final choice has to be decided upon the instructor’s agreement. A good list of potential projects can be found at Kaggle and Public Datasets. Teams are responsible for finding the project of their interest and discussing the project feasibility face-to-face with the project manager, a.k.a., the instructor 1 week before the project proposal is due. Project formation is on a rolling basis, meaning formerly finalized projects cannot be taken again by another team. The grading of the final project consists of four major aspects:
The requirements and grading rubric for each component of the project will be posted on Canvas. Under no circumstances should any student copy the code from an outside source. Source code similarity tools will be used to detect plagiarism.
Note:
There is a potential pitfall of using open datasets to introduce data science that some students want to leverage. I want to be crystal clear that the point of this project is to learn as much as possible. The point of this project is not to achieve the most intriguing results on the Kaggle leaderboard. For instance, if you copied some code you didn't understand and used it to get very compelling analytical results, I would consider this a very poor project. However, if you thoughtfully try various strategies, incorporate lots of interesting learning resources, and do a good job communicating with your peers regarding what worked and what didn't, I would consider that highly successful even if your results were not the best.
Grading rubrics for code submission in terms of percentage:
Jupyter notebooks are the files you need to submit for labs and homework assignments.
Thorough engagement with each section of the reading. Each exercise has either been completed, or you have articulated a well-thought out set of questions for each of the problems you didn’t answer. Points will be deducted from 100% for the following reasons:
Writing will be evaluated for clarity, concision, and comprehensiveness. The particular style that you should use will depend on the assignment and your audience. The bottom line is don’t cut corners with writing in this class. Your ability to communicate what you have done is just as important as what you have done. Don’t make the mistake of spending all of your time writing code, and then rush through the writing parts of the assignment. See below for some stylistic guidance.
The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/cs250/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each week and 3) special notes on specific days.
All course announcements will be sent to your E-Town email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.
I have created a Microsoft Teams channel (link) to facilitate course related discussion. Discussions are encouraged to be posted on the “QA” channel from Teams. Private instant messages can be sent directly to your recipient by search your recipient’s name on the “search” bar.
Attendance is expected of every student at every lecture. Students are responsible for all content covered in class as well as assigned book chapters. Due to their nature, pop quizzes cannot be made up.
Except in the case of documented emergencies, neither exams nor in-class labs can be made up afterwards. For excused absences, students must arrange to take the exam or do the lab before the normally scheduled time. Arrangements must be made with the instructor at least two weeks prior to the scheduled time.
Students are expected to maintain an attitude of respect at all times toward their colleagues, the equipment, and the instructor. Cell phones and similar devices is prohibited from using during lecturing time. Students who use offensive language, misuse computing facilities, or are otherwise disruptive of the classroom will be asked to leave.
In the event that classes do not meet because Elizabethtown College is closed or delayed due to inclement weather or some other emergency, the slides that would have been covered during the missed classes will be posted through Canvas. Students are expected to do the assigned reading, review the slides, and e-mail the instructor with any questions. There will also be an opportunity to ask questions about the material when classes resume.
If a scheduled exam or lab is missed, it will normally be made up on the day that classes resume. If the College is closed on a day when a project is due, the project due date will also normally be extended until the day when classes resume. If circumstances render either of these makeup policies unreasonable, the instructor will send an e-mail explaining an alternative makeup opportunity to each student’s Elizabethtown e-mail account.
Check out the up-to-date statement from: Elizabethtown College Catalog, “Academic Judicial System”
The use of GenAI tools like ChatGPT to generate source code is prohibited for your assignments in this course unless otherwise noted in the syllabus. Therefore, your instructor will consider it a violation of academic integrity to use a GenAI tool for any purpose that is not explicitly outlined in assignment instructions. While this new technology can be very useful in certain contexts, it is important to make sure that its usage in the classroom setting is limited in order to ensure that you are doing original work and developing your critical thinking skills. In circumstances in which AI usage is permitted in class, you must acknowledge that usage and provide the chatbot with credit when it is a cited source. For instance, to cite ChatGPT in APA, the APA provides some direction at https://apastyle.apa.org/blog/how-to-cite-chatgpt. If you have any questions or uncertainty over the use of AI in this course, please reach out to the instructor.
Full statement can be found at: Course Syllabus on Disability Services, Religious Observances, and COVID related expectations.
In recognition of the diverse linguistic backgrounds of our international students, we offer several accommodations to ensure a fair and supportive learning environment.
If you require these or other accommodations, please communicate your needs in advance so appropriate arrangements can be made.
I consider this classroom to be a place where you will be treated with respect, and I welcome individuals of all ages, backgrounds, beliefs, ethnicities, genders, gender identities, gender expressions, national origins, religious affiliations, sexual orientations, ability - and other visible and non-visible differences. All members of this class are expected to contribute to a respectful, welcoming and inclusive environment for every other member of the class.
In this course, the only software you’ll need to install is the Anaconda Individual Edition. Anaconda is a widely-used data science platform that includes nearly all the packages you’ll need for Python and R. Please download the Python 3.10+ version from the following link, choosing the installer that matches your operating system: https://www.anaconda.com/products/individual.
Note:
Anaconda is also available on the computers in the Esbenshade 281, Hoover 108 and Nicarry 208 computer laboratories and in the Computer Science commons area (E284).
Archived from Peilong/Peilong.github.io@dbe7de4 (2024-08-26).