Calculation of Topsis Score
Project description
Topsis Score Calculation package
pip install topsisGod
from topsisGod import topsis
Input: Three parameters
- data: data should contain only integer fields so preprocess the data and temporarily remove the model names
- Weights: weight of each attribute, considered to be an integer list
- 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsisGod-1.0.0.tar.gz.
File metadata
- Download URL: topsisGod-1.0.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b38c3448a41c2b5e4e8aadea517805c25e3f90a2ab5a19ddfaccc25c9ce40ae
|
|
| MD5 |
9eb62206993a6a04f1e1e229638509d2
|
|
| BLAKE2b-256 |
ab0d0d5297780d3ee96a03722c504165600b598da631cfd870d7b9cc77babc99
|
File details
Details for the file topsisGod-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsisGod-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d820cd4defbb234c1176f6e0d427eee4f1300d6d8015546371d7dbf70e09e1ac
|
|
| MD5 |
6f73f4ef1f87c73f3ecc244e10ae6c19
|
|
| BLAKE2b-256 |
83ccf470c30d3004370e773f42aca1e5cb3fc8803591aeea72eb986438493a19
|