topsis-rupanshijain-102017010


Nametopsis-rupanshijain-102017010 JSON
Version 1.1.1 PyPI version JSON
download
home_pagehttps://github.com/rdotjain/topsis_rupanshi_102017010
SummaryTOPSIS method for multi-criteria decision making
upload_time2023-01-22 11:46:06
maintainer
docs_urlNone
authorRupanshi Jain
requires_python
licenseMIT
keywords topsis mcdm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # topsis_rupanshi_102017010
TopsisPy is a Python Package implementing [Topsis](https://en.wikipedia.org/wiki/TOPSIS) method used for multi-criteria decision analysis.
Topsis stands for 'Technique for Order of Preference by Similarity to Ideal Solution'.

## Installation
Install the Package using the command - 
```s
$ pip install topsis_rupanshi_102017010
```
## Usage
```s
python -m topsis_rupanshijain_102017010.topsis102017010 <InputDataFile> <Weights> <Impacts> <ResultFileName>
```

## Example
|   Fund Name  |   P1    |   P2    |   P3   |   P4    |   P5     |
|--------------|---------|---------|--------|---------|----------|
|   M1         |   0.94  |   0.88  |   3.8  |   40.8  |   11.61  |
|   M2         |   0.77  |   0.59  |   5.6  |   45.4  |   13.09  |
|   M3         |   0.8   |   0.64  |   7    |   57.7  |   16.54  |
|   M4         |   0.67  |   0.45  |   3.1  |   61.6  |   16.46  |
|   M5         |   0.89  |   0.79  |   5.9  |   67.7  |   18.82  |
|   M6         |   0.66  |   0.44  |   6.2  |   62.1  |   17.35  |
|   M7         |   0.73  |   0.53  |   6.6  |   34.5  |   10.59  |
|   M8         |   0.91  |   0.83  |   3.2  |   55.3  |   15.06  |
weights : [1, 1, 1, 2, 1]
impacts : [+, +, -, +, +]

**input:** 102017010.csv
```s
python3 -m topsis_rupanshijain_102017010.topsis102017010 102017010.csv "1,1,1,2,1" "+,+,-,+,+" 102017010-result.csv
```

**output:** 102017010-result.csv
|   Fund Name  |   P1    |   P2    |   P3   |   P4    |   P5     |   Performance Score    |   Rank  |
|--------------|---------|---------|--------|---------|----------|------------------------|---------|
|   M1         |   0.94  |   0.88  |   3.8  |   40.8  |   11.61  |   0.47123375880088600  |   6     |
|   M2         |   0.77  |   0.59  |   5.6  |   45.4  |   13.09  |   0.33633254123378100  |   7     |
|   M3         |   0.8   |   0.64  |   7.0  |   57.7  |   16.54  |   0.5217872008890350   |   5     |
|   M4         |   0.67  |   0.45  |   3.1  |   61.6  |   16.46  |   0.6239838869195070   |   3     |
|   M5         |   0.89  |   0.79  |   5.9  |   67.7  |   18.82  |   0.7322985618518600   |   1     |
|   M6         |   0.66  |   0.44  |   6.2  |   62.1  |   17.35  |   0.5354177643750590   |   4     |
|   M7         |   0.73  |   0.53  |   6.6  |   34.5  |   10.59  |   0.09985769514278550  |   8     |
|   M8         |   0.91  |   0.83  |   3.2  |   55.3  |   15.06  |   0.706943829440074    |   2     |

## Other notes
- The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So make sure the csv follows the format as shown in sample.csv.
- Make sure the csv does not contain categorical values

## License

MIT

**Free Software, Hell Yeah!**


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rdotjain/topsis_rupanshi_102017010",
    "name": "topsis-rupanshijain-102017010",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "topsis,MCDM",
    "author": "Rupanshi Jain",
    "author_email": "rupanshijain45678@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/bc/47/e29bcd3668849f51da87d6fe64f9c254b77e2c98d0805e64146f784389a8/topsis_rupanshijain_102017010-1.1.1.tar.gz",
    "platform": null,
    "description": "# topsis_rupanshi_102017010\nTopsisPy is a Python Package implementing [Topsis](https://en.wikipedia.org/wiki/TOPSIS) method used for multi-criteria decision analysis.\nTopsis stands for 'Technique for Order of Preference by Similarity to Ideal Solution'.\n\n## Installation\nInstall the Package using the command - \n```s\n$ pip install topsis_rupanshi_102017010\n```\n## Usage\n```s\npython -m topsis_rupanshijain_102017010.topsis102017010 <InputDataFile> <Weights> <Impacts> <ResultFileName>\n```\n\n## Example\n|   Fund Name  |   P1    |   P2    |   P3   |   P4    |   P5     |\n|--------------|---------|---------|--------|---------|----------|\n|   M1         |   0.94  |   0.88  |   3.8  |   40.8  |   11.61  |\n|   M2         |   0.77  |   0.59  |   5.6  |   45.4  |   13.09  |\n|   M3         |   0.8   |   0.64  |   7    |   57.7  |   16.54  |\n|   M4         |   0.67  |   0.45  |   3.1  |   61.6  |   16.46  |\n|   M5         |   0.89  |   0.79  |   5.9  |   67.7  |   18.82  |\n|   M6         |   0.66  |   0.44  |   6.2  |   62.1  |   17.35  |\n|   M7         |   0.73  |   0.53  |   6.6  |   34.5  |   10.59  |\n|   M8         |   0.91  |   0.83  |   3.2  |   55.3  |   15.06  |\nweights : [1, 1, 1, 2, 1]\nimpacts : [+, +, -, +, +]\n\n**input:** 102017010.csv\n```s\npython3 -m topsis_rupanshijain_102017010.topsis102017010 102017010.csv \"1,1,1,2,1\" \"+,+,-,+,+\" 102017010-result.csv\n```\n\n**output:** 102017010-result.csv\n|   Fund Name  |   P1    |   P2    |   P3   |   P4    |   P5     |   Performance Score    |   Rank  |\n|--------------|---------|---------|--------|---------|----------|------------------------|---------|\n|   M1         |   0.94  |   0.88  |   3.8  |   40.8  |   11.61  |   0.47123375880088600  |   6     |\n|   M2         |   0.77  |   0.59  |   5.6  |   45.4  |   13.09  |   0.33633254123378100  |   7     |\n|   M3         |   0.8   |   0.64  |   7.0  |   57.7  |   16.54  |   0.5217872008890350   |   5     |\n|   M4         |   0.67  |   0.45  |   3.1  |   61.6  |   16.46  |   0.6239838869195070   |   3     |\n|   M5         |   0.89  |   0.79  |   5.9  |   67.7  |   18.82  |   0.7322985618518600   |   1     |\n|   M6         |   0.66  |   0.44  |   6.2  |   62.1  |   17.35  |   0.5354177643750590   |   4     |\n|   M7         |   0.73  |   0.53  |   6.6  |   34.5  |   10.59  |   0.09985769514278550  |   8     |\n|   M8         |   0.91  |   0.83  |   3.2  |   55.3  |   15.06  |   0.706943829440074    |   2     |\n\n## Other notes\n- The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So make sure the csv follows the format as shown in sample.csv.\n- Make sure the csv does not contain categorical values\n\n## License\n\nMIT\n\n**Free Software, Hell Yeah!**\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "TOPSIS method for multi-criteria decision making",
    "version": "1.1.1",
    "split_keywords": [
        "topsis",
        "mcdm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bc47e29bcd3668849f51da87d6fe64f9c254b77e2c98d0805e64146f784389a8",
                "md5": "890c047a371ae41a1d7a8b7656bd68f9",
                "sha256": "5b27fa03564652d4821b36f972efa2328984a218027f71da360971463ca9db60"
            },
            "downloads": -1,
            "filename": "topsis_rupanshijain_102017010-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "890c047a371ae41a1d7a8b7656bd68f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4526,
            "upload_time": "2023-01-22T11:46:06",
            "upload_time_iso_8601": "2023-01-22T11:46:06.013186Z",
            "url": "https://files.pythonhosted.org/packages/bc/47/e29bcd3668849f51da87d6fe64f9c254b77e2c98d0805e64146f784389a8/topsis_rupanshijain_102017010-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-22 11:46:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "rdotjain",
    "github_project": "topsis_rupanshi_102017010",
    "lcname": "topsis-rupanshijain-102017010"
}
        
Elapsed time: 0.02977s