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.3.tar.gz (4.1 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.3-py3.10.egg (6.3 kB view details)

Uploaded Egg

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: Topsis-Aditya-102003706-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 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.3.tar.gz
Algorithm Hash digest
SHA256 15486f039274efc2fbf6d401a8084938ae84946779470c29804d8d5716d02543
MD5 afe3605e1e9f33e56c2c36c16ce5d9e5
BLAKE2b-256 b96eec3d867d7b5eadae276ae1d1f6913a0f2078e81f84950c90cdef5e2632a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.3-py3.10.egg
Algorithm Hash digest
SHA256 979b841417c8641b7a1ea15e860ca275dba839a9c2a1e8cbbbafbc9b018d9892
MD5 04b67ee211b0cbdc72f3a306699e92bc
BLAKE2b-256 1a32d5ba15ecb10ca2667d48636f391de6f69976c8fc632c780cc1e7014df53f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Aditya_102003706-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b6ce7e9e1ff12a8a3b6f6f6b01687cc00108ed371f3e8a06613b581cf1c1ba
MD5 1a44d0b2c2bb33194648882fd72eec43
BLAKE2b-256 cae62a7d77efad61a133c0bddcf7ed96c02bd9bf536a605bac07478fda517dd0

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