Topsis-Sort-B package
Project description
Topsis Sort B - LIB PYPI
The TOPSIS-Sort-B is an enhanced variation of the TOPSIS-Sort method, designed to address classification and sorting problems in multiple criteria decision-making. In this method, boundary profiles are employed to determine categorization classes and to sort alternatives based on the proximity of their proximity coefficients to the established profiles.
Tecnologias usads
| Tecnologias | Versão | Install |
|---|---|---|
| Python | 3.12.1 | pip install python==3.12.1 |
| Numpy | 1.26.4 | pip install numpy==1.26.4 |
| Pandas | 2.2.1 | pip install pandas==2.2.1 |
Installtion
- Install the required dependencies by running the following command: pip
pip install topsisSortLib
How to Run the Application
- After installing the package, import the library.
- from topsisSortLib import topsis_b_sort_profile_classification
How to Use
- To utilize the topsis_b_sort_profile_classification function, follow these steps:
- Import pandas: Begin by importing the pandas library as pd.
How to Use
To utilize the topsis_b_sort_profile_classification function, follow these steps:
-
Import pandas: Begin by importing the pandas library.
import pandas as pd
-
Load CSV File: Load your CSV file into a pandas DataFrame using
pd.read_csv().df = pd.read_csv('your_file.csv')
-
Clean Data: Clean the DataFrame by converting all non-numeric values to numeric using
pd.to_numeric()and filling any missing values with zero.df = df.apply(pd.to_numeric, errors='coerce').fillna(0)
-
Call Function: Pass the cleaned DataFrame along with other necessary arguments into the
topsis_b_sort_profile_classificationfunction.result = topsis_b_sort_profile_classification( decision_matrix=df, domain_matrix=your_domain_matrix, dominant_profiles=your_dominant_profiles, weights=your_weights )
Make sure to replace your_file.csv, your_domain_matrix, your_dominant_profiles, and your_weights with the appropriate variables or data structures.
`
References
- Silva, D. F. L., & Filho, A. T. A. (2020). Sorting with TOPSIS through boundary and characteristic profiles. Journal Name, Volume(1), 141.
- GeeksforGeeks.TOPSIS method for Multiple-Criteria Decision Making (MCDM). Retrieved from [URL]
Deploy
- Aplicação
- library [URL]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file TOPSIS-Sort-B-1.0.2.tar.gz.
File metadata
- Download URL: TOPSIS-Sort-B-1.0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
561685ed48021a405e91b6cd15d2c4e8718fedd2bbda0747fac2e3a541663e89
|
|
| MD5 |
6bf22364a337b2e0b8f5352f8797a6d8
|
|
| BLAKE2b-256 |
00006b7950a7e59a55525ec7660b87d29b034554d07f10574442fd904609e76d
|