DSD | R Documentation |
Abstract base classes for DSD (Data Stream Data Generator).
DSD(...)
DSD_R(...)
... |
further arguments. |
The DSD
class cannot be instantiated, but it serves as a abstract
base class from which all DSD objects inherit. Implementations can be found in the
See Also section below.
DSD
provides common functionality like:
get_points()
print()
plot()
reset_stream()
(if available)
close_stream()
(if needed)
DSD_R
inherits form DSD
and is the abstract parent class for
DSD implemented in R. To create a new R-based implementation there are only
two function that needs to be implemented for a new DSD
subclass
called Foo
would be:
A creator function DSD_Foo(...)
and
a method get_points.DSD_Foo(x, n = 1L)
for that class.
For details see vignette()
Michael Hahsler
Other DSD:
DSD_BarsAndGaussians()
,
DSD_Benchmark()
,
DSD_Cubes()
,
DSD_Gaussians()
,
DSD_MG()
,
DSD_Memory()
,
DSD_Mixture()
,
DSD_NULL()
,
DSD_ReadDB()
,
DSD_ReadStream()
,
DSD_Target()
,
DSD_UniformNoise()
,
DSD_mlbenchData()
,
DSD_mlbenchGenerator()
,
DSF()
,
animate_data()
,
close_stream()
,
get_points()
,
plot.DSD()
,
reset_stream()
DSD()
# create data stream with three clusters in 3-dimensional space
stream <- DSD_Gaussians(k = 3, d = 3)
# get points from stream
get_points(stream, n = 5)
# plotting the data (scatter plot matrix, first and third dimension, and first
# two principal components)
plot(stream)
plot(stream, dim = c(1, 3))
plot(stream, method = "pca")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.