| DSD_Target {stream} | R Documentation |
Target Data Stream Generator
Description
A data stream generator that generates a data stream in the shape of a target. It has a single Gaussian cluster in the center and a ring that surrounds it.
Usage
DSD_Target(
center_sd = 0.05,
center_weight = 0.5,
ring_r = 0.2,
ring_sd = 0.02,
noise = 0
)
Arguments
center_sd |
standard deviation of center |
center_weight |
proportion of points in center |
ring_r |
average ring radius |
ring_sd |
standard deviation of ring radius |
noise |
proportion of noise |
Details
This DSD will produce a singular Gaussian cluster in the center with a ring around it.
Value
Returns a DSD_Target object.
Author(s)
Michael Hahsler
See Also
Other DSD:
DSD(),
DSD_BarsAndGaussians(),
DSD_Benchmark(),
DSD_Cubes(),
DSD_Gaussians(),
DSD_MG(),
DSD_Memory(),
DSD_Mixture(),
DSD_NULL(),
DSD_ReadDB(),
DSD_ReadStream(),
DSD_UniformNoise(),
DSD_mlbenchData(),
DSD_mlbenchGenerator(),
DSF(),
animate_data(),
close_stream(),
get_points(),
plot.DSD(),
reset_stream()
Examples
# create data stream with three clusters in 2D
stream <- DSD_Target()
get_points(stream, n = 5)
plot(stream)
[Package stream version 2.0-2 Index]