Final Project

Major steps in an ML project include data preparation, hyperparameter search, model training, and model evaluation

Learning Goals

Starting point code

Use git to clone your project repo from github.swarthmore.edu.

Your project repo contains the following files:

  • Makefile compiles the LaTeX files into pdfs
  • README.md where you will describe how to test your project code
  • project.bib where you will list the references for your paper
  • project.tex where you will write your initial draft and final paper
  • project_code.ipynb the notebook you should use to explore your dataset and implement your project
  • proposal.tex where you will write your project proposal
  • Due Dates and Deliverables

    All deliverables are due by 11:59pm on the due date given.

    In your lab on Thursday, Dec. 3 or Friday Dec. 4, be prepared to demo your project code for your lab instructor.

    Introduction

    This project will allow you to spend several weeks exploring a machine learning problem on a dataset of your choice. To find an appropriate dataset, we suggest using kaggle.com/datasets. Kaggle hosts hundreds of thousands of datasets, so you should focus your search. In the search bar, at the far right, you'll see the option to select filters. We recommend filtering the dataset based on:

    There are some data domains that you should avoid because they're likely to be difficult to get satisfying results with. In general, when humans are in competition with each other, the outcome of those competitions tends to be difficult to predict. If you really want to work on a topic like this, make sure you have a plan for how to have a successful project even if prediction turns out to be impractical (e.g. the learning algorithm produces very low performance results). This can involve things like a focus on trying to draw conclusions about the nature of the data (i.e. focus on what you *can* discover that's interesting and worthwhile, rather than on the fact that prediction is difficult). Here are some examples of problem domains like this:

    As you consider various datasets, remember that all data must be converted into a numeric representation before applying logistic regression or neural network. For categorial data, you will likely want to use one-hot encodings.

    Example Research Questions

    Choose at least one of these questions to explore:

    Or come up with your own research question in consultation with the instructors.

    Policy for AI use on the project

    These policies are adapted from the AAAI conference policies:

    Submitting

    When you are finished, use git to add, commit, and push your work as usual.

    Acknowledgments

    The image at the top of this webpage was generated using Claude Fable 5.1. The prompt included the complete text for each box as well as the title.