Giter Site home page Giter Site logo

ryanquinnnelson / cmu-02620-taxonomic-binning-for-metagenomics Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 134.85 MB

Spring 2021 Machine Learning for Scientists group project

Jupyter Notebook 96.34% Python 3.66%
metagenomics logistic-regression naive-bayes svm random-forest classification algorithm-implementation biopython

cmu-02620-taxonomic-binning-for-metagenomics's Introduction

02620-Metagenomics

Spring 2021 Machine Learning for Scientists group project

Executing the code

Using implemented models

Jupyter Notebook example_execution_rqn_210513.ipynb contains a sample run showing how to execute the sampling process and training for implemented models.

Grid Search

Each Python module in packages.gridsearch contains the code for executing a grid search over a single model type.

Plotting Results

Jupyter Notebooks plot_results_rqn_210409.ipynb and results_plot_psk_042521.ipynb contain the code for generating plots from the grid search results.

Project Structure

Code for this project is subdivided into Python packages and Jupyter notebooks. Notebooks were used for testing and plotting results. Python packages were developed for sampling and encoding the data, implementing required models from scratch, and testing model performance via grid search.

packages

  • generative_model: Implements Naïve Bayes
  • linear_model: Implements Multiclass Logistic Regression
  • metagenomics: Implements fragment sampling and encoding
  • gridsearch: Implements grid search functionality to test each model over a range of hyperparameters.

notebooks

  • example_execution_rqn_210513.ipynb: Example run showing how to execute the sampling process and training for implemented models.
  • data_exploratory_rqn_210321.ipynb: Explores original dataset and builds sequence datasets used by this project.
  • dev_logistic_regression_rqn_210327.ipynb: Testing of logistic regression implementation
  • dev_sampling_encoding_rqn_210325.ipynb: Testing of sampling and encoding
  • plot_results_rqn_210409.ipynb: Plots results of grid search
  • practice_psk_040421.ipynb: Testing of sampling and encoding
  • psk_testing_naivebayes_041821.ipynb: Testing of Naïve Bayes implementation
  • results_plot_psk_042521.ipynb: Plot results for grid search for SVM and Naïve Bayes

cmu-02620-taxonomic-binning-for-metagenomics's People

Contributors

pskimball1 avatar ryanquinnnelson avatar

Watchers

 avatar

Forkers

pskimball1

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.