The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Cluster Result"
Hi everyone,
I use DBSCAN to cluster my dataset. I know how to label the anomaly cluster (e.g. cluster_2) as false and other as true (by using if statement and set Role). If my dataset changes, the anomaly cluster will change and i can not specify cluster in if statement. how can i determine which cluster has the lowest number of instances and use the cluster in if statement.
Thanks
I use DBSCAN to cluster my dataset. I know how to label the anomaly cluster (e.g. cluster_2) as false and other as true (by using if statement and set Role). If my dataset changes, the anomaly cluster will change and i can not specify cluster in if statement. how can i determine which cluster has the lowest number of instances and use the cluster in if statement.
Thanks
Tagged:
0
Answers
Here a process to count the number of elements in the cluster(s). The results are sorted, so that the first element of the list is the cluster with the lowest number of elements :
Regards,
Lionel