Visualization of text embeddings/vectorization with clustering
Project description
Visualize embed of documents
Install requirements and spacy model
You could use conda
conda create --name embedisualization python=3.6
source activate embedisualization
pip install -r requirements.txt
python -m spacy download en_vectors_web_lg
This spacy model (en_vectors_web_lg)[https://spacy.io/models/en#en_vectors_web_lg] is quite heavy (631MB)
Install embedisualization lib
pip install embedisualization
Example
To run exemplary visualisation go to examples directory and run
python sample_text_vis.py
It will take minute or two to generate embeddings and create 2D vis. The new webpage with D3 visualisation will be presented.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file embedisualization-0.4.tar.gz.
File metadata
- Download URL: embedisualization-0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
933a710e49364217c83f3203acf23a000745f24bf6b9dfaadf0b08e12ce1a9a5
|
|
| MD5 |
7362d6c7aa3c6741c47fdc6ff07c079f
|
|
| BLAKE2b-256 |
a187fce787d5949a9038f96fad1ad45a78e46ec4c64f5345c6fb7aad29651d6c
|
File details
Details for the file embedisualization-0.4-py3-none-any.whl.
File metadata
- Download URL: embedisualization-0.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3529e1b038f304e38536c649d878a7d45443fb75369ed21f1f6f96fb4de0d2
|
|
| MD5 |
236ce0b3b7b4b6ac3d33b84ce0c87bc0
|
|
| BLAKE2b-256 |
62949ef7f039e6723b5f87a62c2f47ce1cbdb57b518c2f450f21b6bcb97822c0
|