Skip to main content

A Python package for implementing TOPSIS

Project description

Topsis-Kritika-102316122

A Python package to implement Topsis (Technique for Order of Preference by Similarity to Ideal Solution).

Installation

pip install Topsis-Kritika-102316122

Usage

Run the package from the command line:

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example

topsis data.csv "1,1,1,1,1" "+,+,+,+,+" result.csv

Parameters

  1. InputDataFile: Input CSV file containing the data. structure:
    • First column: Object/Alternative name (e.g., M1, M2, M3).
    • Rest columns: Numeric criteria values.
  2. Weights: Comma-separated weights for each criterion (e.g., "0.25,0.25,0.25,0.25").
  3. Impacts: Comma-separated impacts ('+' for maximize, '-' for minimize) (e.g., "+,+,-,+").
  4. OutputResultFileName: Name of the output CSV file to save results.

License

MIT

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_kritika_102316122-1.2.0.tar.gz (3.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_kritika_102316122-1.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file topsis_kritika_102316122-1.2.0.tar.gz.

File metadata

File hashes

Hashes for topsis_kritika_102316122-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7fe2aa46b617eec8aeb77041c4566d984c446f7dbd8a6d587c45f231ec4b790f
MD5 bb1cd8eb350baa31037b2298feb9301d
BLAKE2b-256 3229c67d8aa116f41f6360198025319a09e51bb5897d09f2bce6ebb3be5dd055

See more details on using hashes here.

File details

Details for the file topsis_kritika_102316122-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_kritika_102316122-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0e12076bee2ad05f29efa9fb1939f0f03b026e6b039489edc4f247e108269e
MD5 d80f672ded8092dfb2a0d63398e3bb07
BLAKE2b-256 63ed4c50d5451f4a1b413e4b4ccda844c6eabfdb04e3496c148c7a92b7c3810b

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