Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xinglab-ai committed Jul 15, 2023
1 parent c77a741 commit e5692bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ plt.title('Genomap of a cell from TM dataset')
```python
import scipy.io as sio
import numpy as np
import metrics
from genomap.genoVis import compute_genoVis
from genomap.genoTraj import compute_genoTraj
from genomap.genoMOI import compute_genoMOI
Expand All @@ -77,7 +78,7 @@ plt.ylabel('genoVis2')
plt.tight_layout()
plt.colorbar(h1)

import metrics
# Print clustering accuracy metrics
print('acc=%.4f, nmi=%.4f, ari=%.4f' % (metrics.acc(y, clusIndex), metrics.nmi(y, clusIndex), metrics.ari(y, clusIndex)))
```

Expand Down

0 comments on commit e5692bb

Please sign in to comment.