Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
inoue0426 authored Nov 7, 2024
1 parent 65d9d62 commit 86f3c60
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ data = [
]
```

Output is as follows:
## Output Data

### For multiple drugs and cell lines

```python
predict, res = drGAT.eval(model, test)
predict, res = drGAT.eval(model, test) # Probability of sensitivity and Metrics.
res # Metrics

| Accuracy | Precision | Recall | F1 Score | True Positive | True Negative | False Positive | False Negative |
Expand All @@ -60,7 +62,17 @@ res # Metrics

predict # Probability

tensor([1., 0., 0., ..., 1., 0., 0.])
tensor([0.7653, 0.3292, 0.3037, ..., 0.9121, 0.4277, 0.2037])
```

### For single drug and cell line

```python
predict, _ = drGAT.eval(model, test)
predict

# Probability of sensitivity.
tensor(0.7653)
```


Expand Down

0 comments on commit 86f3c60

Please sign in to comment.