luoyunan / DTINet

A Network Integration Approach for Drug-Target Interaction Prediction
GNU General Public License v3.0
172 stars 60 forks source link

How can I get __train_mf.py #11

Closed Carboxy closed 4 years ago

Carboxy commented 4 years ago

Hello,Professor luo. The third line of \DTINet-master\src\leml-imf\src\python\train_mf.py, which writes "import __train_mf as c_train_mf". How can I get _train_mf.py.

luoyunan commented 4 years ago

Hi,

Please first install the IMC package:

> git clone https://github.com/luoyunan/DTINet.git
> cd DTINet/src
> bash install_imc.sh

Then you can follow the tutorial to run "run_DTINet.m" in MATLAB.

Carboxy commented 4 years ago

Thanks a lot!

Carboxy commented 4 years ago

Hello,Professor luo. I'm afraid I'm going to bother you again. I'm trying to build DTINet on python, but I am confronted with some difficulies in call train_mf.py. So how can I use IMC package in Python.

luoyunan commented 4 years ago

There should be a README or example file in the leml-imf-src.zip package showing how to use it in Python.