Skip to content

Library used for the generation of an animated 3D plot meant for clustering demonstration purposes.

Notifications You must be signed in to change notification settings

Plachido/plot3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plot3d

Having the three axes data a three dimensional animated plot gets generated. Points can have different colours based on which cluster they are in, and different shape if they are misclassified instances. The whole plot is generated with the rgl library, while the (optional) animation is made with the library magick.

USAGE

x = x axis,
y = y axis,
z = z axis,
groups = found clusters,
truth = actual clusters,
axis_n = vector of labels
spin = animation option

plot_3d(x,y,z, groups, truth, axis_n, spin = TRUE)

In the following example the result of mclust model based clustering gets plotted, and misclassificated instances are shown as squares (made on Wine dataset).

NOTE: no axis labels have been insered on this example.

About

Library used for the generation of an animated 3D plot meant for clustering demonstration purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages