ann.partition: Wrapper function for ANN partitioning

Description Usage Arguments Details Value Examples

View source: R/partition.R

Description

Wrapper function for partition for partitioning using an artificial neural network

Usage

1

Arguments

x

A numeric matrix

model

ANN model to use for partitioning

Details

The ("model") parameter specifies the ANN model to use for calculating thresholds. The default values is ann.partition.model.1, which is supplied with this package.

Value

A matrix comprising values of 1, 0, and -1 to indicate column-wise partitioning of the input matrix into positive, neither, and negative sets, respectively.

Examples

1
2
x = matrix(rnorm(9), 3, 3)
ann.partition(x)

MPCary/DEXICA documentation built on June 26, 2017, 7:35 p.m.