Skip to main content

Hullermeier index for fuzzy partitions

Project description

Hullermeier Index for fuzzy partitions

Projeto desenvolvido como Trabalho de Conclusão do Curso de Anderson de Alencar Barros

Este projeto é a implementação do índice de Hullermeier usando pontos flutuantes de precisão arbitrária, conhecido como bigfloats, sendo útil para projetos que requerem alta precisão onde um ponto de fluante de precisão dupla poder ocasionar erros de divisão por zero ou não ser preciso o suficiente. Como o índice varia entre 0 e 1, também pode ser convertidos para precisão dupla com o operador do Python.

O projeto foi implementado segundo o artigo,

HULLERMEIER, E. et al. Comparing fuzzy partitions: A generalization of the rand index and
related measures. IEEE Transactions on Fuzzy Systems, IEEE, v. 20, n. 3, p. 546–556, 2011.

Para explorar o projeto comece fazendo um clone do projeto,

git clone https://github.com/AndersonAlencarBarros/hullermeier

Os requisitos para executar esse projeto são,

  • Poetry
  • Python 3.10

Para instalar use o comando,

pip install hullermeier

Exemplo

from hullermeier import hullermeier
import numpy as np


U = np.array([[1.0, 0, 0], [0, 1.0, 1.0]])
V = np.array([[1.0, 1, 0], [0, 0, 1]])

indice_de_hullermeier = hullermeier(U, V)

print(indice_de_hullermeier)

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

hullermeier-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

hullermeier-0.1.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page