pnn.parpred: Calculate predicted probabilities of PNN by using parallelism

Description Usage Arguments Value See Also Examples

View source: R/pnn.parpred.R

Description

The function pnn.parpred calculates a matrix of PNN predicted probabilities based on an input matrix

Usage

1
pnn.parpred(net, x)

Arguments

net

A PNN object generated by pnn.fit()

x

A matrix of input predictors

Value

A matrix of predicted probabilities

See Also

pnn.predict

Examples

1
2
3
4
5
data(iris, package = "datasets")
Y <- iris[, 5]
X <- scale(iris[, 1:4])
pnet <- pnn.fit(x = X, y = Y)
pnn.parpred(pnet, X[seq(5), ])

yap documentation built on Oct. 26, 2020, 1:06 a.m.

Related to pnn.parpred in yap...