summary.ndmodel {noisemodel} | R Documentation |
Summary function for class ndmodel
Description
This method displays a summary containing information about the noise
introduction process contained in an object of class ndmodel
.
Usage
## S3 method for class 'ndmodel'
summary(object, ..., showid = FALSE)
Arguments
object |
an object of class |
... |
other options to pass to the function. |
showid |
a logical indicating if the indices of noisy samples must be displayed (default: |
Details
This function presents a summary containing information of the noise introduction process and the resulting
noisy dataset contained in the object object
of class ndmodel
.
The information offered is as follows:
the function call.
the name of the noise introduction model.
the parameters associated with the noise model.
the number of noisy and clean samples in the dataset.
the number of noisy samples per class/attribute.
the number of clean samples per class/attribute.
the indices of the noisy samples (if
showid = TRUE
).
Value
A list with the elements of object
, including the showid
argument.
See Also
print.ndmodel
, plot.ndmodel
, sym_uni_ln
, sym_cuni_ln
, sym_uni_an
Examples
# load the dataset
data(iris2D)
# usage of the default method
set.seed(9)
outdef <- sym_uni_ln(x = iris2D[,-ncol(iris2D)], y = iris2D[,ncol(iris2D)], level = 0.1)
# show results
summary(outdef, showid = TRUE)