Meetings
We have weekly lectures Wednesday mornings 9-9:50 am in 100 Broad. On Tuesdays, you may attend one of two lab sessions, 1-4 pm, or 7-10 pm, both in 200 Broad. Bring your laptop and charger. You should always attend the same lab session (either 1 pm or 7 pm), unless you have a conflict and let the course instructors know.
Lab sessions
The lab sessions are spent working on the week's homework, which always includes working with real data sets with your teammates. You are expected to be working diligently during this time, and it is a golden opportunity to do so. The course staff will be there to help you.
Lessons and lesson exercises
With the exception of the first one, prior to each lab session, you must go through the lessons listed on the course website for the week. These will give you the requisite skills you need to work on the homework problems of the week. To verify completion of the lessons and to identify points of confusion ahead of time, you will individually need to commit a small exercise to the repository in the GitHub group. Place this in the lesson_exercises/ directory in a file named l##_your_name.ipynb, where ## is the number of the lesson. Lesson exercises are due at 11 am the Tuesday of the lab session.
The lesson exercises are not graded for correctness, but for thoughtfulness. A perfectly reasonable answer to a problem in a lesson exercise is, "I am really having trouble with this concept. Can you please go over it in class?"
The BE/Bi 103 GitHub group
A BE/Bi 103 GitHub group is set up for the class. You will be part of the group through your GitHub account. All homeworks and lesson exercises are submitted by pushing to the GitHub repository.
Homework
We typically have weekly homework assignments. These consist almost entirely of working up real data sets.
Data analysis is almost always a collaborative effort in both research and industry. Therefore, you will be assigned to teams of three (possibly with a couple teams of four depending on course enrollment). You will submit your homework as a team. The following homework policies apply.
- Each homework has a defined due date and time. For most homeworks, this is Monday evening at 5 pm. Your team must tag your completed homework in your team's homework repository before this time.
- The commit containing your final submission must be tagged with "hw##_submission," where ## is the two-digit homework assignment number (e.g., 04). Failure to properly tag your homework will result in a 5% deduction from your point total.
- Each homework problem must be committed as both as single Jupyter notebook and as that notebook converted to HTML. (To convert a notebook to HTML, you can use Jupyter's menu: File ⟶ Export Notebook As... ⟶ Export Notebook to HTML.) The file names must be hw#.#.ipynb and hw#.#.html. For example, homework problem 3.2 is in the files hw3.2.ipynb and hw3.2.html.
- When you submit an assignment, the notebook and the rendered HTML must match. Furthermore, the cells should be executed in order.
- If you wrote any other files that are necessary for your homework, such as Stan files, they should live in the same directory as your Jupyter notebook and HTML file. Additionally, you should also display any code you wrote in external files in your Jupyter notebook/HTML file. You should not, however, commit .hpp or .o files, nor executables. You generally should not commit files containing samples either, unless necessary for explanatory purposes or some other custom analysis you are considering.
- All code you wrote to do your assignment must be included in the notebook. Code from imported packages that you did not write (e.g., modules distributed by the class instructors) need not be displayed in the notebook. When feasible, we will run the code in your notebook; all code must run to get credit.
- Since we will often run your code to check it, you must have the following path structure for the data sets used in the homework. There must be a directory data/ in the root of your team's repository. This directory contains any data files downloaded for the homework with the file names unaltered. If the data were distributed in a ZIP file, the file must have been unzipped in the data directory and the file names and file names unaltered. So, the path to the data/ directory from your homework/ is ../data/.
- All of your results must be clearly explained and all graphics clearly presented and embedded in the Jupyter notebook.
- Any mathematics in your homework must render clearly and properly with MathJax. This essentially means that your equations must be written in correct LaTeX.
- Where appropriate, you need to give detailed discussion of analysis choices you have made. As an example, you may choose a particular graphical method for model comparison. You need to justify that choice.
- To give a better guideline on how to construct your assignments (and this is good practice in general in your own workflows), you should follow these guidelines.
- Each code cell should do only one task or define only one, simple function.
- Do not have any adjacent code cells. Thus, you should have explanatory text describing what is happening in the code cells. This text should not just explain the code, but your reasoning behind why you are doing the calculation.
- Show all equations.
- Use Markdown headers to delineate sections of your notebook. In this class, this at least means using headers to delineate parts of the problem.
- There is seldom a single right way to analyze a set of data. You are encouraged to try different approaches to analysis. If you perform an analysis and find problems with it, clearly write what the problems are and how they came about. Even if your analysis does not completely work, but you demonstrate that you thought carefully about it and understand its difficulties, you will get nearly full credit.
- You should also include attribution in your homework submission: who on the team did what. While different people on the team may do different parts of the homework, I encourage you to work together on all parts of the homework. At the very least, you personally must understand all of the steps taken in the homework solutions and be able to repeat them by yourself.
- Throughout the term, your team will have six "grace days" for late homeworks. For example, your team can submit homework 1 two days late, homework 6 three days late, and homework 7 one day late. After that, no more late homeworks will be accepted. No grace days may be applied to the last two homeworks due to the end of term schedule.
Grading
85% of your grade is determined from homework. Everyone on your team will get the same grade on the homework.
15% of your grade is determined from submission of your lesson exercises and participation in the lab sessions. You are expected to work together with your team members and course instructors with your full attention during the lab sessions.
Collaboration policy and Honor Code
Some of the data we will use in this course is unpublished, generously given to us by researchers both from Caltech and from other institutions. They have given us their data in good faith that it will be used only in this class. It is therefore imperative that you do not disseminate data sets that I ask you not to distribute anywhere outside of this class.
Since the homework is done in assigned teams, you obviously should collaborate heavily with the other members of your team. You are free to discuss the homework with other teams, including via Ed, but the work you submit must be the work of your own team.
You may not consult solutions of homework problems from previous editions of this course.
You are free to consult references, literature, websites, blogs, etc., outside of the materials presented in class. (The exceptions are places where homework problems are completely worked out, such as previous editions of this or other courses, or other students' work.) In fact, you are encouraged to do so. If you do, you must properly cite the sources in your homework. Be warned: doing homework by Google fishing will not work! The problems are too open ended and the techniques are too varied.
Excused absences/extensions
Under certain circumstances, missed lab or lecture sessions will be excused and extensions given on the homework without costing grace days. The reasons for the excuses or extensions must be compelling, such as health or family issues. Graduate school interviews are common during the winter term, and extensions are also typically granted for these. In all cases extensions must be requested from the course instructor.
Course communications
You are free to contact the course staff at any time, but we encourage you to use the class Ed page for questions course topics and homework. Most of our mass communication with you will be through Ed, so be sure to set your Ed account to give you email alerts if necessary.
Prerequisites
BE/Bi 103 a or equivalent is a prerequisite for this course. In particular, you should be comfortable using Python fo scientific computing, including use of Numpy, Pandas, Jupyter/JupyterLab with LaTeX, and plotting, e.g., with Bokeh. You should also be able to use Git. If you need to brush up on these skills, you can visit the BE/Bi 103 a website. In particular, you should check out the lessons on Jupyter, LaTeX, and Git since all assignments in this class use these tools.