Rough sets implementation for Python
Project description
Guidelines
Instalation
To install this package use pip as following
pip install rst-tools
Usage
import pandas as pd
from rst_tools.roughsets import RoughSets as RST
from rst_tools.roughsets import QuickReduct as QR
df = pd.read_csv("YOUR/FILE.csv")
conditional_attributes = list(df.column.values)
decision_attribute = conditional_attributes[-1]
del conditional_attributes[-1]
roughsets = RST(df)
'''....'''
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
rst-tools-0.1.5.tar.gz
(2.2 kB
view details)
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 rst-tools-0.1.5.tar.gz.
File metadata
- Download URL: rst-tools-0.1.5.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.13 Linux/4.19.128-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94dbc9a0f6b655158fac068e546238ef1ae7f36cef9f422ccd3ee02cc9cb79d2
|
|
| MD5 |
b3ed1bb0fd31ba9b374f31b2ac3d4668
|
|
| BLAKE2b-256 |
2d0c7494b3952d8097e5057dacdc98d3b3e997f6cb2b19b54565615cab72ef17
|
File details
Details for the file rst_tools-0.1.5-py3-none-any.whl.
File metadata
- Download URL: rst_tools-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.13 Linux/4.19.128-microsoft-standard
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91a1c83362ea88941c721e008ffd3e6adc248a82b8a06a8f3c19f198c44b1ab4
|
|
| MD5 |
a8b35a94d83f2c370bfd3df6e04d6e25
|
|
| BLAKE2b-256 |
6810d5a70f05ee0f3491662c7c438bb146c1f3369ab06548ff1b985534b26658
|