Giter Site home page Giter Site logo

deeplearning's Introduction

Overview

project
|- README         		# the top level description of content (this doc)
|- CONTRIBUTING    		# instructions for how to contribute to your project
|- LICENSE         		# the license for this project
|
|- data/           		# raw and primary data, are not changed once created
| |- process/     		# .tsv and .csv files generated with main.py that runs the models
| |- baxter.0.03.subsample.shared      	# subsampled mothur generated file with OTUs from Marc Sze's analysis
| |- metadata.tsv     		        # metadata with clinical information from Marc Sze's analysis 		
|- code/          			# any programmatic code
| |- learning/    			# generalization performance of model
| |- testing/     			# building final model
|
|- results/        			# all output from workflows and analyses
| |- tables/      			# tables and .Rmd code of the tables to be rendered with kable in R
| |- figures/     			# graphs, likely designated for manuscript figures
|
|- submission/
| |- manuscript.Rmd 			# executable Rmarkdown for this study, if applicable
| |- manuscript.md 			# Markdown (GitHub) version of the *.Rmd file 
| |- manuscript.tex 			# TeX version of *.Rmd file 
| |- manuscript.pdf 			# PDF version of *.Rmd file 
| |- header.tex 			# LaTeX header file to format pdf version of manuscript 
| |- references.bib 			# BibTeX formatted references 
|
|- Makefile	 # Reproduce the manuscript, figures and tables

How to regenerate this repository

Dependencies and locations for Python code

  • Python 3.6.5 or Python 2.7, Matplotlib, Numpy, Scipy, Sympy, Pandas, Sklearn and XGBoost to run Shallow Learning code.
  • If running Deep Learning code you need to have Python 3 and Latest PyTorch and Latest Keras with Theano backend.
  • Run everything from project directory.
  • The files mentioned above at process/ from Marc Sze's analysis: https://github.com/SchlossLab/Sze_CRCMetaAnalysis_mBio_2018

Dependencies and locations for R code

Run the following code

git clone https://github.com/BTopcuoglu/DeepLearning

To run L2 Logistic Regression, L1 and L2 Linear SVM, RBF SVM, Decision Tree, Random Forest and XGBoost in Python

  1. Generate tab-delimited files: Cross-validation and testing AUC scores of each model.
  2. Generate tab-delimited files: The AUC scores of each hyper-parameter tested for each model.
  3. Generate a comma-seperated file: The hyper-parameters tuned for each model in one file.
  4. Generate ROC curve figures: The cross-validation and testing ROC curves for each model.
python code/learning/main.py

To run L2 Logistic Regression, L1 and L2 Linear SVM, RBF SVM, Decision Tree, Random Forest and XGBoost in R

  1. Generate tab-delimited files: Cross-validation and testing AUC scores for each data-split and hyper-parameter AUC scores of each model.
  2. Generate ROC curve figures: The testing ROC curves for each model.
R CMD BATCH code/learning/main.R

The Makefile will reproduce all the other figures and tables used in the manuscript.

make submission/manuscript.pdf

deeplearning's People

Contributors

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