summary.ndmodel | R Documentation |
This method displays a summary containing information about the noise
introduction process contained in an object of class ndmodel
.
## S3 method for class 'ndmodel' summary(object, ..., showid = FALSE)
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: |
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
).
A list with the elements of object
, including the showid
argument.
print.ndmodel
, plot.ndmodel
, sym_uni_ln
, sym_cuni_ln
, sym_uni_an
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.