Skip to main content

Topsis Score Calculation package

pip install topsisGod

from topsisGod import topsis

Input: Three parameters

  1. data: data should contain only integer fields so preprocess the data and temporarily remove the model names
  2. Weights: weight of each attribute, considered to be an integer list
  3. Impact: Considered to be a character list

Weight = [1, 1, 1, 1]

Impact = ['+', '-', '-', '+']

Output: Returns the score of each row

To calculate the rank based on the score, append the score list as:

score = topsis(data, w, i)

from topsisGod import rerank

rerank(data,score)

Github link : GitHub

Metadata

Release files for topsisGod 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for topsisGod 1.0.0
File Size Uploaded Provenance
topsisGod-1.0.0.tar.gz 14.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for topsisGod 1.0.0
File Interpreter ABI Platform
topsisGod-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / topsisGod-1.0.0.tar.gz

Download URL topsisGod-1.0.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7b38c3448a41c2b5e4e8aadea517805c25e3f90a2ab5a19ddfaccc25c9ce40ae
BLAKE2b-256 checksum
How to use checksums
ab0d0d5297780d3ee96a03722c504165600b598da631cfd870d7b9cc77babc99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / topsisGod-1.0.0-py3-none-any.whl

Download URL topsisGod-1.0.0-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d820cd4defbb234c1176f6e0d427eee4f1300d6d8015546371d7dbf70e09e1ac
BLAKE2b-256 checksum
How to use checksums
83ccf470c30d3004370e773f42aca1e5cb3fc8803591aeea72eb986438493a19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Security for topsisGod 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page