Coder Social home page Coder Social logo

adr-graph's People

Contributors

dbeanm avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adr-graph's Issues

Unable to run Example Data

I have downloaded the data and docker image. The initiation of the EdgePrediction image throws an error. This is from the second line in the ExampleUseDoc.rst.

ep = EdgePrediction.EdgePrediction()
AttributeError Traceback (most recent call last)
in
----> 1 ep = EdgePrediction.EdgePrediction()

AttributeError: class EdgePrediction has no attribute 'EdgePrediction'

Even running the following
ep = EdgePrediction()
I run into other errors later.

Thank you for your time in developing this, and I do recognize that this hasn't seen a lot of attention but despite that, I would really like to see this package work.

require_all_predictors default

Wondering if there is another place to set, require_all_predictors to 'False' other than "init"? I was hoping to increase the number of models the 'predictAll' method would produce. Switching the default value to 'False' did not seem to change the result.

self.require_all_predictors = False in the init method

epall = ep.EdgePrediction()
s = epall.CSV_to_graph('data.csv', header=True, srcNameCol=0, srcTypeCol=1, tgtNameCol=4, tgtTypeCol=3, edgeTypeCol=2)
epall.preprocess()
epall.to_predict = 'HAS_SIDE_EFFECT'
epall.network_order = ['HAS_SIDE_EFFECT', 'DRUG_TARGETS', 'INDICATED_FOR']

AllResult = epall.predictAll(calculate_auc = True)

still produces several results that indicate:

self.require_all_predictors is True and x/3 networks have 0 predictor overlap
not optimizing a model for CXXXXX

Again my main goal is to just generate a higher percentage of models. Thank you for your time and attention.

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.