xuixee / ColonCancerOutcomeCalculator

Colon Cancer Conditional Survival Outcome Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colon Cancer Outcome Calculator

This calculator is published at (http://info.eecs.northwestern.edu/ColonCancerOutcomeCalculator)

Run instructions:

Step 1. Install python virtual environment (http://docs.python-guide.org/en/latest/dev/virtualenvs/)

a. Install virtualenv using pip install virtualenv
b. change directory to the apache web server and create an application directory e.g. /apache_path/colon_cancer
c. change directory to the ColonCalc path
d. create a virtual environment using virtualenv venv
c. to start the virtual environment use source venv/bin/activate
e. to stop the virtual environment use deactivate

Step 2. Install all required python packages in the virtual environment a. start the virtual environment use source venv/bin/activate b. install Flask (http://flask.pocoo.org), sklearn (http://scikit-learn.org/dev/install.html), etc.

Step 3. Run the backend code by executing the __init__.py file

Notes:

  1. The templates directory contains a directory called meta_files. This directory contains files for each dropdown list in the page. It follows the below convention. The post attributes used in the html code use the dropdown_list_label as the attribute name. If the label has multiple words only the first word is used. e.g Primary Site will be just Primary

    dropdown_list_label#code#text_associated with the code#flag used to keep track of selection. e.g. Behavior#1#malignant potential, and uncertain malignant potential#0

  2. If a flask.wsgi is needed, place the file flask.wsgi after changing the path in it in the apache web server path. i.e. the colon_cancer and flask.wsgi reside in the same directory

Project Publication:

Al-Bahrani, Reda, Ankit Agrawal, and Alok Choudhary. "Survivability prediction of colon cancer patients using neural networks." Health informatics journal (2017): 1460458217720395.

Questions/Comments:

email: rav650@eecs.northwestern.edu

About

Colon Cancer Conditional Survival Outcome Calculator

License:Other


Languages

Language:Python 57.3%Language:HTML 40.0%Language:JavaScript 2.7%