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.2.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.2-py3.10.egg (6.3 kB view details)

Uploaded Egg

Topsis_Aditya_102003706-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Topsis-Aditya-102003706-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 70684d617b45da8cab11e2e16ef5aa704ca99a4bcf2a0864b11b86c5ac872918
MD5 d1153b179e410a9689d9dc1df7640a55
BLAKE2b-256 6da61ec44e905e1ee3da58ed6d80289c3d491cfe37621e7088ea11ae379e765c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.2-py3.10.egg
Algorithm Hash digest
SHA256 6ac06b4798bb3205745e351b4a93173d0c5fa69f5009ad46b64f7bf3acca7e5c
MD5 5f9be4da319b2aeb31c794988fb7bb8f
BLAKE2b-256 804346316a9fa5379bd91bc085a624acc3fa12472c7a680b37f20c0e67fe1dcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c84d6d354eb83997d52770a569381d6d3e608cec384a745cd51cd71701b82a90
MD5 83e349ac532278c6c4964d15918a366e
BLAKE2b-256 9d35d8fa14e6a719361a6d0bb378fe508c6e36ad20f358d2b03e80bab0026e0c

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