v0.1.0
更新內容
建立create_reduct_rules
,用來產生約略規則
使用範例
from roughset.reduct import create_reduct_rules
# Load data from a CSV file
df = pd.read_csv('example.csv')
# Calculate reduct rules
create_reduct_rules(
df=df,
name_col="No",
feature_col=['天氣', '事故情形', '事故原因'],
decision_col='損壞部位',
include_empty=True # Include empty reduct rules
)