IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

14 wiersze
443B

  1. from decagon_pytorch.data import Data
  2. def test_data():
  3. d = Data()
  4. d.add_node_type('Gene', 1000)
  5. d.add_node_type('Drug', 100)
  6. d.add_relation_type('Target', 1, 0, None)
  7. d.add_relation_type('Interaction', 0, 0, None)
  8. d.add_relation_type('Side Effect: Nausea', 1, 1, None)
  9. d.add_relation_type('Side Effect: Infertility', 1, 1, None)
  10. d.add_relation_type('Side Effect: Death', 1, 1, None)
  11. print(d)