configuration<-,Asset-method {Allspice}R Documentation

Asset configuration

Description

Set internal parameters for an Asset object.

Usage

configuration(obj) <- value
configuration(obj)

Arguments

obj

An object of the class Asset.

value

A numeric vector with named elements.

Details

Element names from the input are compared with the internal list of parameters. Those that match will be updated.

Normalization parameters include 'norm' (if set to 0, normalization is not performed), 'nonzero.min' (the minimum data value considered larger than zero) and 'nonzero.ratio' (minimum ratio of non-zero values to include a variable in the output). See normalize() for additional details.

Standardization parameters include 'standard' (if set to 0, standardization is not performed) and 'logarithm' (if set to 0, data values are used without taking the logarithm). See standardize() for additional details.

Feature selection parameters include 'ninput.max' (the maximum number of features to be used for classification) and 'rrinput.max' (the maximum correlation r-squared to be allowed between features). See assemble() for details on selecting non-redundant inputs.

Classification parameters include 'probability.min' (minimum probability rating considered for reliable classification) and 'exclusivity.min' (minimum exclusivity for non-ambiguous classification). See classify() for additional details.

Value

Updates the Asset object.

Examples

# Change asset configuration.
a <- asset()
print(configuration(a))
configuration(a) <- c(nonzero.min=0, nonzero.ratio=0)
print(configuration(a))

[Package Allspice version 1.0.7 Index]