Skip to main content

A Python package to get best alternative available using TOPSIS method.

Project description

TOPSIS-Akriti-101803608

A python package which implements TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) which is a multi-criteria decision analysis method.

Steps involved in TOPSIS Algorithm:

1. Creating an evaluation matrix (m x n).
2. Normalization of the matrix so formed such that each metric for a given model lies between 0 and 1.
3. Creating a weighted normalized matrix i.e. multiplying the metrics with the weights of respective model.
4. Determining the ideal best and ideal worst alternatives for each criterion.
5. Calculating the euclidean distance between the target alternative and ideal best and idealworst alternatives.
6. Calculate the TOPSIS score i.e. similarity to the ideal worst alternative.
7. Rank the models on the basis of the TOPSIS score thus obtained.s

Usage

Running the following query on the command-line interface will help you to rank the models i.e. choose the best alternative available from a given set of models based on multiple, usually conflicting criteria.

TOPSIS-Akriti-101803608 <data_file_name> <weights> <impacts> <result_file_name>
Example - TOPSIS-Akriti-101803608 data.csv "1,1,1,2" "+,+,-,+" result.csv

Note - Make sure that you run the command in the folder you have stored your data files , else provide the complete path of the file.

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-Akriti-101803608-1.0.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

TOPSIS_Akriti_101803608-1.0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file TOPSIS-Akriti-101803608-1.0.3.tar.gz.

File metadata

  • Download URL: TOPSIS-Akriti-101803608-1.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.1

File hashes

Hashes for TOPSIS-Akriti-101803608-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ccf1c07e4e106d90ae9daa493ba189a8b835bf902dce0451ba0a24d494974a6d
MD5 5510c02f1d44076f635a395f835b3768
BLAKE2b-256 7747b3b1f1cde02f57b1710b54ab3a8a41144838a01a7bd5c6c81b315a26e5dc

See more details on using hashes here.

File details

Details for the file TOPSIS_Akriti_101803608-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_Akriti_101803608-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.1

File hashes

Hashes for TOPSIS_Akriti_101803608-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7bd591ac80c6e0a52478fd977bd8cf26547db0d1e613ccd4d2b3d68eac671796
MD5 c604bf8156cdd222026654bb5e320244
BLAKE2b-256 de3bae666e65b01f22322a661646f84fbe0961536bc2120f340fe35226395903

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