Skip to main content

Topsis-Rohan-102103108

Project description

Topsis-Rohan-102103108

Topsis-Rohan-Gulati is a Python library designed for addressing Multiple Criteria Decision Making (MCDM) problems using the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method.

Installation

You can install the library using pip:

pip install Topsis-Rohan-Gulati

How to Use

To use the library, provide the CSV filename with the ".csv" extension, the weights vector with comma-separated values, the impacts vector with comma-separated signs (+,-), and the output CSV filename with the ".csv" extension.

Example:

Topsis sample.csv "1,1,1,2,2" "+,+,-,+,+" result.csv

Input (sample.csv)

Fund Name,P1,P2,P3,P4,P5 M1,0.68,0.46,4,52.7,14.46 M2,0.61,0.37,6.9,51.5,14.85 M3,0.61,0.37,4.4,53.5,14.72 M4,0.7,0.49,6,54.5,15.42 M5,0.65,0.42,4.1,68.7,18.47 M6,0.62,0.38,3.6,36.4,10.25 M7,0.92,0.85,5.2,44.6,12.89 M8,0.81,0.66,3.7,35.9,10.27

Command

Topsis sample.csv "1,1,1,2,2" "+,+,-,+,+" result.csv

Output (result.csv)

Fund Name,P1,P2,P3,P4,P5,Topsis Score,Rank M1,0.68,0.46,4.0,52.7,14.46,0.5903064989592446,4.0 M2,0.61,0.37,6.9,51.5,14.85,0.5408709514358343,5.0 M3,0.61,0.37,4.4,53.5,14.72,0.5933191124418361,3.0 M4,0.7,0.49,6.0,54.5,15.42,0.4714313335411608,7.0 M5,0.65,0.42,4.1,68.7,18.47,0.3803866453639049,8.0 M6,0.62,0.38,3.6,36.4,10.25,0.9855303249104818,1.0 M7,0.92,0.85,5.2,44.6,12.89,0.5209148114910495,6.0 M8,0.81,0.66,3.7,35.9,10.27,0.7535236734320149,2.0

Other Notes

The library removes the first column and first row from the CSV before processing to eliminate indices and headers. Ensure your CSV follows the format as shown in the sample.csv. Make sure the CSV does not contain categorical values.

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-Rohan-102103108-1.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Rohan_102103108-1.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Rohan-102103108-1.1.1.tar.gz.

File metadata

  • Download URL: Topsis-Rohan-102103108-1.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for Topsis-Rohan-102103108-1.1.1.tar.gz
Algorithm Hash digest
SHA256 0ce6c916597b4b23c5914c672eadd8e876624d43086ea7fbab957d94e633fc32
MD5 f81c7d62211f40d3446b972253610549
BLAKE2b-256 f29be61b9da6c05560c44555e15d6e30bc9755ef05af020a46a6f12d8fa36af4

See more details on using hashes here.

File details

Details for the file Topsis_Rohan_102103108-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Rohan_102103108-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9d96991089fcd9570c032c449aaa843b0c6f60e6f1ac19569f15a2fa1f189e8
MD5 9fe284321788621d048f3ace5da64f18
BLAKE2b-256 01f7589453234f33ec78da92826a583d27503a6a9aecc0b8383d2416d79a5ac5

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