Git Product home page Git Product logo

cpop's People

Contributors

kevinwang09 avatar kevinwangstats avatar

Watchers

 avatar  avatar  avatar

cpop's Issues

Bug: only one feature is selected cause CPOP to breakdown

CPOP uses glmnet as the default backend. However, in the case that only one feature can be selected into the model, this causes issues for the cpop2 function to further perform calculations. The reason for this is due to glmnet
https://stackoverflow.com/questions/29231123/why-cant-pass-only-1-coulmn-to-glmnet-when-it-is-possible-in-glm-function-in-r

A solution to this would be using that single selected feature in a more classical model fitting procedure, e.g. glm(). This ensures that a result is given to the user. However, a warning message is necessary here because this edge case detaches itself from the original CPOP manuscript and the intended use.

Feature request: Model/prediction averaging

Since the TOP method requires two datasets for training, we propose that the predictions from both models can be averaged to produce a more sensible prediction for a third data.

Also, since we are talking about the model averaging, can we average out the model predictions using different feature sets (top1_iterate function output).

Simplify the prediction function to use only relevant features

Currently, all the pairwise features will be created before predictions can be made. This can be simplified by configuring the final glmnet model so that only relevant features are kept, and thus reducing the need to parse through large data object when making external validation predictions.

Feature request: network plot aes

Network plot:
Node size: t-stat of gene
Node color: sign of the t-stat of gene
Edge color: sign of the ridge regression coef
Edge size:: magnitude of the ridge regression coef

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.