evalFIS: Evaluate a Fuzzy Inference System.

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyToolkitUoN.R

Description

Returns an evaluated crisp value for a given FIS structure.

Usage

1
evalFIS(inputStack, fis, numPoints = 101)

Arguments

inputStack

A matrix representing the input stack, number of inputs (columns) by number of outputs (rows).

fis

A FIS must be provided.

numPoints

An optional argument that represents the number of sample points on which to evaluate the membership functions.

Value

Returns a matrix of evaluated values.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian

Examples

1
2
3
4
MyMatrix <<- matrix((1:2),1,2)
FIS <<- tippertest()
evalFIS(MyMatrix, FIS)
evalFIS(MyMatrix, FIS, 50)

Example output

Loading required package: splines
Setting number of points to 101
         [,1]
[1,] 5.558586
Setting number of points to 50
         [,1]
[1,] 5.560588

FuzzyToolkitUoN documentation built on May 29, 2017, 6:40 p.m.