Giter Site home page Giter Site logo

rna-active-learning's Introduction

rna-active-learning

Capstone project for 02763 MSAS Capstone 1 at CMU

This project solves multiple rna related problem using xgboost with active learning.

Environment

To set up the environment, you can run

conda env create -f environment.yml

To activate the conda environment, you can run

conda activate 02763

Data

There are two types of data. One describes the class of each rna sequence. The other describes a function based on rna features.

Class labels

To extract classes from rna sequences, you can run

python data/classifier.py

Regression labels

To generate a regression object from rna sequences, you can run

python data/prediction.py

Training

There are three models solving classification problem. The

Class prediction

To predict the class of the rna sequence, with the level (eg. 3) of class we want to predict, we can run

python models/classifier.py -i inputs/SILVA_138_3_8_sliding_0 -c 3

Note here active learning is not implemented due to computation complexity.

Class pairing

To predict whether a pair of rna sequences comes from the same class (eg. level 3), you can run

python models/pair.py -i inputs/SILVA_138_3_8_sliding_0 -c 3

Function predicting

To predict the function, which is also formed as a classification problem by setting a threshold, we can run

python models/prediction.py -i inputs/SILVA_138_3_8_sliding_0 -p 80

rna-active-learning's People

Contributors

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