Topsis-Kashish-102117150


NameTopsis-Kashish-102117150 JSON
Version 1.0 PyPI version JSON
download
home_page
SummaryA package for performing TOPSIS analysis
upload_time2024-01-29 12:30:04
maintainer
docs_urlNone
authorKashish
requires_python
license
keywords python topsis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Topsis Implementation

This package is used for topsis implementation, published by Kashish, roll number- 102117150, group- 3CS6.

## Overview

This Python package implements the Topsis (Technique for Order Preference by Similarity to Ideal Solution) algorithm. Topsis is a multi-criteria decision-making (MCDM) method that helps in choosing the best alternative from a set of alternatives based on their performance on multiple criteria.



## Installation

To install the package, use the following command:

pip install topsis-Kashish-102117150



## Data

Fund Name,P1,P2,P3,P4,P5

M1,0.79,0.62,4.8,66.6,18.2

M2,0.69,0.48,5,46.9,13.27

M3,0.77,0.59,3.3,43.9,12.14

M4,0.82,0.67,3.2,67,17.92

M5,0.65,0.42,5.9,34.9,10.47

M6,0.8,0.64,4.8,66.8,18.26

M7,0.75,0.56,3.9,31.7,9.23

M8,0.83,0.69,4.1,55.9,15.38



## Usage

In the terminal,

python 102117150.py 102117150-data.csv "1,1,1,1,1" "+,-,+,-,+" 102117150-result.csv

where,

input_data.csv: The input CSV file containing the decision matrix. You can use the file 102117150-data.csv .

"1,1,1,1,1": Comma-separated weights for each criterion.

"+,-,+,-,+": Comma-separated impacts for each criterion (either '+' or '-').

output_result.csv: The desired name for the output CSV file containing Topsis scores and ranks. You can see the results in file- 102117150-result-1.csv for the respective weights and impacts.



## Result

Fund Name,P1,P2,P3,P4,P5,Topsis Score,Rank

M1,0.79,0.62,4.8,66.6,18.2,0.7879309024122741,6

M2,0.69,0.48,5.0,46.9,13.27,0.4602057102586321,1

M3,0.77,0.59,3.3,43.9,12.14,0.3424774958156483,8

M4,0.82,0.67,3.2,67.0,17.92,0.6236353942759449,4

M5,0.65,0.42,5.9,34.9,10.47,0.3924844873537729,2

M6,0.8,0.64,4.8,66.8,18.26,0.7998958662123036,5

M7,0.75,0.56,3.9,31.7,9.23,0.23219941041702397,3

M8,0.83,0.69,4.1,55.9,15.38,0.6259888691115867,7





```bash

pip install topsis-Kashish-102117150








            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Topsis-Kashish-102117150",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,topsis",
    "author": "Kashish",
    "author_email": "<kkashish_be21@thapar.edu>",
    "download_url": "https://files.pythonhosted.org/packages/f2/f9/226c3625c188c38fa09e0e3c2aba02db269a709f75868e5e750079fe9e65/Topsis-Kashish-102117150-1.0.tar.gz",
    "platform": null,
    "description": "\r\n# Topsis Implementation\r\r\nThis package is used for topsis implementation, published by Kashish, roll number- 102117150, group- 3CS6.\r\r\n## Overview\r\r\nThis Python package implements the Topsis (Technique for Order Preference by Similarity to Ideal Solution) algorithm. Topsis is a multi-criteria decision-making (MCDM) method that helps in choosing the best alternative from a set of alternatives based on their performance on multiple criteria.\r\r\n\r\r\n## Installation\r\r\nTo install the package, use the following command:\r\r\npip install topsis-Kashish-102117150\r\r\n\r\r\n## Data\r\r\nFund Name,P1,P2,P3,P4,P5\r\r\nM1,0.79,0.62,4.8,66.6,18.2\r\r\nM2,0.69,0.48,5,46.9,13.27\r\r\nM3,0.77,0.59,3.3,43.9,12.14\r\r\nM4,0.82,0.67,3.2,67,17.92\r\r\nM5,0.65,0.42,5.9,34.9,10.47\r\r\nM6,0.8,0.64,4.8,66.8,18.26\r\r\nM7,0.75,0.56,3.9,31.7,9.23\r\r\nM8,0.83,0.69,4.1,55.9,15.38\r\r\n\r\r\n## Usage\r\r\nIn the terminal,\r\r\npython 102117150.py 102117150-data.csv \"1,1,1,1,1\" \"+,-,+,-,+\" 102117150-result.csv\r\r\nwhere,\r\r\ninput_data.csv: The input CSV file containing the decision matrix. You can use the file 102117150-data.csv .\r\r\n\"1,1,1,1,1\": Comma-separated weights for each criterion.\r\r\n\"+,-,+,-,+\": Comma-separated impacts for each criterion (either '+' or '-').\r\r\noutput_result.csv: The desired name for the output CSV file containing Topsis scores and ranks. You can see the results in file- 102117150-result-1.csv for the respective weights and impacts.\r\r\n\r\r\n## Result\r\r\nFund Name,P1,P2,P3,P4,P5,Topsis Score,Rank\r\r\nM1,0.79,0.62,4.8,66.6,18.2,0.7879309024122741,6\r\r\nM2,0.69,0.48,5.0,46.9,13.27,0.4602057102586321,1\r\r\nM3,0.77,0.59,3.3,43.9,12.14,0.3424774958156483,8\r\r\nM4,0.82,0.67,3.2,67.0,17.92,0.6236353942759449,4\r\r\nM5,0.65,0.42,5.9,34.9,10.47,0.3924844873537729,2\r\r\nM6,0.8,0.64,4.8,66.8,18.26,0.7998958662123036,5\r\r\nM7,0.75,0.56,3.9,31.7,9.23,0.23219941041702397,3\r\r\nM8,0.83,0.69,4.1,55.9,15.38,0.6259888691115867,7\r\r\n\r\r\n\r\r\n```bash\r\r\npip install topsis-Kashish-102117150\r\r\n\r\r\n\r\r\n\r\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A package for performing TOPSIS analysis",
    "version": "1.0",
    "project_urls": null,
    "split_keywords": [
        "python",
        "topsis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2f9226c3625c188c38fa09e0e3c2aba02db269a709f75868e5e750079fe9e65",
                "md5": "4fe33cccd0f3ba1ac96407ccc14a8c6b",
                "sha256": "05cf3ba0be89b79ea64e213b1797c7a525180e041b751c6e704c288a5eeaf3f7"
            },
            "downloads": -1,
            "filename": "Topsis-Kashish-102117150-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4fe33cccd0f3ba1ac96407ccc14a8c6b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3665,
            "upload_time": "2024-01-29T12:30:04",
            "upload_time_iso_8601": "2024-01-29T12:30:04.693007Z",
            "url": "https://files.pythonhosted.org/packages/f2/f9/226c3625c188c38fa09e0e3c2aba02db269a709f75868e5e750079fe9e65/Topsis-Kashish-102117150-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-29 12:30:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "topsis-kashish-102117150"
}
        
Elapsed time: 3.66111s