Skip to main content

Set of tools to create and use explainable embeddings.

Project description

https://github.com/INGEOTEC/EncExp/actions/workflows/test.yaml/badge.svg https://badge.fury.io/py/EncExp.svg https://coveralls.io/repos/github/INGEOTEC/EncExp/badge.svg?branch=develop

EncExp is a set of tools for creating and using explainable embeddings. As with any embedding, the aim is to have a set of vectors that can be associated with tokens, and consequently, an utterance can be represented in the vector space span by the vectors. However, the difference concerning the embedding estimated with GloVe or Word2Vec, among others, is that EncExp associates vectors where each component has a meaning. The component’s value indicates whether the word associated with the component might be present in the sentence.

The component’s meaning is a direct consequence of the procedure used to estimate the embedding. EncExp estimates the embedding by solving $d$ binary self-supervised classification problems, where the label is the presence of a particular token. The classifier used is a linear Support Vector Machine.

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

encexp-0.1.5.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

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

encexp-0.1.5-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file encexp-0.1.5.tar.gz.

File metadata

  • Download URL: encexp-0.1.5.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for encexp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1bed22d8b0f9fdb17a4726b4abfcd0f8b84e97cf56341337b78ff18f76355906
MD5 ae938ba0f3a92680f12408e4f942afd0
BLAKE2b-256 1e03d6420a051ef4ae50d73948571146918ffc57a46ec0cc66cdce3e693c906d

See more details on using hashes here.

File details

Details for the file encexp-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: encexp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for encexp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b442e084982e41e76804d4b2d9a486566619f0211c8b34e43e2e45f686db8303
MD5 2ff3aaadb251bed49ded70fd061ed473
BLAKE2b-256 e0c8ea8d0f624a0b5d2cc7bd15709b2a9dfb8e842ec1f1dd7527b52c5a0072a2

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