Giter Club home page Giter Club logo

cs254-final's Introduction

CS254-Final

Final project for CS254 Machine Learning by Gabriela Salazar Lopez, Chongqing Gao, Lichao Yang, and Isabelle Francke

Summary: Code for creating and evaluating a machine learning model that predicts the severity of depression based on patient data. We used the 2019 NHIS adult interview dataset to train our model.

Scripts contained in this repo:

InitialDataExploration.pynb: exploring dataset, looking at size, missing data, datatypes, etc

inital_model_data_preprocessing.pynb: preprocessing/cleaning of data for training initial model

Data_Cleaning_Final.pynb: final data cleaning, removes irrelevant columns, removes missing data codes for numerical and categorical ordinal data without N/A's, replaces appropriate NaNs with an N/A code for categorical data, splits into training and testing data, normalizes numerical data, one-hot encodes nomical categorical data

DataImputation.ipynb: removes data randomly and imputes it using a simple imputation strategy (univariate imputation: mode for categorical data, median for numerical data)

FAMD.pynb: performs dimensionality reduction on features using FAMD

RandomForest.pynb: training for initial random forest model

RandomForestFinalModelParameterOptimization.ipynb: optimization and training for final random forest models including parameter search with cross-validation

RandomForestFeatureSelection.pynb: analyzes feature importance using permutation and iteratively selects features using cross validation. trains models with reduced feature datasets.

RFC_ImputedDataTest.pynb: Testing on all random forest models using imputed datasets.

Logistic_Regression.ipynb: training for initial logistic regression

SVM.ipynb: training for initial SVM model with binary encoding

cs254-final's People

Contributors

gabys2006 avatar ifrancke avatar g627444300 avatar longc24 avatar

Watchers

 avatar  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.