GithubHelp home page GithubHelp logo

fabric's Introduction

Fabric Classification using Computer Vision

Repo Contents

The repository contains the entire pipeline for classifying Intelligent Behaviour Understanding Group (iBUG) dataset using various texture and surface microgeometry features.

.
├── docs                            # Documentation (rubric, proposal)
├── figs                            # Graphs and other visualizations 
├── pkls                            # Pickled data files 
├── subsamples                      # Dataset (.gitignore) 
│   ├── train                       # Train images (80%) 
│   ├── test                        # Test images (20%) 
├── utils                           # Tools and utilities
│   ├── feature_utils.py            # Features and other helper functions 
├── 0_features.ipynb                # Initial feature exploration
|── 0_preprocess.ipynb              # Subdivide and augment images; stratefied train-test split
├── 1_pca.ipynb                     # Principal component analysis including visualization
|── 1_downsample_preprocess.ipynb   # Balance train dataset and resize images to 100x100px
|-- 2_parse_to_vector_down.ipynb    # Parse data to df and add features as vectors in the downsampled version; pickle df
|-- 2_parse_to_vector.ipynb         # Parse data to df and add features as vectors full dataset; pickle df
├── 2_svm_feature_vector.ipynb      # SVM classifier with three features vectorized (normals, HOG, BOVW) in the resized and balanced dataset version
├── 2_model_feature_vector.ipynb    # SVM classifier with three features vectorized (HOG, BOVW) with balanaced dataset
├── 3_parse_to_pickle_scalar.ipynb  # Parse data to df and add features as scalars; pickle df 
├── 3_random_forest.ipynb           # Classifier 1 Cross Validation + Hyper Parameter Tuning - Standard random forest, not accounting for imbalanced classes
├── 3_svm.ipynb                     # Classifier 2 Cross Validation + Hyper Parameter Tuning - Support vector machine
├── 3_RF-BalancedWeighting.ipynb    # Classifier 3 Cross Validation + Hyper Parameter Tuning - Weighted random forest
├── 3_XG-Boost.ipynb                # Classifier 4 Cross Validation + Hyper Parameter Tuning - XGBoost Model w/SMOTE Upsampling
├── 3_Final_models.ipynb            # Summary of All-Star Model Peformance (x4) on Training and Test Sets + Analysis of Computational Cost
├── report.pdf                      # Final report 
└── README.md

fabric's People

Contributors

elliswmartin avatar isirollan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.