Assignments are posted on Gradescope. See the welcome message for the Entry Code if you don’t have access.

  • Assignment - 1 (Pandas and Scikit-Learn)
  • Assignment 1 released on Pandas and Scikit-Learn. Here is the notebook and the dataset.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. copy this zipped test folder to your Colab local storage
    2. Add a python code cell to unzip it with !unzip hw1_tests.zip. You only have to run this cell once, so just comment it out after you unzipped the folder.
    3. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, but you should be able to simply run all cell (except that last one) download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! And reach out on Piazza with any questions or issues.

  • Assignment - 2 (Linear Algebra)
  • Assignment 2 released on Linear Algebra. Here is the notebook.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. copy this zipped test folder to your Colab local storage
    2. Add a python code cell to unzip it with !unzip hw2_tests.zip. You only have to run this cell once, so just comment it out after you unzipped the folder.
    3. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, but you should be able to simply run all cell (except that last one) download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! And reach out on Piazza with any questions or issues.

  • Assignment - 3 (Probability, Statistics, and Distances)
  • Assignment 03

    Assignment 3 released on Probability, Statistics, and Distances. Here is the notebook.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. Copy this zipped test folder to your Colab local storage
    2. In colab run the following commands,
      !pip install rarfile
      !apt-get install unrar
    3. Copy the below code and run it in a cell after the pip installations:
      import rarfile
      import os
      rar_file = ‘hw3_tests.rar’
      with rarfile.RarFile(rar_file) as rf:
          rf.extractall(‘test’)
    4. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, however all other cells should run. Download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! Please reach out on Piazza with any questions or issues.

  • Assignment - 4 (K-Means Clustering)
  • Assignment 04

    Assignment 4 released on K-Means Clustering. Here is the notebook.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. Copy this zipped test folder to your Colab local storage
    2. In colab run the following commands,
      !pip install rarfile
      !apt-get install unrar
    3. Copy the below code and run it in a cell after the pip installations:
      import rarfile
      import os
      rar_file = ‘hw3_tests.rar’
      with rarfile.RarFile(rar_file) as rf:
          rf.extractall(‘test’)
    4. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, however all other cells should run. Download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! Please reach out on Piazza with any questions or issues.

  • Assignment - 5 (Hierarchical Clustering and GMMs)
  • Assignment 05

    Assignment 5 released on Hierarchical Clustering and GMMs. Here is the notebook.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. Copy this zipped test folder to your Colab local storage
    2. In colab run the following commands,
      !pip install rarfile
      !apt-get install unrar
    3. Copy the below code and run it in a cell after the pip installations:
      import rarfile
      import os
      rar_file = ‘hw5_tests.rar’
      with rarfile.RarFile(rar_file) as rf:
          rf.extractall(‘test’)
    4. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, however all other cells should run. Download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! Please reach out on Piazza with any questions or issues.

  • Assignment - 6 (K-nn, Decision Trees, & Random Forests)
  • Assignment 06

    Assignment 6 released on K-nn, Decision Trees, & Random Forests. Here is the notebook.

    Special Note for Colab Users

    If you are doing this homework on Colab, you will have to take these 3 extra steps:

    1. Copy this zipped test folder to your Colab local storage
    2. In colab run the following commands,
      !pip install rarfile
      !apt-get install unrar
    3. Copy the below code and run it in a cell after the pip installations:
      import rarfile
      import os
      rar_file = ‘hw6_tests.rar’
      with rarfile.RarFile(rar_file) as rf:
          rf.extractall(‘test’)
    4. Add another code cell with !pip install otter-grader

    The last grader.export cell will give you an error, however all other cells should run. Download your notebook from Colab and submit the .ipynb directly to Gradescope.

    Good luck! Please reach out on Piazza with any questions or issues.

  • Kaggle Midterm Challenge
  • Midterm

    The midterm has been released.

    Reade the README and complete the notebook.

    The midterm will be graded manually.

    Good luck! Please reach out on Piazza with any questions or issues.

  • Neural Nets Assignment
  • Neural Nets

    The Neural Nets assignment has been released at the repo.