TOPSIS implementation
Class project for DATA ANALYSIS AND VISUALISATION 2020 - UCS633 Thapar University, Patiala
Submitted by: Paras Arora
101703382 (COE 18)
Output is a dataframe with 3 columns
- Alternatives
- Score
- Rank
Installation
pip install topsis-101703382
To use via command line
topsis-101703382-cli data.csv 25,25,25,25 -+++
First argument after run.py is filename with .csv extension. The .csv file is assumed to have a structure similar to one provided in topsis-101703382/data.csv
That is, the .csv file should have a header with column names and first column should only list alternatives and not attribute values.
To use in .py script
from topsis-101703382 import topsis
"""
decision_matrix is 2D numpy array, weights is a 1D array and impacts is a string of the form +-+--
where + implies benefit and - implies cost
"""
output_dataframe = topsis(decision_matrix,weights,impacts)
Metadata
Release files for topsis-101703382 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| topsis-101703382-0.0.2.tar.gz | 3.1 kB | Without provenance | Details for topsis-101703382-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| topsis_101703382-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for topsis_101703382-0.0.2-py3-none-any.whl |
Total release size: 7.7 kB
Release files / topsis-101703382-0.0.2.tar.gz
| Download URL | topsis-101703382-0.0.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b9c05ec5e3d48f28448c8e3c92ea17412045c3bce9b94a2b723ee3a2edca13b
|
|
BLAKE2b-256 checksum How to use checksums |
2d0886a6f81c8d8e5133dbfe9cfe82453d7d25b913f349271d8e18e3cf060390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / topsis_101703382-0.0.2-py3-none-any.whl
| Download URL | topsis_101703382-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a45a6c30cfebbace2e76bf24aa87028fd233ae28b4e10686a26eaf480e3c0b7b
|
|
BLAKE2b-256 checksum How to use checksums |
ec12bc560f9f60e150af5b347453b284164bf8241bc45f03c9eb735fdeddf1ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for topsis-101703382 0.0.2
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.