Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]() Example: (Consider the platform = MATLAB)
For each unique index in the GT, I have defined a color array.
Next, I use a clustering algorithm (DBSCAN in my case) and it gives the following indices:
Now, I need to visualize the results alongside the ground truth. Thus, according to the color array defined, I would not get the same pattern of colors for ground truth and obtained clusters during visualization. Is there any solution so that I could make both the colorings consistent? Figure with ground truth and obtained clusters The same is illustrated in the above link to the figure (not a MatLab plot! Created for the purpose of illustration), where the Cluster 1 should have the same color in the ground truth as well as the obtained cluster results. But, it is not the case here because of the index number associated with colour array defined. Note: The indices obtained after the clustering cant be predefined and depends on the clustering algorithm and clustering input. More... |
![]() |
![]() |