Compare different models using performance score
Project description
TOPSIS
Use it to compare results or parameters of different models and rank them accordingly
Documentation
Commands:
- import topsis_simran_101803100 as tp
- tp.topsis("filename","weights array","impacts array","resultfilename")
Note:
- File should be of CSV type containing all the parameter for different files.
- All the data should be of numeric type.
- TOPSIS score will be stored in the resultfilename.csv
- Provdie weights and impact array in form of list
- wts => [1,1,1,1], impacts => ['-','+','+','+']
Eg.
| Model | Corr | 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 |
tp.topsis('data.csv',[1,1,1,1],['-','+','+','+'],'result.csv')
RESULT
| Model | Corr | Rseq | Rmse | Accuracy | p_score | rank |
|---|---|---|---|---|---|---|
| M1 | 0.79 | 0.62 | 1.25 | 60.89 | 0.624385 | 1 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 | 0.289848 | 3 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 | 0.398557 | 2 |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis_simran_101803100-1.0.2.tar.gz.
File metadata
- Download URL: topsis_simran_101803100-1.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d602abed8dd654d0a3158669596c804d1d2bfc147b4fb6d298db5b1d7f00c720
|
|
| MD5 |
938a5e02d8cd05bd756d8d22e3dd2e4a
|
|
| BLAKE2b-256 |
99641314cb9a9842a8f77a0cdcef5943a6b32e3f9fa5e391b282bd739a3c3eeb
|
File details
Details for the file topsis_simran_101803100-1.0.2-py3-none-any.whl.
File metadata
- Download URL: topsis_simran_101803100-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
805ebcfa606cf402118050439f08dfb2274d42cc735cdbb71712f06732f88dc9
|
|
| MD5 |
7ba10969d16b9b7c9c3689400670d4fe
|
|
| BLAKE2b-256 |
513e38f3425fb495c54eb119ef923071bed94ecbe7ea73d2c5753d3f29be42e0
|