Skip to main content

A package for creating temporal embeddings with a compass

Project description

Visualizing Temporal Topic Embeddings with a Compass

This package is a rewritten fork of the original CADE package, which generates Temporal Word Embeddings with a Compass (TWEC). It expands on the original paper by creating the concept of Temporal Document Embeddings with a Compass (TDEC) and then generalizes to a topic space through Temporal Topic Embeddings with a Compass (TTEC). It takes advantage of CADE's idea of creating a general, atemporal model (either word2vec or doc2vec) and freezing the hidden weights of that model (the "target embedding") to then be used to train individual time slices. This results in alignment across time slices because similar outputs would require similar input word/document vectors. As a result, words, documents, and topics can be compared across time slices using this alignment method.

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

temporal_embeddings_compass-0.3.0.tar.gz (32.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

temporal_embeddings_compass-0.3.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file temporal_embeddings_compass-0.3.0.tar.gz.

File metadata

File hashes

Hashes for temporal_embeddings_compass-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4b5899893d1ef107b775a297c608c9faab1b3f272e974b294e58fed1e3e59ccf
MD5 2550661dcace56e025961fc6a67193f6
BLAKE2b-256 112d01d23afcd053c274651cba9e42579ead01ff3e35b072d2bc0efdf9518ea6

See more details on using hashes here.

File details

Details for the file temporal_embeddings_compass-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for temporal_embeddings_compass-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 731f4da5e1aced1207dcc7217b9df685eef58de3487e2ef8643c3bffa18c5414
MD5 ed713c60cde6ebb5fe290aace4651051
BLAKE2b-256 1c6182f196fbae828c86ce838e512d257a4d8c2dbec3b76aad86bbbfa279c860

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page