Giter Site home page Giter Site logo

Comments (12)

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

That's weird, I must have stored the wrong model. Let me double-check and I will upload the correct model.

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

Hey it seems this model is wrong. You can use "MPNN_CNN_BindingDB_IC50" instead. It is trained on a much larger training set (~10^5 -> 10^6) and should have higher quality. Do note that the units now switches from Kd to IC50.

from deeppurpose.

pykao avatar pykao commented on May 17, 2024

Did you use the latest BindingDB to train this model?

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

Hey, it is using the past version 2020m2. There should be some minor difference with the current most up to date version regarding the number of training points.

from deeppurpose.

pykao avatar pykao commented on May 17, 2024

Thank you for your reply 👍🏽 Please let me know if you want the trained MPNN_CNN on BindingDB using Kd.

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

No problem! Did you mean you are managed to train the model? If so, would be great to share with me ([email protected]), thanks!

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

You can simply use the model.save('XXX') function and then send me the model file; i will upload to the server and update the link, thanks again!

from deeppurpose.

chemlove avatar chemlove commented on May 17, 2024

Hi Kexin,
It seems that the pre-trained model MPNN_CNN downloaded using pretrained_dir = download_pretrained_model('pretrained_models') in the oneliner.py still showing the old configuration:

{'input_dim_drug': 1024,
'input_dim_protein': 8420,
'hidden_dim_drug': 128,
'hidden_dim_protein': 256,
'cls_hidden_dims': [1024, 1024, 512],
'batch_size': 16,
'train_epoch': 1,
'LR': 0.001,
'drug_encoding': 'MPNN',
'target_encoding': 'CNN',
'result_folder': './result/',
'binary': False,
'mpnn_hidden_size': 128,
'mpnn_depth': 3,
'cnn_target_filters': [32, 64, 96],
'cnn_target_kernels': [4, 8, 12]}

Maybe you need to update the model file on the https://dataverse.harvard.edu/api/access/datafile/

Maybe the configure files corresponding to pretrained_dir = download_pretrained_model('models_configs') also need a update.

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

Sounds good, do you want to contribute and train a new model for it?

from deeppurpose.

chemlove avatar chemlove commented on May 17, 2024

I'd like to have a try. Could you please give me the dataset of BindDB Kd? And what preproccess or data cleaning is needed before I start the train?
Subsequent help may be needed since I am a complete newbie for ML :)

from deeppurpose.

kexinhuang12345 avatar kexinhuang12345 commented on May 17, 2024

Sounds good, it should be the one in the https://github.com/kexinhuang12345/DeepPurpose/blob/master/DEMO/Transformer%2BCNN_BindingDB.ipynb

simply replacing the model and parameter should be good

from deeppurpose.

Jameel9 avatar Jameel9 commented on May 17, 2024

Thank you for your fruitful discussion and big thank-you to the developers of this library. My question is:
In the latest release od DeepPurpose, was the MPNN_CNN model corrected and it works fine now?

from deeppurpose.

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.