Final Project: The Data Science Lifecycle đ
Due Date: Saturday, September 7th at 11:59PM (no extension allowed!)
Welcome to Final Project, the final assignment of the quarter! đ
This project aims to be a culmination of everything youâve learned this quarter. In the project, you will conduct an open-ended investigation into one of the three datasets (Recipes and Ratings đ˝, League of Legends â¨ď¸, or Power Outages đ). Specifically, youâll draw several visualizations to help understand the distributions of key variables, assess the missingness mechanisms of columns with missing values, test a hypotheses about the data, and finally, build and improve a predictive model. This project will be entirely manually graded by us â thatâs right, no autograders!
Final Project worth 10% in your overall grade, which means itâs worth double what previous projects were worth.
As your final deliverables, youâll submit two things to us: a public-facing website as well as a PDF of your Jupyter Notebook. We encourage you to build something you are proud of as this will give you something concrete to put on your resume and show to potential employers!
Final Project is due on Saturday, September 7th at 11:59PM. This is a hard deadline; you may NOT use the extension on this project. This is because we need to start grading projects right when you turn them in, so that there is enough time for you to make regrade requests before we submit grades to campus.
The project is broken into two parts:
- Part 1: An analysis, submitted as a Jupyter Notebook. This will contain the details of your work. Focus on completing your analysis before moving to Part 2, as the analysis is the bulk of the project.
- Part 2: A report, submitted as a website. This will contain a narrative âstoryâ with visuals. Focus on this after finishing most of your analysis.
Table of Contents
Choosing a Dataset
In this project, you will perform an open-ended investigation into a single dataset. You must choose one of the following three datasets.
Recipes and Ratings đ˝   League of Legends â¨ď¸   Power Outages đ
The dataset description pages linked above each have three sections:
- Getting the Data: Describes how to access the data and, in some cases, what various features mean. (In general, youâre going to have to understand what your data means on your own!)
- Example Questions and Prediction Problems: Example questions to explore in Part 1: Steps 1-4, and example prediction problems to build models for in Part 1: Steps 5-8. Use these as inspiration, but feel free to come up with your own questions and prediction problems!
- Special Considerations: Things to be aware of when working with the given dataset, e.g. some additional requirements.
When selecting which dataset you are going to use for your project, try choosing the one whose topic appeals to you the most as that will make finishing the project a lot more enjoyable.
To help contextualize the kinds of analysis you can do in this project, it might help to look at these examples from Spring 2023. These examples offer insights into crafting effective research questions, but bear in mind that they have their unique strengths and weaknesses. Treat them as a foundation for inspiration, but donât just repeat or copy their work â be original!
- League of Legends First Blood Statistical Analysis: This project excelled in clarifying their research aims, making the study understandable to a broader audience. In your own project, ensure that you provide a lucid and detailed explanation of your research focus.
- Analyzing Power Outages: This project presents a noval way to do the data visualization. In your project, please think about what is the best way to present your data.
- Investigation on the Relationship Between Amount of Sugar and Rating of Recipes: In this project, the students have effectively highlighted the improvement they made based on the baseline model. In your own project, also ensure that you explain what you have done to improve your baseline model.
Before choosing a dataset, read the rest of this page to see whatâs required of you!
Part 1: Analysis
Before beginning your analysis, youâll need to set up a few things.
- Pull the latest version of the
dsc80-2024-ss2
repo. Within theprojects/proj04
folder, there is atemplate.ipynb
notebook that you will use as a template for the project. If you delete the file or want another copy of the template, you can re-download it from here. This is where your analysis will live; you will submit this entire notebook to us. - Select one of the three datasets mentioned above, download it, and load it into your template notebook.
Once you have your dataset loaded in your notebook, itâs time for you to find meaning in the real-world data youâve collected! Follow the steps below.
For each step, we specify what must be done in your notebook and what must go on your website, which we expand on in Part 2. We recommend you write everything in your notebook first, and then move things over to your website once youâve completed your analysis.
In Steps 1-4, youâll develop a deeper understanding of your dataset while trying to answer a single question.
Step 1: Introduction
Step | Analysis in Notebook | Report on Website |
---|---|---|
Introduction and Question Identification | Understand the data you have access to. Brainstorm a few questions that interest you about the dataset. Pick one question you plan to investigate further. (As the data science lifecycle tells us, this question may change as you work on your project.) | Provide an introduction to your dataset, and clearly state the one question your project is centered around. Why should readers of your website care about the dataset and your question specifically? Report the number of rows in the dataset, the names of the columns that are relevant to your question, and descriptions of those relevant columns. |
Step 2: Data Cleaning and Exploratory Data Analysis
Step | Analysis in Notebook | Report on Website |
---|---|---|
Data Cleaning | Clean the data appropriately. For instance, you may need to replace data that should be missing with NaN or create new columns out of given ones (e.g. compute distances, scale data, or get time information from time stamps). | Describe, in detail, the data cleaning steps you took and how they affected your analyses. The steps should be explained in reference to the data generating process. Show the head of your cleaned DataFrame (see Part 2: Report for instructions). |
Univariate Analysis | Look at the distributions of relevant columns separately by using DataFrame operations and drawing at least two relevant plots. | Embed at least one plotly plot you created in your notebook that displays the distribution of a single column (see Part 2: Report for instructions). Include a 1-2 sentence explanation about your plot, making sure to describe and interpret any trends present. (Your notebook will likely have more visualizations than your website, and thatâs fine. Feel free to embed more than one univariate visualization in your website if youâd like, but make sure that each embedded plot is accompanied by a description.) |
Bivariate Analysis | Look at the statistics of pairs of columns to identify possible associations. For instance, you may create scatter plots and plot conditional distributions, or box-plots. You must plot at least two such plots in your notebook. The results of your bivariate analyses will be helpful in identifying interesting hypothesis tests! | Embed at least one plotly plot that displays the relationship between two columns. Include a 1-2 sentence explanation about your plot, making sure to describe and interpret any trends present. (Your notebook will likely have more visualizations than your website, and thatâs fine. Feel free to embed more than one bivariate visualization in your website if youâd like, but make sure that each embedded plot is accompanied by a description.) |
Interesting Aggregates | Choose columns to group and pivot by and examine aggregate statistics. | Embed at least one grouped table or pivot table in your website and explain its significance. |
Step 3: Assessment of Missingness
Step | Analysis in Notebook | Report on Website |
---|---|---|
NMAR Analysis | Recall, to determine whether data are likely NMAR, you must reason about the data generating process; you cannot conclude that data are likely NMAR solely by looking at your data. As such, thereâs no code to write here (and hence, nothing to put in your notebook). | State whether you believe there is a column in your dataset that is NMAR. Explain your reasoning and any additional data you might want to obtain that could explain the missingness (thereby making it MAR). Make sure to explicitly use the term âNMAR.â |
Missingness Dependency | Pick a column in the dataset with non-trivial missingness to analyze, and perform permutation tests to analyze the dependency of the missingness of this column on other columns. Specifically, find at least one other column that the missingness of your selected column does depend on, and at least one other column that the missingness of your selected column does not depend on. Tip: Make sure you know the difference between the different types of missingness before approaching that section. Many students in the past have lost credit for mistaking one type of missingness for another. Note that some datasets may have special requirements for this section; look at the âSpecial Considerationsâ section of your chosen dataset for more details. | Present and interpret the results of your missingness permutation tests with respect to your data and question. Embed a plotly plot related to your missingness exploration; ideas include:⢠The distribution of column \(Y\) when column \(X\) is missing and the distribution of column \(Y\) when column \(X\) is not missing, as was done in Lecture 8. ⢠The empirical distribution of the test statistic used in one of your permutation tests, along with the observed statistic. |
Step 4: Hypothesis Testing
Step | Analysis in Notebook | Report on Website |
---|---|---|
Hypothesis Testing | Clearly state a pair of hypotheses and perform a hypothesis test or permutation test that is not related to missingness. Feel free to use one of the example questions stated in the âExample Questions and Prediction Problemsâ section of your datasetâs description page or pose a hypothesis test of your own. | Clearly state your null and alternative hypotheses, your choice of test statistic and significance level, the resulting \(p\)-value, and your conclusion. Justify why these choices are good choices for answering the question you are trying to answer. Optional: Embed a visualization related to your hypothesis test in your website. Tip: When making writing your conclusions to the statistical tests in this project, never use language that implies an absolute conclusion; since we are performing statistical tests and not randomized controlled trials, we cannot prove that either hypothesis is 100% true or false. |
In Steps 5-8, you will build a predictive model, based on the knowledge of your dataset you developed in Steps 1-4.
Step 5: Framing a Prediction Problem
Step | Analysis in Notebook | Report on Website |
---|---|---|
Problem Identification | Identify a prediction problem. Feel free to use one of the example prediction problems stated in the âExample Questions and Prediction Problemsâ section of your datasetâs description page or pose a hypothesis test of your own. The prediction problem you come up with doesnât have to be related to the question you were answering in Steps 1-4, but ideally, your entire project has some sort of coherent theme. | Clearly state your prediction problem and type (classification or regression). If you are building a classifier, make sure to state whether you are performing binary classification or multiclass classification. Report the response variable (i.e. the variable you are predicting) and why you chose it, the metric you are using to evaluate your model and why you chose it over other suitable metrics (e.g. accuracy vs. F1-score). Note: Make sure to justify what information you would know at the âtime of predictionâ and to only train your model using those features. For instance, if we wanted to predict your final exam grade, we couldnât use your Final Project grade, because the project is only due after the final exam! Feel free to ask questions if youâre not sure. |
Step 6: Baseline Model
Step | Analysis in Notebook | Report on Website |
---|---|---|
Baseline Model | Train a âbaseline modelâ for your prediction task that uses at least two features. (For this requirement, two features means selecting at least two columns from your original dataset that you should transform). You can leave numerical features as-is, but youâll need to take care of categorical columns using an appropriate encoding. Implement all steps (feature transforms and model training) in a single sklearn Pipeline . Note: Both now and in Step 7: Final Model, make sure to evaluate your modelâs ability to generalize to unseen data! There is no ârequiredâ performance metric that your baseline model needs to achieve. | Describe your model and state the features in your model, including how many are quantitative, ordinal, and nominal, and how you performed any necessary encodings. Report the performance of your model and whether or not you believe your current model is âgoodâ and why. Tip: Make sure to hit all of the points above: many projects in the past have lost points for not doing so. |
Step 7: Final Model
Step | Analysis in Notebook | Report on Website |
---|---|---|
Final Model | Create a âfinalâ model that improves upon the âbaselineâ model you created in Step 2. Do so by engineering at least two new features from the data, on top of any categorical encodings you performed in Baseline Model Step. (For instance, you may use a StandardScaler on a quantitative column and a QuantileTransformer transformer on a different column to get two new features.) Again, implement all steps in a single sklearn Pipeline . While deciding what features to use, you must perform a search for the best hyperparameters (e.g. tree depth) to use amongst a list(s) of options, either by using GridSearchCV or through some manual iterative method. In your notebook, state which hyperparameters you plan to tune and why before actually tuning them.Optional: You are encouraged to try many different modeling algorithms for your final model (i.e. LinearRegression , RandomForestClassifier , Lasso , SVC , etc.) If you do this, make sure to clearly indicate in your notebook which model is your actual final model as that will be used to grade the above requirements.Note 1: When training your model, make sure you use the same unseen and seen datasets from your baseline model. This way, the evaluation metric you get on your final model can be compared to your baselineâs on the basis of the model itself and not the dataset it was trained on. Based on which method you use for hyperparameter tuning, this may mean that you will need to use some of your training data as your validation data. If this is the case, make sure to train your final model on the whole dataset prior to evaluation. Note 2: You will not be graded on âhow muchâ your model improved from Step 6: Baseline Model to Step 7: Final Model. What you will be graded on is on whether or not your model improved, as well as your thoughtfulness and effort in creating features, along with the other points above. Note 3: Donât try to improve your modelâs performance just by blindly transforming existing features into new ones. Think critically about what each transformation youâre doing actually does. For example, thereâs no use in using a StandardScaler transformer if your goal is to reduce the RMSE of a linear model: as we learned in DSC 40A, and in Lecture 15, standardizing features in a regression model does not change the modelâs predictions, only its coefficients! | State the features you added and why they are good for the data and prediction task. Note that you canât simply state âthese features improved my accuracyâ, since youâd need to choose these features and fit a model before noticing that â instead, talk about why you believe these features improved your modelâs performance from the perspective of the data generating process. Describe the modeling algorithm you chose, the hyperparameters that ended up performing the best, and the method you used to select hyperparameters and your overall model. Describe how your Final Modelâs performance is an improvement over your Baseline Modelâs performance. Optional: Include a visualization that describes your modelâs performance, e.g. a confusion matrix, if applicable. |
Step 8: Fairness Analysis
Step | Analysis in Notebook | Report on Website |
---|---|---|
Fairness Analysis | Perform a âfairness analysisâ of your Final Model from the previous step. That is, try and answer the question âdoes my model perform worse for individuals in Group X than it does for individuals in Group Y?â, for an interesting choice of X and Y. As always, when comparing some quantitative attribute (in this case, something like precision or RMSE) across two groups, we use a permutation test. Letâs illustrate how this works with an example. Letâs suppose we have a sample voter dataset with columns 'Name' , 'Age' , and 'Voted' , among others. We build a classifier that predicts whether someone voted (1 ) or didnât (0 ).Here, weâll say our two groups are ⢠âyoung peopleâ, people younger than 40 ⢠âold peopleâ, people older than 40 Note that in this example, we manually created these groups by binarizing the 'Age' column in our dataset, and thatâs fine. (Remember, the Binarizer transformer with a threshold of 40 can do this for us.)For our evaluation metric, weâll choose precision. (In Week 10âs lectures, weâll look at other evaluation metrics and related parity measures for classifiers; choose the one that is most appropriate to your prediction task. If you built a regression model, you cannot use classification metrics like precision or recall; instead, you must use RMSE or \(R^2\).) Now, we must perform a permutation test. Before doing so, we must clearly state a null and an alternative hypothesis. ⢠Null Hypothesis: Our model is fair. Its precision for young people and old people are roughly the same, and any differences are due to random chance. ⢠Alternative Hypothesis: Our model is unfair. Its precision for young people is lower than its precision for old people. From here, you should be able to implement the necessary permutation test. The only other guidance we will provide you with is that you should not be modifying your model to produce different results when computing test statistics; use only your final fitted model from Final Model Step. | Clearly state your choice of Group X and Group Y, your evaluation metric, your null and alternative hypotheses, your choice of test statistic and significance level, the resulting \(p\)-value, and your conclusion. Optional: Embed a visualization related to your permutation test in your website. |
Style
While your website will neatly organized and tailored for public consumption, it is important to keep your analysis notebook organized as well. Follow these guidelines:
- Your work for each of the eight project steps described above (Introduction, Data Cleaning and Exploratory Data Analysis, âŚ, Fairness Analysis) should be completed in code cells underneath the Markdown header of that sectionâs name.
- You should only include work that is relevant to posing, explaining, and answering the question(s) you state in your website. You should include data quality, cleaning, and missingness assessments, and intermediate models and features you tried, though these should broadly be relevant to the tasks at hand.
- Make sure to clearly explain what each component of your notebook means. Specifically:
- All plots should have titles, labels, and a legend (if applicable), even if they donât make it into your website. Plots should be self-contained â readers should be able to understand what they describe without having to read anything else.
- All code cells should contain a comment describing how the code works (unless the code is self-explanatory â use your best judgement).
Part 2: Report
The purpose of your website is to provide the general public â your classmates, friends, family, recruiters, and random internet strangers â with an overview of your project and its findings, without forcing them to understand every last detail. We donât expect the website creation process to take very much time, but it will certainly be rewarding. Once youâve completed your analysis and know what you will put in your website, start reading this section.
Your website must clearly contain the following eight headings, corresponding to the eight steps mentioned in Part 1:
- Introduction
- Data Cleaning and Exploratory Data Analysis
- Assessment of Missingness
- Hypothesis Testing
- Framing a Prediction Problem
- Baseline Model
- Final Model
- Fairness Analysis
Donât include âStep 1â, âStep 2â, etc. in your headings â the headings should be exactly as they are above.
The specific content your website needs to contain is described in the âReport on Websiteâ columns above. Make sure to also give your website a creative title that relates to the question youâre trying to answer, and clearly state your name(s).
Your report will be in the form of a static website, hosted for free on GitHub Pages. More specifically, youâll use Jekyll, a framework built into GitHub Pages that allows you to create professional-looking websites just by writing Markdown (dsc80.com is built using Jekyll!). GitHub Pages does the âhardâ part of converting your Markdown to HTML.
If youâd like to follow the official GitHub Pages & Jekyll tutorial, youâre welcome to, though we will provide you with a perhaps simpler set of instructions here. A very basic site with the required headings and one embedded visualization can be found at rampure.org/dsc80-proj3-test1/; the source code for the site is here.
Step 1: Initializing a Jekyll GitHub Pages Site
- Create a GitHub account, if you donât already have one.
- Create a new GitHub repository for your project.
- GitHub Pages sites live at
<username>.github.io/<reponame>
(for instance, the site for github.com/dsc-courses/dsc80-2024-ss2 is dsc-courses.github.io/dsc80-2024-ss2). - As such, donât include âDSC 80â or âFinal Projectâ in your repoâs name â this looks unprofessional to future employers, and gives you a generic-sounding URL. Instead, mention that this is a project for DSC 80 at UCSD in the repository description.
- Make sure to make your repository public.
- Select âADD a README file.â This ensures that your repository starts off non-empty, which is necessary to continue.
- GitHub Pages sites live at
- Click âSettingsâ in the repository toolbar (next to âInsightsâ), then click âPagesâ in the left menu.
- Under âBranchâ, click the âNoneâ dropdown, change the branch to âmainâ, and then click âSave.â You should soon see âGitHub Pages source saved.â in a blue banner at the top of the page. This initiates GitHub Pages in your repository.
- After 30 seconds, reload the page again. You should see âYour site is live at http://username.github.io/reponame/â. Click that link â you now have a site!
- Click âCodeâ in the repo toolbar to return to the source code for your repo.
Note that the source code for your site lives in README.md
. As you push changes to README.md
, they will update on your site automatically within a few minutes! Before moving forward, make sure that you can make basic edits:
- Clone your repo locally.
- Make some edits to
README.md
. - Push those changes back to GitHub, using the following steps:
- Add your changes to âstagingâ using
git add README.md
(repeat this for any other files you add). - Commit your changes using
git commit -m '<some message here>'
, e.g.git commit -m 'changed title of website'
. - Push your changes using
git push
.
- Add your changes to âstagingâ using
Moving forward, we recommend making edits to your website source code locally, rather than directly on GitHub. This is in part due to the fact that youâll be creating folders and adding files to your source code.
Step 2: Choosing a Theme
The default âthemeâ of a Jekyll site is not all that interesting.
To change the theme of your site:
- Create a file in your repository called
_config.yml
. - Go here, and click the links of various themes until you find one you like.
- Open the linked repository for the theme youâd like to use and scroll down to the âUsageâ section of the README. Copy the necessary information from the README to your
_config.yml
and push it to your site.
For instance, if I wanted to use the Merlot theme, Iâd put the following in my _config.yml
:
remote_theme: pages-themes/merlot@v0.2.0
plugins:
- jekyll-remote-theme # add this line to the plugins list if you already have one
Note that youâre free to use any Jekyll theme, not just the ones that appear here. You are required to choose some theme other than the default, though. See more details about themes here.
Step 3: Embedding Content
Now comes the interesting part â actually including content in your site. The Markdown cheat sheet contains tips on how to format text and other page components in Markdown (and if youâd benefit by seeing an example, you could always look at the Markdown source of this very page â meta!).
What will be a bit trickier is embedding plotly
plots in your site so that they are interactive. Note that you are required to do this, you cannot simply take screenshots of plots from your notebooks and embed them in your site. Hereâs how to embed a plotly
plot directly in your site.
- First, youâll need to convert your plot to HTML. If
fig
is aplotly
Figure
object (for instance, the result of callingpx.express
,go.Figure
, or.plot
whenpd.options.plotting.backend = "plotly"
has been run), then the methodfig.write_html
saves the plot as HTML to a file. Call it usingfig.write_html('file-name.html', include_plotlyjs='cdn')
.- Change
'file-name.html'
to the path where youâd like to initially save your plot. include_plotlyjs='cdn'
tellswrite_html
to load the source code for theplotly
library from a server, rather than including the entire source code in your HTML file. This drastically reduces the size of the resulting HTML file, keeping your repo size down.
- Change
- Move the
.html
file(s) youâve created into a folder in your website repo calledassets
(or something similar).- Depending on where your template notebook is saved, you could combine this step with the step above by calling
fig.write_html
with the correct path (e.g. `fig.write_html(â../league-match-analysis/assets/matches-per-year.htmlâ)).
- Depending on where your template notebook is saved, you could combine this step with the step above by calling
- In
README.md
, embed your plot using the following syntax:
<iframe
src="assets/file-name.html"
width="800"
height="600"
frameborder="0"
></iframe>
iframe
stands for âinline frameâ; it allows us to embed HTML files within other HTML files.- You can change the
width
andheight
arguments, but donât change theframeBorder
argument.
Refer here for a working example.
Try your best to make your plots look professional and unique to your group â add axis labels, change the font and colors, add annotations, etc. Remember, potential employers will see this â you donât want your plots to look like everyone elseâs! If youâd like to match the styles of the plotly
plots used in lecture (e.g. with the white backgrounds), you can import and use the dsc80_utils.py
thatâs in the proj04
folder of our public repo, alongside template.ipynb
.
To convert a DataFrame in your notebook to Markdown source code (which you need to do for both the Data Cleaning and Interesting Aggregates sections of Step 2: Data Cleaning and Exploratory Data Analysis in Part 1), use the .to_markdown()
method on the DataFrame. For instance,
print(counts[['Quarter', 'Count']].head().to_markdown(index=False))
displays a string, containing the Markdown representation of the first 5 rows of counts
, including only the 'Quarter'
and 'Count'
columns (and not including the index). You can see how this appears here; remember, no screenshots. You may need to play with this a little bit so that you donât show DataFrames that are super, super wide and look ugly.
Local Setup
The above instructions give you all you need to create and make updates to your site. However, you may want to set up Jekyll locally, so that you can look at how changes to your site would look without having to push and wait for GitHub to re-build your site. To do so, follow the steps here and then here.
Submission and Rubric
Checkpoint 1 Submission
As mentioned at the top of this page, this project does have two checkpoints, which is worth 1% of your overall grade. The first checkpoint is due on Friday, May 24th. You can submit the checkpoint here on Gradescope.
The checkpoint 1 assignment is worth 20 points, and asks you to answer the following questions:
- (2 points) Which of the three datasets did you choose? Why?
- (6 points) Upload a screenshot of a
plotly
visualization youâve created while completing Part 1, Step 2: Data Cleaning and Exploratory Data Analysis. - (6 points) What is the pair of hypotheses you plan on testing in Part 1, Step 4? What is the test statistic you plan on using?
- (6 points) What is the column you plan on trying to predict in Part 1, Steps 5-8? Is it a classification or regression problem?
Checkpoint 2 Submission
As mentioned at the top of this page, this project does have two checkpoints, which is worth 1% of your overall grade. The second one is due on Friday, May 31st. You can submit the checkpoint here on Gradescope.
The checkpoint 2 assignment is worth 20 points, and asks you to answer the following questions:
- (7.5 points) For step 4, what are two hypotheses you have tested, and what were the result?
- (7.5 points) Briefly explain your baseline model and your plans for improving the model.
- (5 points) Submit a working GitHub page webpage URL for the project. On the webpage, you need to at least include a project title.
Final Submission
You will ultimately submit your project in two ways:
- By uploading a PDF version of your notebook to the specific âFinal Project Notebook PDF (Dataset)â assignment on Gradescope for your dataset.
- To export your notebook as a PDF, first, restart your kernel and run all cells. Then, go to âFile > Print Previewâ. Then, save a print preview of the webpage as a PDF. There are other ways to save a notebook as a PDF but they may require that you have additional packages installed on your computer, so this is likely the most straightforward.
- Itâs fine if your
plotly
graphs donât render in the PDF output of your notebook. However, make sure none of the code is cut off in your notebookâs PDF. You will lose 5% of the points available on this project if your code is cut off. - This notebook asks you to include a link to your website; make sure to do so.
- By submitting a link to your website to the âFinal Project Website Link (All Datasets)â assignment on Gradescope.
To both submissions, make sure to tag your partner. You donât need to submit your actual .ipynb
file anywhere. While your website must be public and you should share it with others, you should not make your code for this project available publicly.
Since there are two assignments you need to submit on Gradescope, we will treat your submission time as being the latter of your two submissions. So, if you submit to the âFinal Project Notebook PDFâ assignment before the deadline but to the âFinal Project Website Link (All Datasets)â website one day late, overall, that counts as late submission.
There are a lot of moving parts to this assignment â donât wait until the last minute to try and submit!
Rubric
Your project will be graded out of 200 points. The rough rubric is shown below. If you satisfy these requirements as described above, you will receive full credit.
Note that the rubric is intentionally vague when it comes to Steps 5-8. This is because an exact rubric would specify exactly what you need to do to build a model, but figuring out what to do is a large part of Steps 5-8.
Component | Weight |
---|---|
Step 1: Introduction | 8 points |
Step 2: Data Cleaning and Exploratory Data Analysis ⢠Cleaned data (8 points) ⢠Performed univariate analyses (8 points) ⢠Performed bivariate analyses and aggregations (8 points) | 24 points |
Step 3: Assessment of Missingness ⢠Addressed NMAR question (4 points) ⢠Performed permutation tests for missingness (8 points) ⢠Interpreted missingness test results (8 points) | 20 points |
Step 4: Hypothesis Testing ⢠Selected relevant columns for a hypothesis or permutation test (4 points) ⢠Explicitly stated a null hypothesis (4 points) ⢠Explicitly stated an alternative hypothesis (4 points) ⢠Performed a hypothesis or permutation test (8 points) ⢠Used a valid test statistic (4 points) ⢠Computed a \(p\)-value and made a decision (4 points) | 28 points |
Step 5: Framing a Prediction Problem | 15 points |
Step 6: Baseline Model | 35 points |
Step 7: Final Model | 35 points |
Step 8: Fairness Analysis | 15 points |
Overall: Included all necessary components on the website | 20 points |
Total | 200 points |