Coder Social home page Coder Social logo

contact-mutation-regression's Introduction

Contact-Mutation-Regression

Setup

  1. git clone https://github.com/Nightknight3000/Contact-Mutation-Regression
  2. pip install -r requirements.txt

Usage

The CLI - Command Line Interface

> python start_contact_mutation_regression.py
usage: start_contact_mutation_regression.py -c <learning algorithm> -i <inputfilepath> -p <inputfilepath> -o <outputpath> [-s/-v]
-c <arg> either 'xgb', 'sklearn', or 'ridge' to specify learning algorithm
-i <arg> csv/txt-file for classifier training
-p <arg> csv/txt-file to be predicted by classifier (optional)
-o <arg> output path for classified inputfile (optional)
-s/-v, --silent/--verbose provide -v or --verbose to see full classification process and training (default -s)
(currently only works with xgb)

Examples

Using the example file 'contact_map_blomap_6A.csv' as first inputfile in the data folder: data.

Now we can run the project using our shell of choice:

python start_contact_mutation_regression.py -c xgb -i data/inputfiles/contact_map_blomap_6A.csv -p data/inputfiles/contact_map_blomap_6A.csv -o data/outputfiles/contact_map_blomap_6A_xgb_predicted.csv

Authors

Team iGEM 2018 Tübingen
Lukas Heumos
Steffen Lemke
Alexander Röhl

contact-mutation-regression's People

Contributors

nightknight3000 avatar zethson avatar

Watchers

 avatar

contact-mutation-regression's Issues

Please add hyperparameter optimization

Hey,

hyperparameter optimization is an easy way to improve your regression performance. Furthermore, we can write lots of stuff about it on our wiki.

I suggest that you implement grid-search as well as randomized-search.
They're super simple and you can steal most of the code from here:
https://github.com/Zethson/MHC-1-Binding-Predictor-iGEM2018-Tuebingen/tree/development/src/algorithms/ml/gbtrees

Randomized search is a loooooot faster than grid-search but the results are likely a little bit worse.

Cheers

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.