Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECEN758

This is a course project of doing classification on mnist-fashion dataset. The project webpage is here. We perform the exploratory data analysis on the dataset. The neural classification model is SqueezeNet. We also use GradCAM to interpret the model.

Run Code for Scoring

The environment is well configured in Colab. Please use the link for testing the code. The code is the same as /src/main_for_scoring.ipynb. Please make sure the GPU is used in Colab by clicking Edit->Notebook Settings->T4 GPU. To run the code, you can directly click the run button and the result will shown below each block.

Code Files Introduction

  • src/main_cv.ipynb: This is the integrated code with cross validation. (It takes long time to run).
  • src/main_for_scoring.ipynb: This is the code for scoring, which has the basic training, validation, and testing function.
  • src/data_exploration.ipynb: This is the code for Exploratory Data Analysis.

Environment Configuration without Using Colab

  1. install conda environment
conda create --name fashion python=3.10
conda activate fashion
#install torch=2.1.0 py=3.10 cuda=11.8 cudnn=8.7.0
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
conda install -c anaconda jupyter
  1. install packages
pip install -U scikit-learn
pip install grad-cam

Grading Rubic (Checklist)

  1. Data Preparation (10 points)
  • Data cleansing and transformation (5 points)
  • Data splitting (i.e., training, validation, and test splits) (5 points)
  1. Exploratory Data Analysis (EDA) (10 points)
  • Descriptive statistics (e.g., class distributions, data statistics) (5 points)
  • Data visualization (e.g., plot examples from classes, dimensionality reduction approach to show data) (5 points)
  1. Model Selection (20 points)
  • Algorithm selection: Justification for choosing specific data mining algorithm (e.g., decision trees, KNN, neural networks, etc.). (5 points)
  • Model building: Developing and tuning selected model (e.g., hyperparameter tuning) (10 points)
  • Model evaluation: Proper evaluation metrics (e.g., accuracy, precision, recall, F1-score) and qualitative analysis (e.g., confusion matrices) for classification on test set. (5 points)
  1. Code and Software (10 points)
  • Code quality (i.e., well-documented, readable, and structured code) (5 points)
  • Ability to run code (5 points)
  1. Collaboration (10 points)
  • Teamwork: Each individual will provide a ranking for their team members: excellent, very good, satisfactory, needs improvement, and unsatisfactory. Justification will be needed for rankings less than satisfactory. This will be submitted individually on Canvas. (5 points per team member)
  1. Interpretability (10 point)
  • Model interpretablity: Demonstrating an understanding of how the model makes predictions (e.g., feature importance). (5 points)
  • Business insights: Discussion of the practical implications of this work for a clothing company. (5 points)
  1. Project Report (30 points)
  • This component will be graded based on the requirements outlined above.
  1. (Optional) Accessible Work (5 points)
  • Website or blog post to share work completed on project.

About

Course Project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages