Comments (4)
In drugnet_and_feature.R :'catename=as.character(a[which(a[,2]>100),1])'
means that The drug category can be used as a feature if it repeats more than 100 times.
In this demo, the number of drugs is too small, so sd_drugfeature46.txt can not be generated. You can use st_drugfeature27.txt to replace it.
The 25/27 categories used in this paper could be found in supplementary file.
from gcn-dnn.
In drugnet_and_feature.R :'catename=as.character(a[which(a[,2]>100),1])'
means that The drug category can be used as a feature if it repeats more than 100 times.
In this demo, the number of drugs is too small, so sd_drugfeature46.txt can not be generated. You can use st_drugfeature27.txt to replace it.
The 25/27 categories used in this paper could be found in supplementary file.
Do you mean using the st_drugfeature27.txt to replace sd_drugfeature46.txt ? If so, In the sd_demo.R, I met the problem:
from gcn-dnn.
In drugnet_and_feature.R :'catename=as.character(a[which(a[,2]>100),1])'
means that The drug category can be used as a feature if it repeats more than 100 times.
In this demo, the number of drugs is too small, so sd_drugfeature46.txt can not be generated. You can use st_drugfeature27.txt to replace it.
The 25/27 categories used in this paper could be found in supplementary file.Do you mean using the st_drugfeature27.txt to replace sd_drugfeature46.txt ? If so, In the sd_demo.R, I met the problem:
I tried to use the st_drugfeature27.txt to replace sd_drugfeature46.txt then I met the same problem as the one above. In addtion, I try to use the Yamanishi_08 data' s data to replace demodata.txt, and I met the new problem:
from gcn-dnn.
I just tested my code and found both sp_demo and st_demo can be run. Since the dimension of drugs features in SD test is different from SP and ST, slight change in code is needed. However, the process and method are the same for the three tests. Therefore, you can ignore this problem and use the core part of our method to test on your datasets.
I took a look at your error message, which is a programming problem. Obviously, I can't guide you line by line to write code under different data sets. When you try to use GCN-DTI on another datasets, slight change in code is necessary.
If you come across problems about algorithm(GCN-DTI), please contact me with no hesitate.
from gcn-dnn.
Related Issues (5)
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 gcn-dnn.