GithubHelp home page GithubHelp logo

krishnanlab / obnb Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 0.0 2.84 MB

A Python toolkit for setting up benchmarking dataset using biomedical networks

Home Page: https://obnb.readthedocs.io

License: MIT License

Python 99.67% Shell 0.33%
computational-biology machine-learning network-biology benchmark-datasets

obnb's People

Contributors

dependabot[bot] avatar pre-commit-ci[bot] avatar remylau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

obnb's Issues

D100

  • src/NLEval/graph/sparse.py:1:1: D100 Missing docstring in public module
  • src/NLEval/graph/ontology.py:1:1: D100 Missing docstring in public module
  • src/NLEval/graph/base.py:1:1: D100 Missing docstring in public module
  • src/NLEval/graph/dense.py:1:1: D100 Missing docstring in public module
  • src/NLEval/graph/featurevec.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model_trainer/supervised_learning.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model_trainer/graphgym.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model_trainer/gnn.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model_trainer/base.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model_trainer/label_propagation.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/collection.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/negative_generator.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/existence_filter.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/range_filter.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/base.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/pairwise_filter.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/filters/value_filter.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/split/partition.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/split/base.py:1:1: D100 Missing docstring in public module
  • src/NLEval/label/split/holdout.py:1:1: D100 Missing docstring in public module
  • src/NLEval/model/label_propagation.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/disgenet.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/go.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/hippie.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/humannet.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/base.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/biogrid.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/bioplex.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/funcoup.py:1:1: D100 Missing docstring in public module
  • src/NLEval/data/string.py:1:1: D100 Missing docstring in public module

Flipped order of top and bot training

https://github.com/krishnanlab/NetworkLearningEval/blob/c16104a9a3020c355775523b38526118b4a7f1c4/src/NLEval/valsplit/Holdout.py#L93-L94

According to the definition of reverse, if reverse is true, then should train on bot, i.e., train_ID_ary should actually be set to bot_list instead of top_list.

https://github.com/krishnanlab/NetworkLearningEval/blob/c16104a9a3020c355775523b38526118b4a7f1c4/src/NLEval/valsplit/Base.py#L93

  • Check to see if there is a unit test associated with it, if so need to correct it test criterion, otherwise provide a test and confirm the above.

Filtering for train/val/test splits

https://github.com/krishnanlab/NetworkLearningEval/blob/1a75b5b1e4525dce81e261d33d13c151cf595135/src/NLEval/label/LabelsetCollection.py#L344-L351

There is a potential issue with the current scheme that would lead to unnecessary removal of label sets. For example, in an iteration, multiple labelsets are to be removed by the LabelsetRangeFilterTrainTestPos filter, but some of them might be okay after reassigning the train/val/test splits.

One potential solution would be reassigning train/val/test splits after every removal of a labelset. However, this poses potential issues such as slower runtime, and also the ordering of removal, which might also lead to different final solution.

get_data.sh doesn't work on MAC

When I tried to run sh get_data.sh or bash get_data,sh on my Macbook I got the following error

get_data.sh: line 3: realpath: command not found
usage: dirname path

D102

  • src/NLEval/graph/sparse.py
  • src/NLEval/graph/ontology.py
  • src/NLEval/graph/base.py
  • src/NLEval/graph/featurevec.py
  • src/NLEval/model_trainer/base.py
  • src/NLEval/label/collection.py
  • src/NLEval/label/filters/negative_generator.py
  • src/NLEval/label/filters/existence_filter.py
  • src/NLEval/label/filters/range_filter.py
  • src/NLEval/label/filters/base.py
  • src/NLEval/label/filters/pairwise_filter.pyd
  • src/NLEval/label/filters/value_filter.py
  • src/NLEval/label/split/base.py
  • src/NLEval/data/disgenet.py
  • src/NLEval/data/go.py
  • src/NLEval/data/base.py

Aligning output with task list

https://github.com/krishnanlab/NetworkLearningEval/blob/d394cf357a5b401d828fcf9038943a0c22afb137/src/NLEval/wrapper/ParWrap.py#L6

In the current setup, the order of the output is (more or less) random. To align back to the original task order, effort must be made to report the task index in the worker function before feeding in to ParDat, which is then used to decide where the result should be placed in the final result array/list. It might be favorable to have a version of ParDat that does the aligning automatically and return the ordered result list.

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.