Take a set of rules (a rule-base) and perform a Perception-based Logical Deduction (PbLD) on
each row of a given
1 2 3 4 5 6
Input to the inference. It should be
an object of class
Each row represents a single case of inference. Columns should be named after predicates in rules' antecedents.
A rule-base (a.k.a. linguistic description) either in the form
Crisp values that correspond to rows of memberhsip degrees in the
The type of inference to use. It can be either
Whether the processing should be run in parallel or not. Parallelization is
implemented using the
Perform a Perception-based Logical Deduction (PbLD) with given rule-base
rules on each
row of input
x. Columns of
x are truth values of predicates that appear in the
antecedent part of
partition together with
values determine the
shape of predicates in consequents: each element in
values corresponds to a row of
membership degrees in
A vector of inferred defuzzified values. The number of resulting values corresponds to the
number of rows of the
A. Dvořák, M. Štěpnička, On perception-based logical deduction and its variants, in: Proc. 16th World Congress of the International Fuzzy Systems Association and 9th Conference of the European Society for Fuzzy Logic and Technology (IFSA-EUSFLAT 2015), Advances in Intelligent Systems Research, Atlantic Press, Gijon, 2015.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# custom context of the RHS variable uptakeContext <- c(7, 28.3, 46) # convert data into fuzzy sets co2 <- lcut3(CO2, context=list(uptake=uptakeContext)) # split data into training and testing set testing <- sel(co2, 1:5) training <- sel(co2, -1 * 1:5) # search for rules r <- searchrules(training, lhs=1:38, rhs=39:58) # prepare values and partition v <- slices(uptakeContext, uptakeContext, 1000) p <- lcut3(v, name='uptake', context=uptakeContext) # do the inference pbld(testing, r, p, v)
 35.77177 35.77177 35.77177 35.77177 35.77177
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.