English 中文

ROC-AUC and PR-AUC: two areas, two questions

ROC-AUC, the area under the receiver operating characteristic curve, is the chance that a random positive outranks a random negative; PR-AUC, the area under the precision-recall curve, is the average precision met on the way down the list. Two models with the same ROC-AUC can differ fourfold in PR-AUC, and which one is better depends on where the list will be cut.

course project Jupyter

Heart Disease Prediction

  • scikit-learn
  • pandas
  • NumPy
  • Matplotlib

Course 603 term project: five scikit-learn classifiers on the UCI Cleveland heart-disease data (303 patients, one-hot encoded, one 80/20 split). SVM and random forest reach ROC AUC 0.97 on the 61 held-out patients, ahead of logistic regression (0.96), decision tree (0.95) and k-NN (0.89); the scaler is fitted before the split, so test statistics leak into the scaling.

course project Jupyter

Spectator Sport

  • pandas
  • scikit-learn
  • Gensim
  • Selenium

DATA 641 team project (three people) on news coverage of Russia’s invasion of Ukraine: 2,921 liveuamap posts serve as references, each turned into a dated Google query, giving 6,347 articles from 902 domains (Selenium and newspaper3k). Two LDA comparisons follow: per-outlet topic models of the references each outlet covered, compared by Jaccard distance, and the bigram partners of shared topic words in pairs of articles. Contribution: the proposal, zero-shot NLI tests with XLM-RoBERTa, LDA experiments on reference titles and an articles-per-outlet filter. No bias score or classifier is computed; conclusions are read from the plots.

course project Jupyter★ 2

Policy Changes Prediction

  • pandas
  • Matplotlib
  • Jupyter

DATA605 (big data systems) project: finds the days national COVID-19 policy levels change in the OxCGRT tracker and lines them up with a 20-day average of CDC case counts. Read off the plot, policy changes trailed case waves by about a month; no predictive model is trained yet.

course project JavaScript★ 46

Movie Recommendation System

  • Django
  • Django REST Framework
  • Vue.js
  • SQLite

Django movie site with user-based (Pearson) and item-based collaborative filtering and a most-viewed fallback, plus search, rating, favourites, an admin back end and review word clouds. Movie data is crawled from Douban; the bundled ratings are 2,200 random ones from 400 seeded accounts.

course project Jupyter

Covid Policy Effectiveness

  • pandas
  • scikit-learn
  • Selenium

DATA 602 team project (four people): joins 1,788 US state COVID-19 policy changes from OxCGRT to a per-state profile (census, vaccination, case peaks, hospital beds, party control) and to the CDC case trend on the day of each change, then fits decision trees, kernel ridge and k-means. Contribution: a Selenium scraper for data.census.gov state profiles, the obesity and fire-department data, and the clustering notebook. Bachelor’s-degree share tracks mid-August 2021 vaccination (r = 0.67 across 49 states). The trend targets end on the change day, so the models describe the run-up to each policy rather than its effect, and the clustering notebook fits both of its k-means runs on the demographic table.