Matlabファジー論理ツールボックスは、Fuzzy Inference System Modeling.を提示します。MatlabのようなRのファジー論理関数
を読むために実行ファジィ推論計算をし、 R内のファジィシステムを評価するか?
Matlabファジー論理ツールボックスは、Fuzzy Inference System Modeling.を提示します。MatlabのようなRのファジー論理関数
を読むために実行ファジィ推論計算をし、 R内のファジィシステムを評価するか?
sets package
ファジーロジックツールボックスから期待されるすべてのことを行います。それは、あなたのファジーメンバーシップ関数を指定し、ファジールールを設定し、ファジー推論を行い、非ファジィ化を可能にします。 ?fuzzy_inferenceの例は、標準ファジー論理教科書のレストランの例を示しています。 非常にお勧めします。
## set universe
sets_options("universe", seq(from = 0, to = 25, by = 0.1))
## set up fuzzy variables
variables <-
set(service = fuzzy_partition(varnames = c(poor = 0, good = 5, excellent = 10), sd = 1.5),
food = fuzzy_variable(rancid = fuzzy_trapezoid(corners = c(-2, 0, 2, 4)),
delicious = fuzzy_trapezoid(corners = c(7, 9, 11, 13))),
tip = fuzzy_partition(varnames = c(cheap = 5, average = 12.5, generous = 20),
FUN = fuzzy_cone, radius = 5)
)
## set up rules
rules <-
set(
fuzzy_rule(service %is% poor || food %is% rancid, tip %is% cheap),
fuzzy_rule(service %is% good, tip %is% average),
fuzzy_rule(service %is% excellent || food %is% delicious, tip %is% generous)
)
## combine to a system
system <- fuzzy_system(variables, rules)
print(system)
plot(system) ## plots variables
## do inference
fi <- fuzzy_inference(system, list(service = 3, food = 8))
## plot resulting fuzzy set
plot(fi)
## defuzzify
gset_defuzzify(fi, "centroid")
## reset universe
sets_options("universe", NULL)
あなたはFuzzyToolkitUoNパッケージを使用することができます。 ノッティンガム大学のJ. M. Garibaldiらが開発したと思います。
ソースコードは、彼のウェブサイトで提供されています: http://ima.ac.uk/garibaldi
と仕事がhereを発表しました。
コメントなしでdownvotingは建設的ではありません。個人的に私はなぜその質問がそんなに寄付されていないのかわかりません。 – agstudy
'library(sos); findFn( 'Fuzzy Inference System'); '、私は' frbs'パッケージを取得します。私はそれが.fisファイルを読むことができるとは確信していませんが、ファジーシステムを構築して使用するための機能とさまざまなアルゴリズムを実装しています。 – agstudy