Eleven days to the finish. Today: recover state, learn one technique your project needs, triage the rest.
Three lines before any code, and what the class votes to cover.
Restart and Run All proves it. Not memory: proof.
The piece that could still sink the project.
The concrete milestone: analysis complete, figures drafted.
Projects stall after breaks when groups resume typing instead of re-establishing state.
Maps, anomalies, and time-split validation, in six lines each.
Python
sites = pd.read_csv(PROCESSED / "iowa_stream_sites_annual_flow.csv",
dtype={"site_no": str})
per_site = sites.groupby(["site_no", "latitude", "longitude",
"drainage_area_sqmi"], as_index=False)\
["mean_discharge_cfs"].mean()
ax.scatter(per_site["longitude"], per_site["latitude"],
s=per_site["drainage_area_sqmi"] / 20,
c=per_site["mean_discharge_cfs"], cmap="viridis")specific_q = mean_discharge / drainage_area
raw flow: big rivers carry more water (no surprise)
per-area flow: which LANDSCAPES yield more water?
normalization turns size into science
units: cfs per square mile, or mm/day
Python
s = series.set_index("date").sort_index()
clim = s.groupby(s.index.month)["value"].mean()
s["anomaly"] = s["value"] - s.index.month.map(clim)
# raw plot answers: what happened?
# anomaly plot answers: was it unusual for the season?Python
train, test = train_test_split_by_time(df, "date", "2024-01-01")
fit = linear_regression_summary(train[x], train[y])
pred_test = fit["intercept"] + fit["slope"] * test[x]
print("train RMSE:", rmse(train[y], fit["intercept"] + fit["slope"] * train[x]))
print("test RMSE: ", rmse(test[y], pred_test))?
Which mini-module applies to YOUR project, and what would its figure look like with your data? If none applies, is your analysis actually done?
The classic final-week failures, and the polish pass that prevents them.
Figures added faster than they are labeled. Fix: checklist pass tonight.
Runs only in the order last edited. Fix: Restart and Run All now.
"Proves" where evidence "suggests". Fix: calibrate the verbs.
One member cannot explain section 3. Fix: walk-throughs this week.
Python
# Project title ## Research question (one sentence) ## Data - Source, URL, access date, license note ## How to run - conda env create -f environment.yml - open notebooks/final_project/..., Restart and Run All ## Who did what ## AI usage - See AI_USAGE_LOG.md (or: no AI tools were used)
| This week | Next week | Bridge idea |
|---|---|---|
| Analysis complete, risks retired | Synthesis and presentations | From working code to a defensible ten-minute story |
?
State your project's riskiest unfinished piece and the Friday fallback if it fails. If you cannot name a fallback, that IS the risk.