Topsis-Shubham-102067011


NameTopsis-Shubham-102067011 JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryTOPSIS for MCDM(Multiple Criteria Decision Making)
upload_time2023-01-21 12:26:20
maintainer
docs_urlNone
authorShubham Sahu
requires_python
license
keywords topsis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Library used to calculate topsis score 

TOPSIS is used for multiple Criteria Decision Making (MCDM)

TOPSIS is based on the fundamental premise that the best solution has the shortest distance from the positive-ideal solution, and the longest distance from the negative-ideal one. Alternatives are ranked with the use of an overall index calculated based on the distances from the ideal solutions.

---------------------

normalize function takes a dataframe as argument .

It normalizes columns 2nd to the last column of the dataframe.

All the values from the 2nd column to the last column should be numeric.

Outputs a dataframe.

---------------------

weightAssignment takes a dataframe(output of normalize function) and a numeric list as inputs. 

weightAssignment function assigns weights to different columns .

Outputs a dataframe.

---------------------

ideal function takes a dataframe(output of weightAssignment function) and a list of string having elements either '+' or '-'.

Used to calculate max and minimum value of each column.

Outputs a pair of numeric lists.

----------------------

euclideanDist function takes a dataframe(output of weightAssignment function) and 2 numeric lists(output of ideal function).

Calculates the euclidean distance of each row of dataframe with the 2 numeric lists.

Outputs a pair of numeric lists.

----------------------

performance_score takes 2 numeric lists (output of euclideanDist function) as inputs.

Calculates topsis score of each row.

Outputs a numeric list.

----------------------

TOPSIS_result takes a dataframe(output of weightAssignment function or Orignal dataframe) and a numeric list(output of performance_score function) as inputs.

assigns a rank to the list.

The ranks and the list are appended to the dataframe.

Outputs a dataframe.
-----------------------

Change Log
==============

0.0.1 (21/01/2023)
---------------------
- First Release 


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Topsis-Shubham-102067011",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "TOPSIS",
    "author": "Shubham Sahu",
    "author_email": "shubham30sahu101@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/be/e3/d008dcb418c9c911c4755e42faf3fa570a1d6306b68f72ea1e7bd869c7e0/Topsis_Shubham_102067011-0.0.4.tar.gz",
    "platform": null,
    "description": "Library used to calculate topsis score \r\n\r\nTOPSIS is used for multiple Criteria Decision Making (MCDM)\r\n\r\nTOPSIS is based on the fundamental premise that the best solution has the shortest distance from the positive-ideal solution, and the longest distance from the negative-ideal one. Alternatives are ranked with the use of an overall index calculated based on the distances from the ideal solutions.\r\n\r\n---------------------\r\n\r\nnormalize function takes a dataframe as argument .\r\n\r\nIt normalizes columns 2nd to the last column of the dataframe.\r\n\r\nAll the values from the 2nd column to the last column should be numeric.\r\n\r\nOutputs a dataframe.\r\n\r\n---------------------\r\n\r\nweightAssignment takes a dataframe(output of normalize function) and a numeric list as inputs. \r\n\r\nweightAssignment function assigns weights to different columns .\r\n\r\nOutputs a dataframe.\r\n\r\n---------------------\r\n\r\nideal function takes a dataframe(output of weightAssignment function) and a list of string having elements either '+' or '-'.\r\n\r\nUsed to calculate max and minimum value of each column.\r\n\r\nOutputs a pair of numeric lists.\r\n\r\n----------------------\r\n\r\neuclideanDist function takes a dataframe(output of weightAssignment function) and 2 numeric lists(output of ideal function).\r\n\r\nCalculates the euclidean distance of each row of dataframe with the 2 numeric lists.\r\n\r\nOutputs a pair of numeric lists.\r\n\r\n----------------------\r\n\r\nperformance_score takes 2 numeric lists (output of euclideanDist function) as inputs.\r\n\r\nCalculates topsis score of each row.\r\n\r\nOutputs a numeric list.\r\n\r\n----------------------\r\n\r\nTOPSIS_result takes a dataframe(output of weightAssignment function or Orignal dataframe) and a numeric list(output of performance_score function) as inputs.\r\n\r\nassigns a rank to the list.\r\n\r\nThe ranks and the list are appended to the dataframe.\r\n\r\nOutputs a dataframe.\r\n-----------------------\r\n\r\nChange Log\r\n==============\r\n\r\n0.0.1 (21/01/2023)\r\n---------------------\r\n- First Release \r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "TOPSIS for MCDM(Multiple Criteria Decision Making)",
    "version": "0.0.4",
    "split_keywords": [
        "topsis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bee3d008dcb418c9c911c4755e42faf3fa570a1d6306b68f72ea1e7bd869c7e0",
                "md5": "301c1a7d1c6bcccb16bf56521ab26ea6",
                "sha256": "3ac3db531ff5182d492049ea02c5bd8e599d1ec8aca3bdfbd451231a7abcf8d1"
            },
            "downloads": -1,
            "filename": "Topsis_Shubham_102067011-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "301c1a7d1c6bcccb16bf56521ab26ea6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3563,
            "upload_time": "2023-01-21T12:26:20",
            "upload_time_iso_8601": "2023-01-21T12:26:20.762033Z",
            "url": "https://files.pythonhosted.org/packages/be/e3/d008dcb418c9c911c4755e42faf3fa570a1d6306b68f72ea1e7bd869c7e0/Topsis_Shubham_102067011-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-21 12:26:20",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "topsis-shubham-102067011"
}
        
Elapsed time: 0.02823s