Skip to main content

Topsis, packaged for ease.

Project description

Topsis-Package

A simple package to implement TOPSIS .


Installation:

    pip install Topsis-Aditya-102003706

Command Line Usage

USAGE:

    TOPSIS <input_data_file> <weight> <impact> <output_file>

input_data_file : The path of the CSV file that contains the input data. Sample input file is available on github.

weight : The comma separated weights to be assigned to all the choices. Have to be same size as the data.
eg:

    "1,1,1,1,1"

_impact_ : The comma separated impacts to be assigned to all the choices. Have to be same size as the data. eg:
    "+,-,+,-,+"

otuput_file : The path of the CSV file that will contain the result. Sample file is available on github.

Example:

    TOPSIS Sample.csv "1,1,1,1,2" "+,-,+,-,+" Result.csv

Usage as a Library

Import:

    from Topsis.TOPSIS import topsis

Syntax:

    topsis( input_data_file ,weight, impact, output_file )

Returns:

A pandas dataframe containg the original data with the columns for Topsis Score appendt and Rank appended.

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-Aditya-102003706-0.1.5.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

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

Topsis_Aditya_102003706-0.1.5-py3.10.egg (6.2 kB view details)

Uploaded Egg

Topsis_Aditya_102003706-0.1.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Aditya-102003706-0.1.5.tar.gz.

File metadata

  • Download URL: Topsis-Aditya-102003706-0.1.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for Topsis-Aditya-102003706-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f0503fec0fb8aff0444bde032cfbdd93fb194d7d1737441dfd82096dd39e1bc3
MD5 edca0fa3085d3da64a1ba7fda171ce52
BLAKE2b-256 0a3f81eab293cf6d581a3e36b56b33e5a064869e7f001d1cd23d15e813764bc3

See more details on using hashes here.

File details

Details for the file Topsis_Aditya_102003706-0.1.5-py3.10.egg.

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.5-py3.10.egg
Algorithm Hash digest
SHA256 b57302d3a5a7b94889d519c49bdcc6defb9f28d44ce72d0df1ee08fb4b64f5d3
MD5 27e36142e4ed4e3b450c0d27dbc11f1e
BLAKE2b-256 974702a966851038c89dc21c36c0474a5a8ce27e2e587c607289353f0302ee62

See more details on using hashes here.

File details

Details for the file Topsis_Aditya_102003706-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9b3549fe83a4df11c2bdd15574cc2bb922efe1399331e4c569e69171d3b3dc9b
MD5 b3f931349bc1373734889ee818a9025c
BLAKE2b-256 43d4a2ec82f9d1ccc047b8e829a202a63c4f619cb6d14959ddedaaa22f5fac4c

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