LESSONS LEARNED
FROM 1,000 DATA SCIENCE PROJECTS
SHANNON ELLIS, UC SAN DIEGO
ASSOCIATE TEACHING PROFESSOR
08/08/2024
Image by pvproductions on Freepik
https://bit.ly/Ellis_JSM2024
TABLE OF CONTENTS
01 | COGS 108
03 | LESSONS
02 | TENSIONS
Contents
Lessons Learned from 1,000 Data Science Projects
The course
Lessons Learned
Practice, Points & Group Work
TABLE OF CONTENTS
01 | COGS 108
03 | LESSONS
02 | TENSIONS
Contents
Lessons Learned from 1,000 Data Science Projects
The course
Lessons Learned
Practice, Points & Group Work
DATA SCIENCE IN PRACTICE
COGS 108
Lessons Learned from 1,000 Data Science Projects
Upper-division, large-enrollment (~450) undergraduate course
Single prerequisite: intro programming course
Focuses on application (less on theory)
Course staff: 1 Instructor, 3-4 TAs, 3-4 IAs
Offered every quarter since 2017
Students: 95% 3rd and 4th years; 32 different majors; 40% female
Image by rawpixel.com on Freepik
COURSE OBJECTIVES
COGS 108
Formulate a plan for and complete a data science project from start (question) to finish (communication)
Course Described in Detail: Donoghue T, Voytek B, and Ellis SE (2020). Teaching Creative and Practical Data Science at Scale. Journal of Statistics and Data Science Education
Image by rawpixel.com on Freepik
COURSE OBJECTIVES
COGS 108
Formulate a plan for and complete a data science project from start (question) to finish (communication)
Explain and carry out descriptive, exploratory, inferential, and predictive analyses in Python
Course Described in Detail: Donoghue T, Voytek B, and Ellis SE (2020). Teaching Creative and Practical Data Science at Scale. Journal of Statistics and Data Science Education
Image by rawpixel.com on Freepik
COURSE OBJECTIVES
COGS 108
Formulate a plan for and complete a data science project from start (question) to finish (communication)
Explain and carry out descriptive, exploratory, inferential, and predictive analyses in Python
Communicate results concisely and effectively in reports and presentations
Course Described in Detail: Donoghue T, Voytek B, and Ellis SE (2020). Teaching Creative and Practical Data Science at Scale. Journal of Statistics and Data Science Education
Image by rawpixel.com on Freepik
COURSE OBJECTIVES
COGS 108
Formulate a plan for and complete a data science project from start (question) to finish (communication)
Explain and carry out descriptive, exploratory, inferential, and predictive analyses in Python
Identify and explain how to approach an unfamiliar data science task
Communicate results concisely and effectively in reports and presentations
Course Described in Detail: Donoghue T, Voytek B, and Ellis SE (2020). Teaching Creative and Practical Data Science at Scale. Journal of Statistics and Data Science Education
Image by rawpixel.com on Freepik
COURSE COMPONENTS & TOPICS
COGS 108
Lessons Learned from 1,000 Data Science Projects
Lecture (~3h/wk) - conceptual + technical instruction; lecture quizzes
Discussion (1h/wk) - technical instruction; weekly lab completion
4-6 technical individual Assignments (python, pandas, linear regression, text analysis, machine learning, etc)
Quarter-long Group Project
COURSE COMPONENTS & TOPICS
COGS 108
Lessons Learned from 1,000 Data Science Projects
Lecture (~3h/wk) - conceptual + technical instruction; lecture quizzes
Discussion (1h/wk) - technical instruction; weekly lab completion
4-6 technical individual Assignments (python, pandas, linear regression, text analysis, machine learning, etc)
Quarter-long Group Project
PROJECT
Lessons Learned from 1,000 Data Science Projects
Quarter-Long Group Project: ~8 weeks; groups of 4-5 students
Deliverables: Proposal + Final Report
Each Group Provided: Instructions, template files, access to a private GitHub repository
TABLE OF CONTENTS
01 | COGS 108
03 | LESSONS
02 | TENSIONS
Contents
Lessons Learned from 1,000 Data Science Projects
The course
Lessons Learned
Practice, Points & Group Work
TENSIONS AT SCALE
COGS 108
How do we align motivation and learning data analysis?
TENSIONS AT SCALE
COGS 108
How do we align motivation and learning data analysis?
How do we structure and support student-driven data science projects?
Image by rawpixel.com on Freepik
TENSIONS AT SCALE
COGS 108
How do we align motivation and learning data analysis?
How do we structure and support student-driven data science projects?
How do we get students to think about and use feedback to iterate?
Image by rawpixel.com on Freepik
TENSIONS AT SCALE
COGS 108
How do we align motivation and learning data analysis?
How do we structure and support student-driven data science projects?
What affects successful group work?
How do we get students to think about and use feedback to iterate?
Image by rawpixel.com on Freepik
HOW DO WE ALIGN MOTIVATION AND LEARNING...AT SCALE?
Tension #1: Points
Lessons Learned from 1,000 Data Science Projects
| Course Component |
Prioritize individualized feedback where it matters. | Project (42%) |
Grade on concerted effort when unguided is needed (low-stakes) | Labs (16%) |
Autograde the rest (high-stakes) | Assignments (32%) |
Don’t give exams? | -- |
HOW DO WE ALIGN MOTIVATION AND LEARNING...AT SCALE?
Tension #1: Points
Lessons Learned from 1,000 Data Science Projects
| Course Component |
Prioritize individualized feedback where it matters. | Project (42%)* |
Grade on concerted effort when unguided is needed (low-stakes) | Labs (16%) |
Autograde the rest (high-stakes) | Assignments (32%) |
Don’t give exams? | -- |
*Chat with Jason Fleischer about his talk (happening now): Tools for automating project-based data science classes with hundreds of students
HOW DO WE ALIGN MOTIVATION AND LEARNING...AT SCALE?
Tension #1: Points
Lessons Learned from 1,000 Data Science Projects
| Course Component |
Prioritize individualized feedback where it matters. | Project (42%) |
Grade on concerted effort when unguided is needed (low-stakes) | Labs (16%) |
Autograde the rest (high-stakes) | Assignments (32%) |
Don’t give exams? | -- |
HOW DO WE ALIGN MOTIVATION AND LEARNING...AT SCALE?
Tension #1: Points
Lessons Learned from 1,000 Data Science Projects
| Course Component |
Prioritize individualized feedback where it matters. | Project (42%) |
Grade on concerted effort when unguided is needed (low-stakes) | Labs (16%) |
Autograde the rest (high-stakes) | Assignments (32%) |
Don’t give exams? | -- |
HOW TO STRUCTURE AND SUPPORT PROJECTS?
Tension #2: Practice
Lessons Learned from 1,000 Data Science Projects
Prioritize authentic practice.
Provide enough scaffolding so 1) students know what we expect and 2) less-experienced students are successful.
Encourage & support full participation.
Feedback. Feedback. Feedback.
Scaffolding
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Proposal + Final Report
Scaffolding
Lessons Learned from 1,000 Data Science Projects
If you’re unfamiliar with UCSD students, know that they’re constantly in triage mode. The quarter system is relentless. And, some students (er, people?) procrastinate. Scaffolding improves outcomes and decreases stress.
WHERE WE STARTED:
WHERE WE ARE NOW:
Proposal + Final Report
Scaffolding
Lessons Learned from 1,000 Data Science Projects
If you’re unfamiliar with UCSD students, know that they’re constantly in triage mode. The quarter system is relentless. And, some students (er, people?) procrastinate. Scaffolding improves outcomes and decreases stress.
WHERE WE STARTED:
WHERE WE ARE NOW:
Proposal + Final Report
Scaffolding
Lessons Learned from 1,000 Data Science Projects
If you’re unfamiliar with UCSD students, know that they’re constantly in triage mode. The quarter system is relentless. And, some students (er, people?) procrastinate. Scaffolding improves outcomes and decreases stress.
WHERE WE STARTED:
WHERE WE ARE NOW:
Proposal + Final Report
Previous Project Review, Proposal, Data Checkpoint, EDA Checkpoint, Final Report, Final Video, Team Evaluation Survey
Scaffolding
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Proposal + Final Report
Previous Project Review, Proposal, Data Checkpoint, EDA Checkpoint, Final Report, Final Video, Team Evaluation Survey
As someone that typically dislikes group work I really enjoyed the project as well as working with my group. Coming to the end of the journey is somewhat of a bittersweet moment, but I genuinely feel like I learned a lot along the way.
96% of students agree checkpoints were helpful.
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHAT WE’VE TRIED:
No formal process for team evaluation. 😱
...but had the ability to ‘quit’ (switch teams) partway the term
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHAT WE’VE TRIED:
No formal process for team evaluation. 😱
...but had the ability to ‘quit’ (switch teams) partway the term
👩🏫 Provide more instruction and resources around group-work
AND
📋 Very-detailed survey | complete individual-specific response about each teammate w/ overall Good/Excellent -> Unsatisfactory Rating
❓Minimal evaluation survey | participated fully vs. did not participate fully w/ explanation
📋 Different, very-detailed survey | specific contributions and % of project student completed (among many other items and free-text responses)
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHAT WE’VE TRIED:
No formal process for team evaluation. 😱
...but had the ability to ‘quit’ (switch teams) partway the term
👩🏫 Provide more instruction and resources around group-work
AND
📋 Very-detailed survey | complete individual-specific response about each teammate w/ overall Good/Excellent -> Unsatisfactory Rating
❓Minimal evaluation survey | participated fully vs. did not participate fully w/ explanation
📋 Different, very-detailed survey | specific contributions and % of project student completed (among many other items and free-text responses)
I like having this team evaluation portion because I have a bad experience with group project when some of the members avoid contributing to the project. I think having this portion encourages everyone to actually contribute to the project.
Most students participate fully.*
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
Student responses to: "Assign an overall rating to this student's role on the team"
*instructor-selected groups
Most students participate fully.*
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
Student responses to: "Assign an overall rating to this student's role on the team"
Student responses to: "Overall contribution..."
*instructor-selected groups
Most students participate fully.*
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
Student responses to: "Assign an overall rating to this student's role on the team"
Student responses to: "Overall contribution..."
~10% of evaluations report limited participation (~3% of students)
*instructor-selected groups
HOW DO WE GET STUDENTS TO THINK ABOUT AND USE FEEDBACK?
Tension #3: Feedback
Lessons Learned from 1,000 Data Science Projects
Prioritize feedback on student-driven work. Automate the rest.
More touch points for feedback.
Tie points to improvement.
Grading & Feedback
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Fine-grained rubric for each deliverable + text-based feedback for points lost
Google Sheet -> GH Issue
Background (1 point)
Grading & Feedback
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Fine-grained rubric for each deliverable + text-based feedback for points lost
Google Sheet -> GH Issue
Minimal rubric (Unsatisfactory, Developing, Proficient, Excellent) with lots of textual feedback for everything prior to final submission.
Background (1 point)
Grading & Feedback
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Fine-grained rubric for each deliverable + text-based feedback for points lost
Google Sheet -> GH Issue
Minimal rubric (Unsatisfactory, Developing, Proficient, Excellent) with lots of textual feedback for everything prior to final submission.
Opportunity for redemption in subsequent submission(s).
Background (1 point)
Grading & Feedback
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHERE WE ARE NOW:
Fine-grained rubric for each deliverable + text-based feedback for points lost
Google Sheet -> GH Issue
Minimal rubric (Unsatisfactory, Developing, Proficient, Excellent) with lots of textual feedback for everything prior to final submission.
Opportunity for redemption in subsequent submission(s).
Fine-grained rubric for final deliverables
Background (1 point)
WHAT AFFECTS SUCCESSFUL GROUP WORK?
Tension #4: Group Work
Lessons Learned from 1,000 Data Science Projects
Data Scientists often work in groups.
Data Science is ~26% female.
Project- and group-based learning have myriad learning benefits.
Understanding effects of gender composition (as well as other facets) on group work is important.
02: Group Formation
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHAT WE’VE TRIED:
Student-formed groups (w/ assistance to students not in a group)
02: Group Formation
Lessons Learned from 1,000 Data Science Projects
WHERE WE STARTED:
WHAT WE’VE TRIED:
Student-formed groups (w/ assistance to students not in a group)
Carefully-curated groups based on overlapping interests and schedules, with heterogeneous skills
Pairing up pairs of students
Random grouping, controlling for gender composition
02: Group Formation
Lessons Learned from 1,000 Data Science Projects
WE STILL HAD NO IDEA WHAT THE “RIGHT” ANSWER WAS HERE...
WHERE WE STARTED:
WHAT WE’VE TRIED:
Student-formed groups (w/ assistance to students not in a group)
Carefully-curated groups based on overlapping interests and schedules, with heterogeneous skills
Pairing up pairs of students
Random grouping, controlling for gender composition
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Group composition: Teams of 5: 0F5M -> 5F0M
250 Projects; Two terms (FA23; WI24); Same course materials; Different instructors
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Group composition: Teams of 5: 0F5M -> 5F0M
250 Projects; Two terms (FA23; WI24); Same course materials; Different instructors
Data including: demographic information, weekly surveys, team evaluation, project deliverables, student grades/performance, project grades, GH history, etc.
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Question Does gender affect... | Preliminary Findings |
students’ feelings and perceptions? | It’s complicated. Feel groupmates participate approx equally. Those more comfortable programming contribute more. |
student roles and contributions? | Yes, but... |
project deliverables and outcomes? | Not really. |
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Question Does gender affect... | Preliminary Findings |
students’ feelings and perceptions? | It’s complicated. Feel groupmates participate approx equally. Those more comfortable programming contribute more. |
student roles and contributions? | Yes, but. We see gendered roles reported (but confounded) and variable commit patterns. |
project deliverables and outcomes? | Not really. |
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Question Does gender affect... | Preliminary Findings |
students’ feelings and perceptions? | It’s complicated. Feel groupmates participate approx equally. Those more comfortable programming contribute more. |
student roles and contributions? | Yes, but. We see gendered roles reported (but confounded) and variable commit patterns. |
project deliverables and outcomes? | Not really. Similar grade distributions by group type. But, males more likely to get negative individual deduction. |
DOES GENDER COMPOSITION WITHIN A GROUP AFFECT PROJECT OUTCOMES?
Gender & Group Work
Lessons Learned from 1,000 Data Science Projects
Question Does gender affect... | Preliminary Findings |
students’ feelings and perceptions? | It’s complicated. |
student roles and contributions? | Yes, but... |
project deliverables and outcomes? | Not really. |
I would have really appreciated being able to choose a group, or at the very least, been in a group with at least one other girl.
I was a little bit intimidated when I first met my team because I was the only female-identifying, non-CS teammate in a team of all male-identifying CS major teammates, but they were friendly and kind.
TABLE OF CONTENTS
01 | COGS 108
03 | LESSONS
02 | TENSIONS
Contents
Lessons Learned from 1,000 Data Science Projects
The course
Lessons Learned
Practice, Points & Group Work
LESSONS LEARNED
COGS 108
Using points to align motivation can help students learning data analysis.
Image by rawpixel.com on Freepik
LESSONS LEARNED
COGS 108
Using points to align motivation can help students learning data analysis.
Multiple checkpoints, lots of feedback on student-driven work, and team evaluation data help support project-based learning
Image by rawpixel.com on Freepik
LESSONS LEARNED
COGS 108
Using points to align motivation can help students learning data analysis.
Multiple checkpoints, lots of feedback on student-driven work, and team evaluation data help support project-based learning
Tying scores to changes and iteration in feedback leads to more thoughtful and careful analysis.
Image by rawpixel.com on Freepik
LESSONS LEARNED
COGS 108
Using points to align motivation can help students learning data analysis.
Multiple checkpoints, lots of feedback on student-driven work, and team evaluation data help support project-based learning
Students hate being placed in groups, and the jury is still out on how to best form groups; working out effects of gender composition.
Tying scores to changes and iteration in feedback leads to more thoughtful and careful analysis.
Image by rawpixel.com on Freepik
THE TEAM
Gender & Group Work
Notebook Analysis
COGS 108 Students
COGS 108 Instructors
Tooling & Group Mgmt
Thanks! Questions?
slide template from https://slidesmania.com/
Kacie Li
Van Nguyen
Natalie Huynh
Sashwath Gollamudi
All 10,000+ to date
Jason Fleischer, PhD
Bradley Voytek, PhD
Christopher Keown, PhD
Scott Yang
https://bit.ly/Ellis_JSM2024
CAUTION: Under Constant Construction
2017
2018
2019-2021
2022
2023
Timeline
Lessons Learned from 1,000 Data Science Projects
I get a job.
I have a baby.
COGS 108
Iteration & Learning
Experimentation
UCSD hires me as an Assistant Teaching Professor and I teach lots of students.
Trying things, learning, improving, interating
I lose track of COGS 108 for approximately 1y
Brad Voytek launches Data Science in Practice*
Working to understand group formation more formally
01: Technical Stack
Lessons Learned from 1,000 Data Science Projects
Git & GitHub
Python
Jupyter Notebooks
WHERE WE STARTED:
WHERE WE ARE CURRENTLY:
01: Technical Stack
Lessons Learned from 1,000 Data Science Projects
Git & GitHub
Python
Jupyter Notebooks
Git & GitHub
Python
Jupyter Notebooks
WHERE WE STARTED:
WHERE WE ARE CURRENTLY:
*Chat with Jason Fleischer about his talk (happening concurrently): Tools for automating project-based data science classes with hundreds of students
01: Technical Stack
Lessons Learned from 1,000 Data Science Projects
MAYBE THE MOST IMPORTANT CONSIDERATION WHEN TEACHING TECHNICAL COURSES?
Git & GitHub
Python
Jupyter Notebooks
Git & GitHub
Python
Jupyter Notebooks
WHERE WE STARTED:
WHERE WE ARE CURRENTLY:
*Chat with Jason Fleischer about his talk (happening concurrently): Tools for automating project-based data science classes with hundreds of students
Student responses to: "Working with my team was more stressful than I anticipated."
Scaffolding
Lessons Learned from 1,000 Data Science Projects
~73% of students report expected level of stress or better
Student responses to: "Working with my team was more stressful than I anticipated."
Scaffolding
Lessons Learned from 1,000 Data Science Projects
~73% of students report expected level of stress or better
No obvious difference in students’ reported stress level with checkpoint introduction
Student responses to: "Working with my team was more stressful than I anticipated."
Scaffolding
Lessons Learned from 1,000 Data Science Projects
~73% of students report expected level of stress or better
Reported Notebook Metrics Between Remote Quarters With and Without Required Checkpoints
No obvious difference in students’ reported stress level with checkpoint introduction
Student responses to: "Working with my team was more stressful than I anticipated."
Scaffolding
Lessons Learned from 1,000 Data Science Projects
~73% of students report expected level of stress or better
Reported Notebook Metrics Between Remote Quarters With and Without Required Checkpoints
No clear difference in student notebook metrics when checkpoints were and were not included.
No obvious difference in students’ reported stress level with checkpoint introduction
Student responses to: "Working with my team was more stressful than I anticipated."
Scaffolding
Lessons Learned from 1,000 Data Science Projects
~73% of students report expected level of stress or better
Reported Notebook Metrics Between Remote Quarters With and Without Required Checkpoints
No clear difference in student notebook metrics when checkpoints were and were not included.
STUDENT COMMENT: The checkpoints were great for helping us get our work done.
No obvious difference in students’ reported stress level with checkpoint introduction
Most students participate fully.*
Team Evaluation
Lessons Learned from 1,000 Data Science Projects
Student responses to: "Assign an overall rating to this student's role on the team"
Most students participate fully in the group project throughout the quarter.
% of students who listed no name in response to: "Please list the names of your final project group mates (if any) who you felt did NOT contribute equally to the final project"
I do use feedback to adjust students’ grades if needed. Typically affects ~10 students (1-2% of the class).
*self-selected groups
03: Topics
Lessons Learned from 1,000 Data Science Projects
Anecdotally, students work harder when they’re actually interested...and I like grading projects that are interesting and not regurgitated analyses similar to things I’ve seen before. Win win.
WHERE WE STARTED:
WHERE WE ARE NOW:
Pick a topic any topic!
Encourage a topic they actually care about
Intro Taboo Topics
Intro Taboo Datasets
WHAT STUDENTS ACTUALLY CHOOSE
03: Topics
Title of your presentation.
Main project topics remain relatively consistent across quarters, with entertainment, communities, and public health making up the majority of projects.
WHAT STUDENTS ACTUALLY CHOOSE
03: Topics
Title of your presentation.
Most subtopics remain relatively constant, with a single subtopic typically making up no more than 15% of total projects in a given quarter.
22%
15%
Main project topics remain relatively consistent across quarters, with entertainment, communities, and public health making up the majority of projects.
IMPROVEMENTS
Looking Forward...
Lessons Learned from 1,000 Data Science Projects
Improvements to feedback-grading loop. Encourage students to really think.
Offload tooling to maximize learning and thoughtful analyses.
Really ensure students understand version control and are comfortable collaborating with Git.
IMPROVEMENTS
Looking Forward...
Lessons Learned from 1,000 Data Science Projects
Improvements to feedback-grading loop. Encourage students to really think.
Offload tooling to maximize learning and thoughtful analyses.
Really ensure students understand version control and are comfortable collaborating with Git.
IMPROVEMENTS
Looking Forward...
Lessons Learned from 1,000 Data Science Projects
Improvements to feedback-grading loop. Encourage students to really think.
Offload tooling to maximize learning and thoughtful analyses.
Really ensure students understand version control and are comfortable collaborating with Git.
IMPROVEMENTS
Looking Forward...
Lessons Learned from 1,000 Data Science Projects
Improvements to feedback-grading loop. Encourage students to really think.
Offload tooling to maximize learning and thoughtful analyses.
Really ensure students understand version control and are comfortable collaborating with Git.
I feel like a lot of people here were inexperienced with working with Github and that was a contributor to why people had trouble getting their parts done. Our overall division of work could have been more fine tuned so that everyone had a better idea of what exact tasks people were expected to do.
Editable Icons