Skip to main content

Extended Decision Fusion

Project description

eFusor: Extended Decision Fusion

Usage:

from efusor import fuse

methods = [
    "max", "min", "sum", "product", "median", "average", 
    "hard_voting", "soft_voting", 
    "borda"
]

matrix = [[0.25, 0.60, 0.15], [0.00, 0.80, 0.00]]

# unweighted results
for method in methods:
    result = fuse(matrix, method=method)
    print(f"{method}: {result}")
max:         [0.25, 0.8, 0.15]
min:         [0.0, 0.6, 0.0]
sum:         [0.0, 1.07, 0.0]
product:     [0.0, 0.16, 0.0]
median:      [0.125, 0.7, 0.075]
average:     [0.125, 0.7, 0.075]
hard_voting: [0, 2, 0]
soft_voting: [0.125, 0.7, 0.075]
borda:       [1.0, 4.0, 0.0]

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

efusor-0.1.0.tar.gz (18.7 kB view details)

Uploaded Source

File details

Details for the file efusor-0.1.0.tar.gz.

File metadata

  • Download URL: efusor-0.1.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for efusor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5631624b4aea09d21c761ee0a23ecd5f7f1b3aa31ee219e8c0bbee55d719c2bf
MD5 7a8cf6e6afbdf5057464e25382b0170a
BLAKE2b-256 bc6994527524075cb36b333239bf70c4dc3e6e745a04321e709bfbdedfdc9aad

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