I want to check with a python code not with the methods you suggested , that each…
- User
I want to check with a python code not with the methods you suggested , that each cluster contains the fit data points, and if there are points that are in a cluster and they were supposed to be in another cluster i want to see them Processed Log Message Cluster TSNE-2D-one TSNE-2D-two 0 draw back payment userid 4d2a46c771cb4cf1b5bbb... 3 -55.423336 -14.616065 1 draw back money 5 160.354004 201.750458 2 delay process,wrong cancel process 14 -137.888565 -184.304276 3 order found gh 2 -117.943611 153.962540 4 order id 518f507e3a0d437cbdf5b6730fa114c9 12 -48.477879 66.973473 ... ... ... ... ... 795 success 0 120.860352 -35.697872 796 success 0 120.860352 -35.697872 797 changing 4 -20.705130 -183.243896 798 draw back payment userid 4d2a46c771cb4cf1b5bbb... 10 -98.913475 -42.547943 799 order found gh 2 -144.206268 134.309082
- Assistant
Sure, below is an example of Python code that performs the task. The idea is to calculate the 'true' clusters using the
TSNE-2D-oneandTSNE-2D-twocoordinates and check if the actual clusters match the 'true' clusters. - User
I want to check for each cluster, if each processed log message belongs to that cluster or if it should be in another cluster based on the log message and based on the log level too test Processed Log Message Log Level Cluster 0 draw back payment userid 4d2a46c771cb4cf1b5bbb... INFO 12 1 draw back money INFO 3 2 delay process,wrong cancel process ERROR 7 3 order found gh INFO 2 4 order id 518f507e3a0d437cbdf5b6730fa114c9 INFO 8 ... ... ... ... 795 success INFO 0 796 success INFO 0 797 changing INFO 4 798 draw back payment userid 4d2a46c771cb4cf1b5bbb... INFO 9 799 order found gh INFO 2
- Assistant