Find the Topsis Score Easily
Project description
TOPSIS-HARSH-101803605
TOPSIS-HARSH-101803605 is a package that will provide feature to do multi-criteria decision making in choosing the best models among the data provided.
- It will do Ranking of Models on the basis of the given data.
- It will provide with the TOPSIS Score.
TOPSIS:
Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.
Installation
TOPSIS-HARSH-101803605 requires Python v2.7+ to run.
Install the package using pip as follows :
$ pip install TOPSI-HARSH-101803605
HOW TO USE THIS PACKAGE
TOPSIS-HARSH-101803605 can be run as in the following examples:
Sample Dataset
The decision matrix (a) will be extracted from the csv file as the pandas dataframe which will contain each row representing a Model alternative, and each column representing a criterion like Accuracy, RSeq, Root Mean Squared Error, Correlation, and many more.
Model | Correlation | RSeq | RMSE | Accuracy |
---|---|---|---|---|
M1 | 0.79 | 0.62 | 1.25 | 60.89 |
M2 | 0.66 | 0.44 | 2.89 | 63.07 |
M3 | 0.56 | 0.31 | 1.57 | 62.87 |
M4 | 0.82 | 0.67 | 2.68 | 70.19 |
M5 | 0.75 | 0.56 | 1.3 | 80.39 |
Weights (w) is not already normalised will be normalised later in the code. Information of impacts positive(+) or negative(-) impact criteria should be provided in (im).
No of weights and no of impacts should be equal to no. of columns in dataset excluding the first column
License
MIT License
Copyright (c) 2020 Harsh Garg
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for TOPSIS-HARSH-101803605-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8f0e608d3ed8675d398a8a8062d019336627804dcfa6fed85d979bb7a56bb1 |
|
MD5 | 5683541db416daa1fd096b9f64e5320d |
|
BLAKE2b-256 | b6e94c7499d7c8e116cab8f0ea7e2cc67a11a7a13a19bae3d841fb1d3d1511a6 |
Hashes for TOPSIS_HARSH_101803605-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 531ef63760c0c1d5dcf69b26b62e9575041953d9748f2147faef65da3f8b6111 |
|
MD5 | 14bc6c77d8c4641784e4acc6289e63c0 |
|
BLAKE2b-256 | 7e4b64ae05504a0150fe0a5da49a2135cb7627c96178a81f269d5e98193377b4 |