Skip to main content

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.

Sample of Trump's Tweets Embedisualized

Metadata

Release files for embedisualization 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for embedisualization 0.4
File Size Uploaded Provenance Actions
embedisualization-0.4.tar.gz 4.3 kB Without provenance Details for embedisualization-0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for embedisualization 0.4
File Interpreter ABI Platform Actions
embedisualization-0.4-py3-none-any.whl Python 3 none any Details for embedisualization-0.4-py3-none-any.whl

Total release size: 9.1 kB

Release files / embedisualization-0.4.tar.gz

Download URL embedisualization-0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
933a710e49364217c83f3203acf23a000745f24bf6b9dfaadf0b08e12ce1a9a5
BLAKE2b-256 checksum
How to use checksums
a187fce787d5949a9038f96fad1ad45a78e46ec4c64f5345c6fb7aad29651d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / embedisualization-0.4-py3-none-any.whl

Download URL embedisualization-0.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee3529e1b038f304e38536c649d878a7d45443fb75369ed21f1f6f96fb4de0d2
BLAKE2b-256 checksum
How to use checksums
62949ef7f039e6723b5f87a62c2f47ce1cbdb57b518c2f450f21b6bcb97822c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for embedisualization 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page