Skip to main content

🐍 Rough Set Python Package

pypi CI Commits Views GitHub LICENSE GitHub repo size GitHub Release Date - Published_At Streamlit App pypi Downloads pypi version

Rough Set Python Package is a Python library that provides a set of tools to calculate rough sets and obtain reduct rules. This package is useful for data analysis and machine learning tasks where you need to deal with uncertainty or incomplete data.

📦 Installation

You can install Rough Set Python Package using pip command:

pip install roughset

📚 Usage

With a example data Example data

from roughset import RoughSet

# Load data from a CSV file
df = pd.read_csv('example.csv')

# Create RoughSet object
RS = RoughSet(
    df=df,
    name_col="No",
    feature_col=['天氣', '事故情形', '事故原因'],
    decision_col='損壞部位'
)
rules = RS.create_reduct_rules(include_empty=True)
rules

We will get the reduct rules. reduct rules result

rules_with_scores = RS.evaluate_metrics()
rules_with_scores

🤝 Contribution

If you want to contribute to Rough Set Python Package, you can fork the repository on GitHub and create a pull request. You can also report bugs, suggest new features, or ask for help in the issues section.

📜 License

Rough Set Python Package is released under the MIT License. You can find the details of the license in the LICENSE file.

Metadata

Release files for roughset 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roughset 0.3.0
File Size Uploaded Provenance Actions
roughset-0.3.0.tar.gz 11.7 kB Without provenance Details for roughset-0.3.0.tar.gz

Release files / roughset-0.3.0.tar.gz

Download URL roughset-0.3.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0bb7561e9ccfcf1c50a180a77d0349ff0478b792a4f908cb8825e32d1e80a074
BLAKE2b-256 checksum
How to use checksums
700c8f985fcf4a79a7b7cee0b44bd9dab98930f80fbd74e746300a4e8ef69660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for roughset 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page