kexinhuang12345 / MolTrans

MolTrans: Molecular Interaction Transformer for Drug Target Interaction Prediction (Bioinformatics)
https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/btaa880/5929692
BSD 3-Clause "New" or "Revised" License
175 stars 43 forks source link

How to preprocess myself dataset #2

Closed xnuohz closed 3 years ago

xnuohz commented 3 years ago

how to use your code to preprocess dataframe like

d_id t_id y
C#CC(N)CCC(=O)O MGQACGHSILCRSQQ... 0

to get "drug_encoding" and "target_encoding"? Thanks:)

xnuohz commented 3 years ago

Sry,it seems "drug_encoding" and "target_encoding" are not necessary, they are processed by BIN_Data_Encoder.