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.9.tar.gz (42.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.9-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: encexp-0.1.9.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for encexp-0.1.9.tar.gz
Algorithm Hash digest
SHA256 9e5cbb0ac6a17a1222c05887eb4a5ff786d914f8800f8b3a6ffded5696088efd
MD5 45dea1692b7da628b837a1cb629e9d8d
BLAKE2b-256 acacdff3e800ec93488274b28aed085725fbc3ddb2f302b3bb2b6abc2d9e8802

See more details on using hashes here.

File details

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

File metadata

  • Download URL: encexp-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 48.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for encexp-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c415f746d8227685e5af59c8f41041f75f9f95b8f2db3390697f17fbf048c35c
MD5 a680687f3e109dab300ef243870d42cb
BLAKE2b-256 dc8bb71b6e178e20070f4eead03021f2542d954208c308e4c69e5618e7947d9d

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