This project demonstrates how to analyze and visualize rating data using Bayesian averaging, based on data that was collected from publicly available pages on RateMyProfessors.
Only analysis logic and example plots are retained for educational purposes.
-
system_class.py:
Defines core classes includingUniversity,Department,ProfData, andCourseUnderProf. -
analysis.py:
Contains statistical functions and Bayesian scoring logic, as well as plotting utilities. -
main.py:
Main script to run analysis and generate plots (no longer includes any scraping or data fetching).
- Code for analysis, Bayesian ranking, and visualization
- Sample output plots generated from previously available data (shown below)
These plots are examples only, based on previously generated data that has now been removed:
If you have your own JSON-formatted professor data (not provided here), you can place it in the data/ directory:
- The expected filename is
all_prof_data.json - Run the main script:
First set up environment
pip install -r requirements.txt
```bash
python main.py