{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Schedule\n", "\n", "This is the schedule for the semester. This page will be frequently updated based on how we progress. Homeworks and links to the lecture will be provided here for easy reference to the calendar. The assignments refer to the homework **following** a class meeting. So if on a particular date it says watch a video, that is for next time!" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "tags": [ "remove-cell" ] }, "outputs": [], "source": [ "from IPython.core.display import HTML, Markdown\n", "import itertools\n", "import re\n", "\n", "from datetime import datetime, date, timedelta\n", "\n", "format = '%A, %B %d, %Y'\n", "short_format = '%a %b %d'\n", "# 1. set the first day of classes\n", "first_day = 'Monday, September 04, 2023'\n", "\n", "# 2. set the last day of class_variables\n", "last_day = 'Wednesday, December 13, 2023'\n", "\n", "# 3. set the recurring days of the weeks\n", "days_of_week = ['Monday','Wednesday']\n", "\n", "# 4. add in the date of the final exam\n", "final_exam_day = None\n", "\n", "# 4. list any exceptions for like holidays and the like\n", "holidays = {'Monday, September 04, 2023': 'Labor Day', 'Monday, October 09, 2023': 'Fall break'}\n", "\n", "# 5. add in any additional dates (most commonly legislative day where off cycle class meeting might happen)\n", "extra_days = {'Tuesday, October 10, 2023': 'Legislative Day (classes meet on Monday schedule)'}\n", "\n", "\n", "# this part runs the script and prints to the terminal the dates\n", "first_day_f=datetime.strptime(first_day, format)\n", "last_day_f=datetime.strptime(last_day, format)\n", "\n", "# generator for all the days between two dates\n", "def daterange(start_date, end_date):\n", " for n in range(int((end_date - start_date).days+1)):\n", " yield start_date + timedelta(n)\n", "\n", "holidays_f = [datetime.strptime(x, format) for x in holidays.keys()]\n", "extra_days_f = [datetime.strptime(x, format) for x in extra_days.keys()]\n", "\n", "classes_list = []\n", "class_num = 0\n", "for single_date in daterange(first_day_f, last_day_f):\n", " # limit to either the correct day of week\n", " # or any additional days\n", " # (single_date in extra_days_f): #\n", " date_record = {}\n", " if (single_date.strftime('%A') in days_of_week) or (single_date in extra_days_f):\n", " date_string = single_date.strftime(short_format)\n", " reason = ''\n", " if single_date in holidays_f:\n", " reason = 'No class, ' + holidays[single_date.strftime(format)]\n", " #print(date_string + f' {reason}')\n", " elif single_date in extra_days_f:\n", " reason = 'Special date, ' + extra_days[single_date.strftime(format)]\n", " #print(date_string + f', class {class_num}', f' {reason}')\n", " class_num += 1\n", " else:\n", " #print(date_string + f', class {class_num}')\n", " class_num += 1\n", " date_record['date'] = date_string\n", " date_record['class_num'] = class_num\n", " date_record['reason'] = reason\n", " classes_list.append(date_record)\n", "\n", "def add_html_row(index, date, reason, agenda, assignment):\n", " if assignment==None:\n", " assignment = ''\n", " if agenda == None:\n", " agenda = ''\n", " if reason != '':\n", " html_str = f'''
Date | \n", "Agenda | \n", "Assignments | \n", "
---|
Date | \n", "Agenda | \n", "Assignments | \n", "
---|---|---|
Mon Sep 04 Warning | \n",
" No class, Labor Day - No class | \n", "\n", " |
Wed Sep 06 | \n", "Organizational meeting, meet and greet fellow classmates (slides) | \n",
" Read Chapter 1: What is Cognitive Science and how do we study it? before next class. | \n", "
Mon Sep 11 | \n", "Lecture on 'What is cognitive science?' (slides) In class activity: here. | \n",
" Read Chapter 2: Why do we have to learn statistics? before next class. | \n", "
Wed Sep 13 | \n", "Lecture on basic research design (part 1) (slides) | \n",
" Read Chapter 3: Introduction to Jupyter before next class, and watch accompanying video. | \n", "
Mon Sep 18 | \n", "Review/discussion of JupyterHub. Walk through demo. | \n", "Read Chapter 4: Introduction to Python for Psychology Undergraduates before next class, and watch accompanying video. Homework 1, due Mon Sep 25. | \n",
"
Wed Sep 20 | \n", "Review/discussion of basic Python programming. In class activity: here (solution). | \n",
" Read Chapter 5: A brief introduction to research design before next class. Homework 1, due Mon Sep 25. | \n",
"
Mon Sep 25 | \n", "Lecture on basic research design (part 2) (slides) Join group to work on homework or start on ICA. | \n",
" Choose and read paper for next class ICA | \n", "
Wed Sep 27 | \n", "In class activity: here. | \n", "\n", " |
Mon Oct 02 | \n", "Python practice with in class acitivity here (answers), begin Homework 2 in class. | \n", "Homework 2, due Tue Oct 10. If you need additional FOR-LOOP help please read through this notebook. | \n", "
Wed Oct 04 | \n", "In class acitivity here (answers). Continue Homework 2 in class. | \n", "Homework 2, due Tue Oct 10. Begin reading Chapter 6: Format and structure of digital data up to section 6.10 before next class. | \n",
"
Mon Oct 09 Warning | \n",
" No class, Fall break - No class | \n", "Read rest of Chapter 6: Format and structure of digital data before next class, and watch the video lecture. | \n", "
Tue Oct 10 Warning | \n",
" Special date, Legislative Day (classes meet on Monday schedule) - Review/discussion of data organization and pandas, in class acitivity here (Answers) | \n", "Homework 2 due Tue Oct 10. Read rest of Chapter 6: Format and structure of digital data before next class, and watch the video lecture. | \n",
"
Wed Oct 11 | \n", "In class acitivity here (answers). Work on Exploring Data (HW3) notebook. | \n", "Read Chapter 7: Visualizing data before next class. | \n", "
Mon Oct 16 | \n", "Lecture on describing and visualizing data (Part 1) (slides). (Slides on risky choice.). Work on HW3. | \n", "Exploring Data (HW3) notebook due Wed Oct 25. Read Chapter 8: Describing data before next class. | \n",
"
Wed Oct 18 | \n", "Lecture on describing and visualizing data (Part 2) (slides). Work on HW3. | \n", "Homework 3, due Wed Oct 25. Make slides for HW3 Question 4. | \n",
"
Mon Oct 23 | \n", "In-class presentatinos of HW3 Q4. Finish Exploring Data (HW3) notebook. | \n", "Turn in Exploring Data (HW3) notebook tonight (Wed Oct 25). Read Chapter 9: Samples, populations, and sampling before next class. | \n",
"
Wed Oct 25 | \n", "Lecture on sampling (slides). In class activity on sampling here (solutions). | \n", "Read Chapter 10: Hypothesis testing before next class. | \n", "
Mon Oct 30 | \n", "Work on Hypothesis testing In-class Activity (solution). | \n", "Read Chapter 11: Comparing one or two means before next class. | \n", "
Wed Nov 01 | \n", "No class | \n", "\n", " |
Mon Nov 06 | \n", "Group pres. Work on T-test In-class Activity (answers). | \n", "Read Chapter 12: Measuring behavior before next class. | \n", "
Wed Nov 08 | \n", "Group pres. Lab 1Work on Signal Detection Theory lab, due Nov. 22 (Part 1 and Part 2) | \n", "Read Chapter 13: Research Ethics before next class. | \n", "
Mon Nov 13 | \n", "Group pres. Lab 1Work on Signal Detection Theory lab (Part 1 and Part 2) | \n", "Work on Lab 1. Read Chapter 14: Linear Regression before next class. | \n", "
Wed Nov 15 | \n", "Group pres. Lab 1Work on Signal Detection Theory lab (Part 1 and Part 2) | \n", "Finish Lab 1. Read Chapter 15: Logistic Regression before next class. | \n", "
Mon Nov 20 | \n", "Group pres. Lab 2Work on Linear Regression lab (Part A, Part B, and Part C) | \n", "Lab 2 due Dec. 4 Read Chapter 16: Linear Mixed Effect Models before next class. | \n", "
Wed Nov 22 | \n", "No class Lab 1 due today | \n", "\n", " |
Mon Nov 27 | \n", "Group pres. Lab 2Work on Linear Regression lab (Part A, Part B, and Part C) | \n", "Lab 2 due Dec. 4 Read Chapter 17: Mental rotation before next class. | \n", "
Wed Nov 29 | \n", "Group pres. Lab 2Work on Linear Regression lab (Part A, Part B, and Part C) | \n", "Lab 2 due Dec. 4 Read Chapter 18: Functional Magnetic Resonance Imaging before next class, and watch two linked videos. | \n", "
Mon Dec 04 | \n", "Group pres. Lab 3 Work on fMRI lab | \n", "Lab 3 due Dec. 11 | \n", "
Wed Dec 06 | \n", "Lab 3 Work on fMRI lab | \n", "Lab 3 due Dec. 11 | \n", "
Mon Dec 11 | \n", "Lab 3 Work on fMRI lab | \n", "Lab 3 due today | \n", "
Wed Dec 13 | \n", "No class | \n", "\n", " |