Skip to main content

compression:kMeans clustering

Version: 0.0.0

Description

Apply kMeans clustering to group data depending on the data's non-linearity.

Inputs

InputNameExpected type(s)Description
Pin 0clusters_numberint32number of the clusters (dafault is 3)
Pin 1formulastringformula ('dist'/'dotprod'), default is 'dist'
Pin 2
Required
fields_containerfields_containeran iunput fields container containing the data which will be used for the clustering
Pin 3component_numberint32component number as an int (default is 0), ex '0' for X-displacement, '1' for Y-displacement,...

Outputs

OutputNameExpected type(s)Description
Pin 0scoping_clustersscopings_containerScopings container with the space scoping (entities' ids) corresponding to each of k-clusters

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: compression

Plugin: core

Scripting name: kmeans_clustering

Full name: compression.kmeans_clustering

Internal name: kmeans_operator

License: any_dpf_supported_increments

Changelog

  • Version 0.0.0: Initial release.