Skip to content

Seldom

Seldom

Bases: Hedge

Hedge that modifies the membership function value of a term as follows.

Equation

\(h(x) = \begin{cases} \sqrt{\dfrac{x}{2}} & \mbox{if } x \le 0.5 \cr 1-\sqrt{\dfrac{1-x}{2}} & \mbox{otherwise} \end{cases}\)

related

Functions

hedge

hedge(x: Scalar) -> Scalar

Compute \(\text{Seldom(x)}\).

Parameters:

Name Type Description Default
x Scalar

membership function value

required

Returns:

Type Description
Scalar

\(h(x) = \begin{cases} \sqrt{\dfrac{x}{2}} & \mbox{if \(x \le 0.5\)} \cr 1-\sqrt{\dfrac{(1-x)}{2}} & \mbox{otherwise}\cr \end{cases}\)