Meetings -------- You may attend one of the two lectures Monday mornings, 9-9:50 am or 10-10:50 am, both in Broad 100. On Wednesdays, you may attend one of the two lab sessions, 9 am–noon in Broad 200 or 1-4 pm in Chen 240a. You should always attend the same lab session, unless you have a conflict and let the course instructors know. We also have TA recitations on Thursdays 7–8:30 pm, homework help on Thursdays 8:30–10 pm, and instructor office hours on Mondays 2–3 pm. Attendance at these three activities is not required. 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. Submission of assignments ------------------------- All assignments are submitted (and graded assignments handed back) via `Canvas `_. Lesson exercises are submitted as a single ``.ipynb`` file, and each homework *problem* is submitted separately. (See the Homework section below for more details.) Lessons and lesson exercises ---------------------------- Prior to each lab session, you must go through the lessons listed on the :ref:`schedule page` 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 *team 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 noon on the Tuesday before 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 `GitHub group `_ is set up for the class. You will be part of the group through your GitHub account. You will have access to your personal repository for solo homework problems and to a team repository for all other homework and lesson exercise submission. All homeworks and lesson exercises are submitted by pushing to the appropriate GitHub repository. Homework -------- There are weekly homework assignments. These consist almost entirely of working up real data sets, though there are some theoretical aspects and may be some analysis of fabricated data. - Each homework has a defined due date and time. For most homeworks, this is Friday at 5 pm. - Each homework *problem* must be submitted as ZIP file containing a single Jupyter notebook with file name ``hw#.#_lastname_firstname.ipynb`` and an HTML file with the file name ``hw#.#_lastname_firstname.html``. All cells in the notebook must be pre-run in order prior to submission. (A tip: You should use Jupyter's "Restart and Run All" option under the ``Run`` pulldown menu to make sure your notebook is in runnable, submittable form.) Additionally, any other files, especially Stan files, that are necessary for your homework should also be submitted in the ZIP file. Note that these are all submitted as separate files, but the TAs will only add grading comments to the Jupyter notebook. The exception to this rule is for homework problems where the instructions specifically say they may be submitted as a PDF, in which case a single PDF with file name ``hw#.#_lastname_firstname.pdf`` is submitted. - For team-problems, all members of the team submit exactly the same notebook (except with different file names containing the name of the submitter), with the names of all team members at the top of the notebook. - All code you wrote to do your assignment must be included in the notebook. If you wrote a Stan file for your work that you compiled into a model ``CmdStanModel`` Python object ``sm``, you must show the code in your Jupyter notebook using ``print(sm.code())``. Code from imported packages that you did not write (e.g., modules distributed by the class instructors) need not be displayed in the notebook. We will often run the code in your notebook; all code must run to get credit. - Since we are running your code to check it, you must have the data sets be accessed in the standard way for the class. That is to say, the following code (or something similar that sets up the correct directory structure) must be at the top of each submitted notebook that uses a data set. .. code-block:: python import os, sys if "google.colab" in sys.modules: data_path = "https://s3.amazonaws.com/bebi103.caltech.edu/data/" else: data_path = "../data/" When accessing files within your notebooks, do it with something like this: ``filename = os.path.join(data_path, 'name_of_datafile.csv')``. - 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 to use an InverseGamma prior as opposed to a LogNormal prior. 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. Because this is important to make your work clear, the TAs will deduct points if these rules are not followed. - 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 are expected to submit all assignments on time. No late assignments will be accepted with exceptions outlined below. + You have a total of six "grace days" you can use throughout the term. If you use grace days, your homework may be submitted late without penalty. A grace day is spent for each 24 hours, or portion thereof, that a given homework is late. For example, if a homework is due at noon on Friday, but you turn it in at 3 pm on Monday, you spend two grace days, the first one being spent at noon on Saturday, the second at noon on Sunday, and the third for the remaining three hours on Monday. After you spend six grace days for the term, no late homeworks will be accepted. + Grace days may not be applied to lesson exercises. No late lesson exercises will be accepted. + If you have an extended illness requiring you to spend more than six grace days, you need to provide a note from a health care provider. + If you have a CASS accommodation, you need to communicate it to the instructor within the first week of class. If your accommodation allows for extra time on coursework, you need to let the instructor know you will be exercising that accommodation at least 24 hours before the homework is due. Grading ------- 90% of your grade is determined from homework. 10% of your grade is determined from submission of lesson exercises. 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. You may work on your assignments with classmates, but each submission must be your own. You must indicate with whom you collaborated on the top of each problem. The exceptions are team-problems; you and your teammate(s) submit exactly the same assignment. 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.) If you do, you must properly cite the sources in your homework. Except for when we explicitly ask you to use them, you may not use large language models (LLMs; examples include ChatGPT and GPT-4) or other AI tools. For looking up resources and documentation, Google or other search engines should work just fine. I have this rule with the understanding that many scientists and data scientists actively use LLMs in their work. I am not trying to deny you an important tool; quite the contrary. In order to effectively use LLMs, you need to have a basal competence to be able to understand what the LLM gives you, and even what to ask of it. In this course, we are building that competence, so using LLMs will result in confusion and are best avoided. Course communications --------------------- You should use the `course Ed page `_ for all questions related to the course. Note that you may post private messages to course staff via Ed if you wish. If you need to communicate with course staff about a private matter, you should email the instructor. 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. "Ediquette" ----------- When posting on Ed, please follow these guidelines: - If you have a question about a coding bug make every attempt to provide a *minimal* example that demonstrates the problem. A minimal example strips out all other details beyond what is necessary to reproduce the problem or bug. Posting error messages without code is seldom helpful. - When posting code, do not post screen shots. You can post code in Ed by selecting `Code` instead of `Paragraph` at the top left of the text entry window when you are making a post. - If you feel that posting a minimal example will result in showing too much of your answer to your classmates, you can post your question on Ed privately so that only the course staff can see it. - While you are free to post anonymously to your classmates (course staff will always know who posts), we encourage you to post with your real name. This can spur discussions among students, which can be productive. - Course staff strives to answer questions quickly, but students should answer when they can. This also spurs more conversation and results in faster answers to questions.