Comments (14)
Hi! I just debug the code and found that there may be something wrong with the parser of BeautifulSoup package. I changed the way from 'lxml' to 'html.parser' just now and it works. I also updated the annotation of the code, and hope it will help.
Also, the spider is not always a stable way. You can check your last issue, the worker from DrugBank said that we can parse the official data.
from ddimdl.
Yes, I also find it that you miss Html.parser, can you tell me where from you get the smile because am familiar with such type of smile
FC(F)(F)COC1=CC(C(=O)NCC2CCCCN2)=C(OCC(F)(F)F)C=C1 not this 9|10|14|18|19|20|178|181|283|284|285|286|299|308|332|338|339|340|341|344|345|346|347|351|352|365|366|367|380|393|405|406|528|563|566|567|571|582|592|614|615|617|637|638|639|643|661|662|663|679|680|681|682|683|689|690|691|701|703
and one thing more I think spider code needs to refine because the target is not collecting with this code am working on it maybe I find it soon and where from I can get the event number?
from ddimdl.
The smiles in my database have been transformed with RDKit. You can search how to use RDKit to transform the SMILES into fingerprints. Here I transform SMILES into 881 dimension vectors.
For the second question, I think you are talking about pathway rather than target, right? (Because target is obtained in Line 129 of the code ) In fact, the pathway denotes the position related to the drugs' target, enzyme, carriers, and transporters. You can see the uniprot ID of the target/enzyme in the drugbank website. We used the uniprot ID and obtain its related pathways from KEGG. In fact, the result shows that the pathway didn't help much in the experiment, so we didn't carry further research.
As for the event number, you can simply replace the drugs' names in event description with DrugA and DrugB. And then use the select count(*) from XXX(table name) group by event. So that you can tag event number for the events.
from ddimdl.
Thanks for consideration can you guide me what is an exact prediction in it, I have print and check that [3. 2. 0. ... 2. 0. 0.] I am getting it as a prediction case or y_true. is it due to one-hot encoding?
from ddimdl.
The original prediction has the shape of [batch_size, event_number], and it corresponds to the shape of y_true_one_hot.
So I think [3. 2. 0. ... 2. 0. 0.] may be y_true or pred_type. They both have the shape of [batch_size, 1] or just [batch_size].
pred_type is obtained by np.argmax(prediction, axis=1).
from ddimdl.
i want to know that what we predict as you have said that it is due to batch size it means real one is 3 if I talk about for only one so this 3 means mechanism and action?
from ddimdl.
I just want to explore it on one drug as x_test means how it is working?
from ddimdl.
Yes, after you get the prediction result 3 for a drug-drug pair. Then you have look up the mapping relationship between your labels and mechanism, action. So that you can know the potential DDI event between the pair.
from ddimdl.
can we discuss it in depth with another platform rather than posting here?
from ddimdl.
Leave your IM app(telegram, what’s app etc) and account and I’ll contact you there.
from ddimdl.
+923004146023
from ddimdl.
Hi! Which IM app do you use? I didn't find you on telegram.
from ddimdl.
from ddimdl.
The smiles in my database have been transformed with RDKit. You can search how to use RDKit to transform the SMILES into fingerprints. Here I transform SMILES into 881 dimension vectors.
Are you talking about smiles to MOL ??
from ddimdl.
Related Issues (20)
- NLPProcess running error HOT 4
- KeyError: 'DB00001' HOT 5
- Smiles Didn't extracted using DRKG_drug_spider.py HOT 6
- Input shapes for LSTMS HOT 4
- table 2 results in paper HOT 3
- 关于数据集的问题 HOT 2
- Request Full Code of 3 Tasks for Further Study HOT 5
- Request full code HOT 2
- about the the running rounds
- Fingerprints
- Ask for the DDI types of Devision HOT 4
- 关于数据处理的问题 HOT 1
- Request full code
- i need some help in testing the model after get files
- i need some help in testing the model after get files model.h5 and smile+target+enzyme_each_DDIMDL.csv
- problem in test the model
- task2 and task3
- error related to sklearn.linear_model.logistic
- Database connectivity issue
- NLP_Process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddimdl.