GithubHelp home page GithubHelp logo

hic-nhanes's Introduction

NHANES HIC

This readme file explains the files and how to effectively use them. You can reach me at [email protected] for any questions.

Data Structures

demographics_with_responses_prefiltered.csv - This csv contains all the participants with their health outcomes and covariate information.

wweia_code_structure.csv - This file contains the structure for the WWEIA food hierarchy.

fndds_code_structure.csv - This file contains the structure for the FNDDS food hierarchy.

The data with all the food information (called "seqn_fdcd_{food consumption measure}.csv was too large to upload here. It can be obtained from online at NHANES for each cycle desired (https://wwwn.cdc.gov/Nchs/Nhanes/search/datapage.aspx?Component=Dietary&CycleBeginYear=2007 as an example for 2007-2008). The structure ends up an nxm matrix with n rows of participants and m columns of food codes.

read_in_data_of_interest_clean.R

This is a helper script that pulls in all the NHANES data, but requires all the NHANES data to be saved in

data_prep_clean.R

This script imports and joins the required data, filters the participants based on the desired health outcome, and creates the test/train split.

hic_code_clean.R

This script generates the HIC score and ranking for the desired food consumption measure and health outcome. It also generates the ranking for all the other feature selection rankings.

run_model_clean.R

This is the main model running script. It uses the other scripts to collect the data, then runs the selected model with the designated number of food features for each for each of the feature selection algorithms. It saves the model classification output in a model registry file if desired.

hic-nhanes's People

Contributors

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