DSD_Target: 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
)
Value
Returns a DSD_Target
object which is a list of the defined
params. The params are either passed in from the function or created
internally. They include:
- description
A brief description of the DSD object.
- k
The
number of clusters.
- d
The number of dimensions.
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
DSD_Target
is a DSD generator for stream data. It has been
implemented entirely in R, so there is no computational overhead with
communicating to the Java Runtime Interface (JRI) or native C code. This DSD
will produce a singular Gaussian cluster in the center with a ring around
it.
Examples
Run this code
# create data stream with three clusters in 2D
stream <- DSD_Target()
# plotting the data
plot(stream)
Run the code above in your browser using DataLab