Skip to main content

A package for creating temporal embeddings with a compass

Project description

Temporal 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 is currently working on generalizing the idea to temporal topics. 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.1.0.tar.gz (5.2 kB 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.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for temporal_embeddings_compass-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f1cb7c7a981c9293fce2f95d87bf4714def681c4b721078c8346c613c3e28fb
MD5 fb2bf3ca0a23b7496226a5eaeb31f2ec
BLAKE2b-256 6c949f59a117cb832c445394651f56c6716440510b1b8ab2f9235dae60614ee0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for temporal_embeddings_compass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29f62a51de74aff3c4c6323dace4ed60f0db3fb338f6d14e06c7f11cff828306
MD5 e9f250404ed58a1c74283fe938919a1c
BLAKE2b-256 1607f7e4164caece152d867cc6fa83e785738d917cdd5f5fb6b2e3ecae7c122f

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