Skip to main content

Topsis

Project description

Topsis Result Calculator

It runs on terminal and takes a csv file , weights of column, impacts and name of the output file as input and gives an output csv file that contains topsis performance score and the rank of a particular entity.

Installation

On your terminal run the command below:
pip install Topsis-Apoorv-102083051

Importing and using in source file

use the package in source file as follows:

tbj=__import__("Topsis-Apoorv-102083051")
tbj.get_topsis_result("input.csv","1,1,1,1,1","+,-,-,-,+","output.csv")

How to get output?

output is taken by running the command on terminal as : python "sourcefile.py" "input.csv" "weights(separateed by ',')" "impact(separated by ','))" use impact as '+' for maximizing the feature and '-' for minimizing. On your terminal run the command:
python source_file_name.py input_file.csv "1,1,0,1" "+,-,+,+" output_file_name.csv Output will be stored in your present working directory as a csv file.

Constraints

Number of columns in input file(other than the name of the entity) should be equal to length of impacts and length of weights.

Input file should not have blank values

Number of Columns in Input files should not be less than 3

There should not be any csv file with same name as your output file in present directory

Number of Arguments should be equal to the number as specified above

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Apoorv_102083051-0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Apoorv_102083051-0.2-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Apoorv_102083051-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for Topsis_Apoorv_102083051-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 080b28a8488a7a9c38339baea9be29944e0898773e54f2549e5df52bee2cd3e2
MD5 29f7f035916d0d99b2b332630f157a9d
BLAKE2b-256 13d6d8e9f20c98d942bf2aaecfba2f5e03e086a51e779ddf87b5d00ecfbe4baf

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