Skip to main content

Topsis-Kartik-102217118 is a Python package designed to simplify multi-criteria decision-making using the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method. This tool allows users to evaluate and rank alternatives systematically, making it ideal for use in areas such as business analytics, project management, and research.

Project description

Topsis-Kartik-102217118

Topsis

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS)

In a general sense, it is the aspiration of human being to make "calculated" decision in a position of multiple selection. In scientific terms, it is the intention to develop analytical and numerical methods that take into account multiple alternatives with multiple criteria. TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is one of the numerical methods of the multi-criteria decision making

Installation

Use the package manager pip to install the package

pip install Topsis-Kartik-102217118

Usage

topsis module will take the data.csv file , weights , impacts , result.csv file:

  1. data.csv file - It is a dataset in CSV format which has atleast 3 columns(including the first column with names). It should only have numerical values. Any non-numerical value should be encoded before passing it to function.
  2. weights - It is a string of comma(,) separated numbers which tell the weight of each criteria.
  3. impacts - It is a string of comma(,) separated + and - sign showing the impact of criteria on decision making.
  4. result.csv file - The output will be saved as a new CSV file, containing the original data, scores, and the final ranking for all alternatives. The command line interface can be used as follows:
python 102217118.py data.csv "1,2,1" "+,+,-" result.csv

Example

data.csv (Input):

contestent sur tal lah pitch sharpness
a 4 18 6.5 35 15
b 6 14 4 38 19
c 6 12 5 42 20
d 8 26 7 50 25
e 3 14 6 40 14
pip install Topsis-Kartik-102217118
python 102217118.py data.csv "1,1,1,1,1" "+,+,-,+,-" result.csv

Output: the result.csv file

contestent sur tal lah pitch sharpness output
a 4 18 6.5 35 15 3
b 6 14 4 38 19 4
c 6 12 5 42 20 2
d 8 26 7 50 25 1
e 3 14 6 40 14 5

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

topsis_kartik_102217118-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Kartik_102217118-1.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file topsis_kartik_102217118-1.0.1.tar.gz.

File metadata

  • Download URL: topsis_kartik_102217118-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for topsis_kartik_102217118-1.0.1.tar.gz
Algorithm Hash digest
SHA256 35000ca3d595baf8f5cc81f72498604dc17a24adaa998bda600b86cdc5d18ede
MD5 4a09f9dc45e420293a4ebc161493c0f8
BLAKE2b-256 e4217d3667b7a695494c16a40bd7428553913f5fbe7a4a40fbf4ac0321b3d24a

See more details on using hashes here.

File details

Details for the file Topsis_Kartik_102217118-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Kartik_102217118-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f5b4f01d0bd63943eb1eef1225ab9de8e42bbd4980428ac77f7d2f616dafcf
MD5 f179bfb9efabbedb7f7e0f9eed638a1f
BLAKE2b-256 ecce83a8578b23b69136e5b9cd7ba3a6da936ef4286e7f57faa43acd588bb885

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