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.8.tar.gz (42.5 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.8-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encexp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 31705a86700d92b3aa67807e63fb0fbced2bc0b9e7ac4af7b5b675dce8dcb06b
MD5 6d9c5e5ea735cece599b3a7b470f602b
BLAKE2b-256 6db0d3c266501cc0b64a38f7ee6c14b6f43f2743c8fa8f5153ef986e1e8a7dcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encexp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 48.3 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c59c6b54c5eccb4e8ad147f65c7c09400b3c01a4e0ce477c6e5a97ccb1319e3c
MD5 471677b61cc9d3bf6698616430dcdf83
BLAKE2b-256 722695d47a83319cb2152d5cbfec748c8d12b3e6c0347a42ea377f6f9fb4e5ac

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