topsis-amisha-102117166


Nametopsis-amisha-102117166 JSON
Version 1.1.0 PyPI version JSON
download
home_page
SummaryIt gives the ranking to models as per the TOPSIS score.Please view the instructions so as to run the package smoothly in your terminal.
upload_time2024-01-28 18:14:26
maintainer
docs_urlNone
authorAmisha
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TOPSIS PACKAGE - Assignment 1
I have developed a command line python program to implement the TOPSIS.
TOPSIS (technique for order performance by similarity to ideal solution) is a useful technique in dealing with multi-attribute or multi-criteria decision making (MADM/MCDM) problems in the real world
## Installation
```pip install topsis-amisha-102117166```

## Usage
Please provide the filename for the CSV, including the .csv extension. After that, enter the weights vector with values separated by commas. Following the weights vector, input the impacts vector, where each element is denoted by a plus (+) or minus (-) sign. Lastly, specify the output file name along with the .csv extension.

```py -m topsis.__main__ [input_file_name.csv] [weight as string] [impact as string] [result_file_name.csv]```

## Example Usage
The below example is for the data have 5 columns.
```py -m topsis.__main__ "C:\User\...." "1,1,2,0.5,0.75" "+,+,-,-,-" "C:\User\....."```

## Example Dataset

Fund Name | P1 | P2 | P3 | P4 | P5
------------ | ------------- | ------------ | ------------- | ------------ | ------------
M1 | 0.78 | 0.61 | 5.5 | 34.7 | 10.4
M2 | 0.88 | 0.77 | 5 | 58.4 | 16.26
M3 | 0.61 | 0.37 | 5.9 | 39.9 | 11.7
M4 | 0.76 | 0.58 | 4.2 | 57.7 | 15.81
M5 | 0.84 | 0.71 | 3.2 | 48 | 13.19
M6 | 0.76 | 0.58 | 4 | 68.8 | 18.54
M7 | 0.81 | 0.66 | 6.5 | 38.2 | 11.54
M8 | 0.81 | 0.66 | 3.2 | 32.8 | 9.37

## Output Dataset
Fund Name | P1 | P2 | P3 | P4 | P5 | TOPSIS Score | Rank
------------ | ------------- | ------------ | ------------- | ------------ | ------------ | ------------ | ------------
M1 | 0.78 | 0.61 | 5.5 | 34.7 | 10.4 | 0.5303740545041122 | 4
M2 | 0.88 | 0.77 | 5 | 58.4 | 16.26 | 0.5372510220778413 | 3
M3 | 0.61 | 0.37 | 5.9 | 39.9 | 11.7 | 0.4715707210914604 | 8
M4 | 0.76 | 0.58 | 4.2 | 57.7 | 15.81 | 0.5099483054760279 | 6
M5 | 0.84 | 0.71 | 3.2 | 48 | 13.19 | 0.57723478293325 | 1
M6 | 0.76 | 0.58 | 4 | 68.8 | 18.54 | 0.49447887833737925 | 7
M7 | 0.81 | 0.66 | 6.5 | 38.2 | 11.54 | 0.5244107252631429 | 5
M8 | 0.81 | 0.66 | 3.2 | 32.8 | 9.37 | 0.5576533672285703 | 2 

<br>

## Important Points
1) There should be only numeric columns except the first column i.e. Fund Name.
2) Input file must contain atleast three columns.

<br>

## Copyrights
License

&copy; 2024 Amisha

This repository is licensed under the MIT license.

See LICENSE for details.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "topsis-amisha-102117166",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amisha",
    "author_email": "aamisha_be21@thapar.edu",
    "download_url": "https://files.pythonhosted.org/packages/46/15/7caef9d6a9f78fc5d09fe474e340ff6a1507db6d26ba232ab10181d60988/topsis-amisha-102117166-1.1.0.tar.gz",
    "platform": null,
    "description": "# TOPSIS PACKAGE - Assignment 1\nI have developed a command line python program to implement the TOPSIS.\nTOPSIS (technique for order performance by similarity to ideal solution) is a useful technique in dealing with multi-attribute or multi-criteria decision making (MADM/MCDM) problems in the real world\n## Installation\n```pip install topsis-amisha-102117166```\n\n## Usage\nPlease provide the filename for the CSV, including the .csv extension. After that, enter the weights vector with values separated by commas. Following the weights vector, input the impacts vector, where each element is denoted by a plus (+) or minus (-) sign. Lastly, specify the output file name along with the .csv extension.\n\n```py -m topsis.__main__ [input_file_name.csv] [weight as string] [impact as string] [result_file_name.csv]```\n\n## Example Usage\nThe below example is for the data have 5 columns.\n```py -m topsis.__main__ \"C:\\User\\....\" \"1,1,2,0.5,0.75\" \"+,+,-,-,-\" \"C:\\User\\.....\"```\n\n## Example Dataset\n\nFund Name | P1 | P2 | P3 | P4 | P5\n------------ | ------------- | ------------ | ------------- | ------------ | ------------\nM1 | 0.78 | 0.61 | 5.5 | 34.7 | 10.4\nM2 | 0.88 | 0.77 | 5 | 58.4 | 16.26\nM3 | 0.61 | 0.37 | 5.9 | 39.9 | 11.7\nM4 | 0.76 | 0.58 | 4.2 | 57.7 | 15.81\nM5 | 0.84 | 0.71 | 3.2 | 48 | 13.19\nM6 | 0.76 | 0.58 | 4 | 68.8 | 18.54\nM7 | 0.81 | 0.66 | 6.5 | 38.2 | 11.54\nM8 | 0.81 | 0.66 | 3.2 | 32.8 | 9.37\n\n## Output Dataset\nFund Name | P1 | P2 | P3 | P4 | P5 | TOPSIS Score | Rank\n------------ | ------------- | ------------ | ------------- | ------------ | ------------ | ------------ | ------------\nM1 | 0.78 | 0.61 | 5.5 | 34.7 | 10.4 | 0.5303740545041122 | 4\nM2 | 0.88 | 0.77 | 5 | 58.4 | 16.26 | 0.5372510220778413 | 3\nM3 | 0.61 | 0.37 | 5.9 | 39.9 | 11.7 | 0.4715707210914604 | 8\nM4 | 0.76 | 0.58 | 4.2 | 57.7 | 15.81 | 0.5099483054760279 | 6\nM5 | 0.84 | 0.71 | 3.2 | 48 | 13.19 | 0.57723478293325 | 1\nM6 | 0.76 | 0.58 | 4 | 68.8 | 18.54 | 0.49447887833737925 | 7\nM7 | 0.81 | 0.66 | 6.5 | 38.2 | 11.54 | 0.5244107252631429 | 5\nM8 | 0.81 | 0.66 | 3.2 | 32.8 | 9.37 | 0.5576533672285703 | 2 \n\n<br>\n\n## Important Points\n1) There should be only numeric columns except the first column i.e. Fund Name.\n2) Input file must contain atleast three columns.\n\n<br>\n\n## Copyrights\nLicense\n\n&copy; 2024 Amisha\n\nThis repository is licensed under the MIT license.\n\nSee LICENSE for details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "It gives the ranking to models as per the TOPSIS score.Please view the instructions so as to run the package smoothly in your terminal.",
    "version": "1.1.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2124f30d369fe276322ba14bb80c091f02e41bbaa75e6df27c1201528bb81a43",
                "md5": "54636979b44b55391d52daad07aa2c19",
                "sha256": "c6b68d578efc997d5a5234198a6b662887e7c0c287c363a227041c827e561f15"
            },
            "downloads": -1,
            "filename": "topsis_amisha_102117166-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "54636979b44b55391d52daad07aa2c19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4019,
            "upload_time": "2024-01-28T18:14:24",
            "upload_time_iso_8601": "2024-01-28T18:14:24.149132Z",
            "url": "https://files.pythonhosted.org/packages/21/24/f30d369fe276322ba14bb80c091f02e41bbaa75e6df27c1201528bb81a43/topsis_amisha_102117166-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46157caef9d6a9f78fc5d09fe474e340ff6a1507db6d26ba232ab10181d60988",
                "md5": "7111a0a0a6299f90969a923ada101fe9",
                "sha256": "3f256047cf7b7e947d51aaced3b037a8b0f7aaa9b78138a2c07ada164e29cb49"
            },
            "downloads": -1,
            "filename": "topsis-amisha-102117166-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7111a0a0a6299f90969a923ada101fe9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3763,
            "upload_time": "2024-01-28T18:14:26",
            "upload_time_iso_8601": "2024-01-28T18:14:26.058731Z",
            "url": "https://files.pythonhosted.org/packages/46/15/7caef9d6a9f78fc5d09fe474e340ff6a1507db6d26ba232ab10181d60988/topsis-amisha-102117166-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-28 18:14:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "topsis-amisha-102117166"
}
        
Elapsed time: 2.10874s