Ekas-topsis-102017078
# Topsis in Python
Author: **Ekaspreet 102017078**
Maintainer: **Ekaspreet <ekaspreet0209@gmail.com>**.
TOPSIS: It is a for Multiple Criteria Decision Making,A Technique for Order Preference by Similarity to Ideal
More details at [wikipedia](https://en.wikipedia.org/wiki/TOPSIS).
<br>
<br>
### In Command Prompt
```
>> topsis data.csv "1,1,1,1" "+,+,-,+" result.csv
```
## Input file (data.csv)
| Model | Correlation | R<sup>2</sup> | RMSE | Accuracy |
| ----- | ----------- | ------------- | ---- | -------- |
| M1 | 0.79 | 0.62 | 1.25 | 60.89 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 |
| M4 | 0.82 | 0.67 | 2.68 | 70.19 |
| M5 | 0.75 | 0.56 | 1.3 | 80.39 |
Weights (`weights`) is not already normalised will be normalised later in the code.
Information of positive(+) or negative(-) impact criteria should be provided in `impacts`.
<br>
## Output file (result.csv)
| Model | Correlation | R<sup>2</sup> | RMSE | Accuracy | Score | Rank |
| ----- | ----------- | ------------- | ---- | -------- | ------ | ---- |
| M1 | 0.79 | 0.62 | 1.25 | 60.89 | 0.7722 | 2 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 | 0.2255 | 5 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 | 0.4388 | 4 |
| M4 | 0.82 | 0.67 | 2.68 | 70.19 | 0.5238 | 3 |
| M5 | 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 **Score** and **Rank**
Raw data
{
"_id": null,
"home_page": "https://github.com/Ekaspreet20/Topsis_Ekas_102017078",
"name": "Ekas-topsis-102017078",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,TOPSIS,MCDM,MCDA,statistics,prescriptive analytics,cli",
"author": "Ekaspreet kaur",
"author_email": "ekaspreet0209@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ae/c9/4fe923aebb767ef5ab7bbbcb87ad772687bd7cda838707b6a41626fe9880/Ekas-topsis-102017078-1.0.0.tar.gz",
"platform": null,
"description": "Ekas-topsis-102017078\r\n\r\n\r\n# Topsis in Python \r\nAuthor: **Ekaspreet 102017078** \r\nMaintainer: **Ekaspreet <ekaspreet0209@gmail.com>**.\r\n\r\nTOPSIS: It is a for Multiple Criteria Decision Making,A Technique for Order Preference by Similarity to Ideal \r\nMore details at [wikipedia](https://en.wikipedia.org/wiki/TOPSIS). \r\n<br>\r\n<br>\r\n\r\n\r\n### In Command Prompt\r\n\r\n```\r\n>> topsis data.csv \"1,1,1,1\" \"+,+,-,+\" result.csv\r\n```\r\n\r\n## Input file (data.csv)\r\n| Model | Correlation | R<sup>2</sup> | RMSE | Accuracy | \r\n| ----- | ----------- | ------------- | ---- | -------- |\r\n| M1 | 0.79 | 0.62 | 1.25 | 60.89 |\r\n| M2 | 0.66 | 0.44 | 2.89 | 63.07 |\r\n| M3 | 0.56 | 0.31 | 1.57 | 62.87 |\r\n| M4 | 0.82 | 0.67 | 2.68 | 70.19 |\r\n| M5 | 0.75 | 0.56 | 1.3 | 80.39 |\r\n\r\nWeights (`weights`) is not already normalised will be normalised later in the code.\r\n\r\nInformation of positive(+) or negative(-) impact criteria should be provided in `impacts`.\r\n\r\n<br>\r\n\r\n## Output file (result.csv)\r\n\r\n| Model | Correlation | R<sup>2</sup> | RMSE | Accuracy | Score | Rank |\r\n| ----- | ----------- | ------------- | ---- | -------- | ------ | ---- |\r\n| M1 | 0.79 | 0.62 | 1.25 | 60.89 | 0.7722 | 2 |\r\n| M2 | 0.66 | 0.44 | 2.89 | 63.07 | 0.2255 | 5 |\r\n| M3 | 0.56 | 0.31 | 1.57 | 62.87 | 0.4388 | 4 |\r\n| M4 | 0.82 | 0.67 | 2.68 | 70.19 | 0.5238 | 3 |\r\n| M5 | 0.75 | 0.56 | 1.3 | 80.39 | 0.8113 | 1 |\r\n\r\n<br>\r\nThe output file contains columns of input file along with two additional columns having **Score** and **Rank**\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package implementing TOPSIS for MCDM",
"version": "1.0.0",
"split_keywords": [
"python",
"topsis",
"mcdm",
"mcda",
"statistics",
"prescriptive analytics",
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aec94fe923aebb767ef5ab7bbbcb87ad772687bd7cda838707b6a41626fe9880",
"md5": "fb92b23c0f92b3dc878668bc145106de",
"sha256": "b17012c6c8d74114f1479f0ebcff0f2b8506e1712e10a93dca2147aa91c6c4ff"
},
"downloads": -1,
"filename": "Ekas-topsis-102017078-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "fb92b23c0f92b3dc878668bc145106de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2986,
"upload_time": "2023-01-21T07:51:13",
"upload_time_iso_8601": "2023-01-21T07:51:13.386770Z",
"url": "https://files.pythonhosted.org/packages/ae/c9/4fe923aebb767ef5ab7bbbcb87ad772687bd7cda838707b6a41626fe9880/Ekas-topsis-102017078-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-21 07:51:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Ekaspreet20",
"github_project": "Topsis_Ekas_102017078",
"lcname": "ekas-topsis-102017078"
}