Topsis-Joyy-102117024


NameTopsis-Joyy-102117024 JSON
Version 0.0.8 PyPI version JSON
download
home_page
SummaryTOPSIS Implementation
upload_time2024-01-28 19:29:07
maintainer
docs_urlNone
authorJoyy Goswami
requires_python
license
keywords topsis decision-analysis similarity decision-making multi-criteria-decision
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)


## Description

### Topsis-Joyy-102117024

For: Assignment-1(UCS654) Submitted-by: **Joyy Goswami* Roll no: *102117024* Group: *3CS-1**

Topsis-Joyy-102117024 is a Python package for dealing with Multiple Criteria Decision Making(MCDM) problems by using TOPSIS

## Installation

Use the package manager *pip* to install Topsis-Joyy-102117024

pip install Topsis-Joyy-102117024

## Usage

Enter csv filename followed by .csv extension, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma-separated signs (+,-)

bash
python sample.py sample.csv "1,1,1,1,2" "+,+,-,+,+" sample-result.csv


## Example

### sample.csv

A csv file showing data for different mobile handsets having varying features

| Model | Storage space (in GB) | Camera (in MP) | Price (in $) | Looks (out of 5) |
|-------|------------------------|-----------------|---------------|------------------|
| M1    | 16                     | 12              | 250           | 5                |
| M2    | 16                     | 8               | 200           | 3                |
| M3    | 32                     | 16              | 300           | 4                |
| M4    | 32                     | 8               | 275           | 4                |
| M5    | 16                     | 16              | 225           | 2                |

weights vector = [1, 1, 1, 1]
impacts vector = [+,+,-,+]

### Input:

python sample.csv "1,1,1,1" "+,+,-,+" sample-result.csv

### Output:

|   Topsis-score   | Rank |
|-------------|------|
| 0.534277    | 3    |
| 0.308368    | 5    |
| 0.691632    | 1    |
| 0.534737    | 2    |
| 0.401046    | 4    |

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Topsis-Joyy-102117024",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "topsis,decision-analysis,similarity,decision-making,multi-criteria-decision",
    "author": "Joyy Goswami",
    "author_email": "joyy14102002@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5b/5e/073830076b7e6ba987920be9cbeb694919220a71199fcce76de9cd4ad55d/Topsis-Joyy-102117024-0.0.8.tar.gz",
    "platform": null,
    "description": "# TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)\r\n\r\n\r\n## Description\r\n\r\n### Topsis-Joyy-102117024\r\n\r\nFor: Assignment-1(UCS654) Submitted-by: **Joyy Goswami* Roll no: *102117024* Group: *3CS-1**\r\n\r\nTopsis-Joyy-102117024 is a Python package for dealing with Multiple Criteria Decision Making(MCDM) problems by using TOPSIS\r\n\r\n## Installation\r\n\r\nUse the package manager *pip* to install Topsis-Joyy-102117024\r\n\r\npip install Topsis-Joyy-102117024\r\n\r\n## Usage\r\n\r\nEnter csv filename followed by .csv extension, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma-separated signs (+,-)\r\n\r\nbash\r\npython sample.py sample.csv \"1,1,1,1,2\" \"+,+,-,+,+\" sample-result.csv\r\n\r\n\r\n## Example\r\n\r\n### sample.csv\r\n\r\nA csv file showing data for different mobile handsets having varying features\r\n\r\n| Model | Storage space (in GB) | Camera (in MP) | Price (in $) | Looks (out of 5) |\r\n|-------|------------------------|-----------------|---------------|------------------|\r\n| M1    | 16                     | 12              | 250           | 5                |\r\n| M2    | 16                     | 8               | 200           | 3                |\r\n| M3    | 32                     | 16              | 300           | 4                |\r\n| M4    | 32                     | 8               | 275           | 4                |\r\n| M5    | 16                     | 16              | 225           | 2                |\r\n\r\nweights vector = [1, 1, 1, 1]\r\nimpacts vector = [+,+,-,+]\r\n\r\n### Input:\r\n\r\npython sample.csv \"1,1,1,1\" \"+,+,-,+\" sample-result.csv\r\n\r\n### Output:\r\n\r\n|   Topsis-score   | Rank |\r\n|-------------|------|\r\n| 0.534277    | 3    |\r\n| 0.308368    | 5    |\r\n| 0.691632    | 1    |\r\n| 0.534737    | 2    |\r\n| 0.401046    | 4    |\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "TOPSIS Implementation",
    "version": "0.0.8",
    "project_urls": null,
    "split_keywords": [
        "topsis",
        "decision-analysis",
        "similarity",
        "decision-making",
        "multi-criteria-decision"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3520a78365054b875570ca8f6d2f0bbf85861415e031f7c30b2bff33a0988125",
                "md5": "021b642851b4ee86d596d94a8056528c",
                "sha256": "4816050b71cecf8282731f9d94aad4bc0d085334ca00d103df1dab3ab8bcaeab"
            },
            "downloads": -1,
            "filename": "Topsis_Joyy_102117024-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "021b642851b4ee86d596d94a8056528c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3759,
            "upload_time": "2024-01-28T19:29:05",
            "upload_time_iso_8601": "2024-01-28T19:29:05.037205Z",
            "url": "https://files.pythonhosted.org/packages/35/20/a78365054b875570ca8f6d2f0bbf85861415e031f7c30b2bff33a0988125/Topsis_Joyy_102117024-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b5e073830076b7e6ba987920be9cbeb694919220a71199fcce76de9cd4ad55d",
                "md5": "0ca9d6c5495d018ca0c2cdfb1062b2e8",
                "sha256": "64dd75ee444dd872d564438f51678da89f3993acc36c95676c9454dadf686be4"
            },
            "downloads": -1,
            "filename": "Topsis-Joyy-102117024-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "0ca9d6c5495d018ca0c2cdfb1062b2e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3572,
            "upload_time": "2024-01-28T19:29:07",
            "upload_time_iso_8601": "2024-01-28T19:29:07.038242Z",
            "url": "https://files.pythonhosted.org/packages/5b/5e/073830076b7e6ba987920be9cbeb694919220a71199fcce76de9cd4ad55d/Topsis-Joyy-102117024-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-28 19:29:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "topsis-joyy-102117024"
}
        
Elapsed time: 0.23404s