Skip to content

orpgol/Opportunistic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CS205 Final Project - Spring 2019

The Task:

In this project we will try and build a predicitve model to predict being positive to cancer or malignancy.

  • Using the features available at CDC NHANES, investigate what features you would like to use in your model.
  • Under the tab "Data, Documentation, Codebooks, SAS Code" choose one of the categories: "Demographics Data", "Dietary Data", "Examination Data", "Laboratory Data", or "Questionnaire Data".
  • For each of these categories there is a list of sub-categories available. Clicking the "Doc File" link will provide the information about features in that sub-category and feature names.
  • Using these features, construct a predictive model that will be able to predict having cancer or malignancy.

Example finding feature: Our target of focus (cancer or malignancy) is found under Questionnaire Data -> Medical Conditions -> MCQ220 - Ever told you had cancer or malignancy. Under this question the variable name MCQ220 is what we will use as an identifier in our code.

Tip: If you are looking for a feature, another option is to google "NHANES <feature name>". This is effective if you have a feature in mind but don't want to go over all possible categories to find it.

Important: When selecting features to process, remember to input the correct category where the feature can be found, so that the processing code can find it.

What you are scored on

The grade for this task will be seperated into 3 categories

  • Feature selection, and evaluation. You will be required to explain why certain features were incorporated. empiric evaluation (e.g: mutual information) or a logical explanation for a group of features (e.g: age, geneder are included as demographics, as certain types of cancer affect certain demographics with higher probability. As can be seen here).
  • Preprocessing and feature engineering. Writing your own preprocessing code, explain why you chose a specific imputation technique, or changed the features in a certain way. You can support you argument with previous research done on the topic or with your own experimentation.
  • Predictive modeling. Build an ML model to predict having cancer. Construct a model to fit the data, explain why the chosen model was selected, describe experiments done with the model (e.g: hyper parameter tuning).

How you are scored

The grade will be given based on the quality, supported arguments, and clarity of evaluation of each of the 3 parts. Each part is equal 33.3333...% of your final project grade. Bonus points for originality and "out of the box" thinking for approaching each of these 3 parts.

File list:

  • nhanes.py: implementation of the data preprocessing logic as well as definition an example dataset.
  • Demo_Dataset.ipynb: Jupyter notebook file to demonstrate the basic usage of sample dataset.

How to use:

  1. Download raw data files and decompress them.
  2. Install Python 3 and the following packages: joblib, numpy, pandas, matplotlib, scipy, sklearn, jupyter, pytorch.
  3. Use Demo_Dataset.ipynb to see an example on how to use the predefined task.
  4. Expand nhanes.py to define new tasks by following the implementation logic of the provided sample.
For a detailed explanation of the methods used here for the cost-sensetive health dataset, please refer to: "Nutrition and Health Data for Cost-Sensitive Learning"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 64.1%
  • Python 35.9%