Metadata-Version: 2.1
Name: Topsis-Garvit-102017132
Version: 1.0.7
Summary: This is a Python library for handling problems related to Multiple Criteria Decision Making(MCDM)
Home-page: https://github.com/Garvit-Batra/Topsis-Garvit-102017132
Author: Garvit Batra
Author-email: batra.garvit28@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas

# TOPSIS

Title: **TOPSIS method for multiple-criteria decision making (MCDM)**.

Version: **1.0.7**.

Author: **Garvit Batra**.

Description: **Evaluation of alternatives based on multiple criteria using TOPSIS method.**

---

## How to install this package:

```
>> pip install Topsis-Garvit-102017132
```

### In Command Prompt

```
>> topsis inputdata.csv "1,1,1,1,1" "+,+,-,+,-" resultdata.csv
```

## Input file (data.csv)

| Model | Correlation | R^2  | RMSE | Accuracy |
| ----- | ----------- | ---- | ---- | -------- |
| P1    | 0.79        | 0.62 | 1.25 | 60.89    |
| P2    | 0.66        | 0.44 | 2.89 | 63.07    |
| P3    | 0.56        | 0.31 | 1.57 | 62.87    |
| P4    | 0.82        | 0.67 | 2.68 | 70.19    |
| P5    | 0.75        | 0.56 | 1.3  | 80.39    |

<br>

## Output file (result.csv)

| Model | Correlation | R^2  | RMSE | Accuracy | Topsis_score | Rank |
| ----- | ----------- | ---- | ---- | -------- | ------------ | ---- |
| P1    | 0.79        | 0.62 | 1.25 | 60.89    | 0.7722       | 2    |
| P2    | 0.66        | 0.44 | 2.89 | 63.07    | 0.2255       | 5    |
| P3    | 0.56        | 0.31 | 1.57 | 62.87    | 0.4388       | 4    |
| P4    | 0.82        | 0.67 | 2.68 | 70.19    | 0.5238       | 3    |
| P5    | 0.75        | 0.56 | 1.3  | 80.39    | 0.8113       | 1    |

<br>

The output file contains columns of input file along with two additional columns having Topsis_score and Rank


