anfis.eval {FuzzyR}R Documentation

ANFIS evaluator

Description

To evaluate a ANFIS model with input data

Usage

anfis.eval(anfis, input.stack)

Arguments

anfis

The given ANFIS model

input.stack

The input data

Value

The output of the anfis for given input data.

Author(s)

Chao Chen

Examples

fis <- anfis.tipper()
anfis <- anfis.builder(fis)
data.num <- 5
input.num <- length(fis$input)
input.stack <- matrix(rnorm(data.num*input.num), ncol=input.num)
y <- matrix(rnorm(data.num))
data.trn <- cbind(input.stack, y)
anfis.eval(anfis, input.stack)

[Package FuzzyR version 2.3.2 Index]