Giter Club home page Giter Club logo

Comments (4)

hkmztrk avatar hkmztrk commented on September 13, 2024 1

Hi @hanulpark98, no worries :)

Those lines you refer to are, you can think of as placeholder variables for selected function, meaning

perfmeasure = get_cindex

perfmeasure variable can take any function as long as these functions have the same inputs which is Y and P. If you recursively follow the functions where perfmeasure is sent as argument you will reach to below line.

rperf = prfmeasure(val_Y, predicted_labels)

The code is a little bit old now but idea is to give it a little more flexibility whether you choose get_cindex or get_aupr functions from emetrics.py. Hope this makes sense.

You can refer to here for pytorch implementation.

from deepdta.

hanulpark98 avatar hanulpark98 commented on September 13, 2024

oh that makes sense
big thanks for the comment

from deepdta.

hanulpark98 avatar hanulpark98 commented on September 13, 2024

Hi @hanulpark98, no worries :)

Those lines you refer to are, you can think of as placeholder variables for selected function, meaning

perfmeasure = get_cindex

perfmeasure variable can take any function as long as these functions have the same inputs which is Y and P. If you recursively follow the functions where perfmeasure is sent as argument you will reach to below line.

rperf = prfmeasure(val_Y, predicted_labels)

The code is a little bit old now but idea is to give it a little more flexibility whether you choose get_cindex or get_aupr functions from emetrics.py. Hope this makes sense.

You can refer to here for pytorch implementation.

hi i've been studying your code since and found out that 11902 proteins * 1353 ligands binding affinity data of your dataset Y, there were only 50181 (which is 0.3 percent of the data) that were not NAN. can you explain how it is possible to train the data with so much missing data?

from deepdta.

hkmztrk avatar hkmztrk commented on September 13, 2024

Hi @hanulpark98, it is true that actual experimental data is quite limited and this eventually is an imbalanced dataset. Therefore, one can pay attention to metrics such as AUPR to interpret the results more carefully. Hope this answers your question. I'm closing the issue but feel free to comment/reopen.

from deepdta.

Related Issues (20)

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.