semvec/pypi-packages huggingface dataset:
topsis-Simran-101803100 1.0.1
Compare different models using performance score

TOPSIS
===================

Use it to compare results or parameters of different models and rank them accordingly



Documentation
-------------

Commands:

1.   import topsis-Simran-101803100 as tp
2.  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    |	      |  1   |
| M2    | 0.66 | 0.44 | 2.89 | 63.07    |         |  3   |
| M3    | 0.56 | 0.31 | 1.57 | 62.87    |         |  2   |