Skip to content

Commit

Permalink
Merge pull request #51 from x-tabdeveloping/x-tabdeveloping-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
x-tabdeveloping authored Jun 25, 2024
2 parents 1dbf359 + f53d067 commit 0741c4b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,21 @@ for batch in batched(corpus, 200):

You can now produce a compass of concepts along two semantic axes using $S^3$.

<table>
<tr>
<td>

```python
from turftopic import SemanticSignalSeparation

model = SemanticSignalSeparation(10).fit(corpus)

# You will need to `pip install plotly` before this.
fig = model.concept_compass(topic_x=1, topic_y=4)
fig.show()
```

<p align="center">
<img src="../images/arxiv_ml_compass.png" width="60%" style="margin-left: auto;margin-right: auto;">
</p>
</td>
<td><img src="./docs/images/arxiv_ml_compass.png" width="350" style="margin-left: auto;margin-right: auto;"></td>
</tr>
</table>


## Basics [(Documentation)](https://x-tabdeveloping.github.io/turftopic/)
[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/x-tabdeveloping/turftopic/blob/main/examples/basic_example_20newsgroups.ipynb)
Expand Down

0 comments on commit 0741c4b

Please sign in to comment.