semvec/pypi-packages huggingface dataset:
TOPSIS-Bhawika-101803532 0.0.1
A python package to implement TOPSIS on a given dataset
License: MIT

# TOPSIS-Python

Submitted By: **BHAWIKA ARORA 101803532**

***
pypi: <https://pypi.org/project/TOPSIS-Bhawika-101803532>
<br>
git: <https://github.com/Bhawika16/TOPSIS-Bhawika-101803532>
***

## What is TOPSIS

**T**echnique for **O**rder **P**reference by **S**imilarity to **I**deal
**S**olution (TOPSIS) originated in the 1980s 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. More details at [wikipedia](https://en.wikipedia.org/wiki/TOPSIS).

<br>

## How to use this package:

TOPSIS-Bhawika-101803532  can be run as in the following example:



### In Command Prompt
```
>> topsis data.csv "1,1,1,1" "+,+,-,+" result.csv
```
<br>



## Sample dataset

The decision matrix (`a`) should be constructed with each row representing a Model alternative, and each column representing a criterion like Accuracy, R<sup>2</sup>, Root Mean Squared Error, Correlation, and many more.

Model | Correlation | R<sup>2</sup> | 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 benefit positive(+) or negative(-) impact criteria should be provided in `I`.

<br>
NexR-dqc 0.4.0
Data EDA & QC Package with Python
License: MIT
Requires Python: >=3
Keywords: pypi

# NexR_dqc
[![PyPI](https://img.shields.io/pypi/v/NexR_dqc?style=plastic&color=blue)](https://pypi.org/project/NexR_dqc/)
<br><br>

## 요구사항
- python >= 3.7.1
- numpy
- pandas==1.2.4
- pyarrow
- openpyxl
- xlsxwriter
<br>

## 설치

### venv 설치 및 활성화 
```
virtualenv pre_process 

cd pre_process 
source bin/activate

pip install NexR_dqc
```

### 폴더 구성
- documents 하위 항목([DBMS유형별_Datatype](https://github.com/Leejung8763/NexR_dqc/raw/main/documents/DBMS%EC%9C%A0%ED%98%95%EB%B3%84_Datatype.xlsx), [테이블정의서](https://github.com/Leejung8763/NexR_dqc/raw/main/documents/%ED%85%8C%EC%9D%B4%EB%B8%94%EC%A0%95%EC%9D%98%EC%84%9C.xlsx), [컬럼정의서](https://github.com/Leejung8763/NexR_dqc/raw/main/documents/%EC%BD%94%EB%93%9C%EC%A0%95%EC%9D%98%EC%84%9C.xlsx), [코드정의서](https://github.com/Leejung8763/NexR_dqc/raw/main/documents/%EC%BB%AC%EB%9F%BC%EC%A0%95%EC%9D%98%EC%84%9C.xlsx))은 필수로 작성되어야 함
```
data/
├── documents/
│   ├── DBMS유형별_Datatype
│   ├── 테이블정의서
│   ├── 컬럼정의서
│   └── 코드정의서
└── data.csv
``` 
<br>

## 예제 실행 
```
import sys
from NexR_dqc import PreProcess 

inputData = './sample.csv'
docsPath = './documents'
outputPath = '.'

code = PreProcess.PreProcess(inputData, docsPath)

code.summary()
code.eda()
code.save(outputPath)
```