DBDelve
DBDelve는 Rust 기반 빠른 다중 엔진 데이터베이스 클라이언트, 무료 오픈소스, 텔레메트리 없음
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Ex-Fuzzy is a comprehensive Python library for explainable artificial intelligence through fuzzy logic programming. Built with a focus on accessibility and visualization, it enables researchers and practitioners to create interpretable machine learning models using fuzzy association rules.
New: Try Ex-Fuzzy labs! Our new plug and play web interface where you can quickly test how Ex-Fuzzy would work in your data: ExFuzzy Labs
See it on real data: ExFuzzy Atlas shows Ex-Fuzzy models on public air quality, river water and taxi demand data: read each rule and see where on the map it decides (source).
algorithm='nsga2') and keeps the Pareto front to choose from. Hyperparameters like tournament size and crossover rate can be tuned.Install Ex-Fuzzy using pip:
# Basic installation (CPU only, PyMoo backend)
pip install ex-fuzzy
# With GPU support (EvoX backend with PyTorch)
pip install "ex-fuzzy[evox]"
from ex_fuzzy import BaseFuzzyRulesClassifier
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
# Load data
X, y = load_iris(return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=42)
# Create and train fuzzy classifier
classifier = BaseFuzzyRulesClassifier(
nRules=15,
nAnts=4,
backend="pymoo" # or "evox" for GPU acceleration
)
# Train the model
classifier.fit(X_train, y_train)
# Make predictions
predictions = classifier.predict(X_test)
# Evaluate and visualize fuzzy partitions
from ex_fuzzy.eval_tools import eval_fuzzy_model
eval_fuzzy_model(classifier, X_train, y_train, X_test, y_test,
plot_partitions=True)
FERL learns a fuzzy rule tree and derives Dempster--Shafer evidence directly
from rule firing strengths. It is implemented natively in Ex-Fuzzy and needs no
separate fuzzy-tree package.
from ex_fuzzy import FERL
ferl = FERL(max_rules=15, random_state=0)
ferl.fit(X_train, y_train)
predictions = ferl.predict(X_test)
betp, belief, plausibility, ignorance = ferl.predict_credal(X_test)
prediction_sets = ferl.predict_set(X_test)
ferl.print_tree()
Use split_mode="learned" for data-driven soft split locations or
partition="mdlp" for supervised trapezoidal partitions. Native FERL sets are
calibration-free evidential outputs; use ConformalFuzzyClassifier when a
finite-sample marginal coverage guarantee is required.
For higher accuracy with the same evidential outputs, DeepFERL grows a deep
tree of learned, Gini-placed soft splits and votes over its leaves.
BaseFuzzyRulesRegressor learns interpretable Type-1 rules for continuous
targets. It supports crisp Takagi-Sugeno consequents and fuzzy Mamdani
consequents.
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗