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.1.tar.gz (46.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.1-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for encexp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 84b94cd5d5bd6087dc8a30f6e794b72a317c5ad94ef4ca3bdc6bb449e702aa99
MD5 a676c0560fbd7b664c6782d816ce9c3c
BLAKE2b-256 8db16ef7764e6f7c5a28b9623a6a8e77492a6705e62116e3a1a76201e49a987d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for encexp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 038948af94c2ff229ceac81864f045f4516f30bbeda755229f383b6188203e5d
MD5 63d17e8c9815d198d1b588e1a318e97d
BLAKE2b-256 0a8b8a2020886623f74d850b33dffbc2fe718d742a3373e9ee4d4b2be902c515

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