semvec/pypi-packages huggingface dataset:
topsis-Akshat-102203644 1.2.5
A Python package to perform TOPSIS (Technique for Order Preference by Similarity to Ideal Solution).
Requires Python: >=3.6

# TOPSIS Implementation in Python

This Python project implements the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). The algorithm ranks alternatives based on multiple criteria, considering their relative importance (weights) and impacts (benefit or cost).

## Features

- **Input Validation**: Checks for correct input parameters, file format, and consistency in weights/impacts.
- **Error Handling**: Handles file-related errors, invalid data, and incorrect inputs gracefully.
- **Outputs**: Saves results including scores, rankings, and all original columns into a CSV file.

---

## How to Use

1. Clone the repository and navigate to the project directory.
2. Ensure you have Python installed with the necessary packages.
3. Use the following command to run the program:
   ```bash
   python -m topsis_Akshat_102203644.topsis <InputDataSet.csv> <Weights> <Impacts> <ResultFile.csv>

You can access my package through this [link](https://pypi.org/project/topsis-Akshat-102203644/#description)


## Input dataset
![TOPSIS Example](images/ss1.png)

## Weights used
[1,1,1,1,1]

## Impacts used
[0,1,1,0,1]
### 1 for benifit
### 0 for cost

## Output
![Result](images/ss2.png)