Clustering similar patterns at stage 9-10 % Specify the MySQL parameters nanosinfo.host='nanos'; nanosinfo.name='insitu'; nanosinfo.user='erwin'; nanosinfo.password=''; % Connect to the database with the Matlab Database toolbox myconn=mysql_connect(nanosinfo) % Create the stage 9-10 filtered datasets [st9tmesh_pat, st9tpat_sym, st9usym, st9tmesh, st9tmesh_ref, st9symi_X50] = filterPipeline(myconn, ti, 4, 'lateral') % Cluster the distinct patterns [apc_st9tmeshpat, apc_st9tmeshpat_sym, apc_st9temesh] = run_apc(st9tmesh_pat, 'verbose', 1, 'show', ti, 'symidx', st9tpat_sym, 'symtext', st9usym) % Explore some of the clusters in detail study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 591,'display'); study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 59,'display'); study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 496,'display'); study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 500,'display'); study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 559,'display'); study_clusters(ti, myconn, apc_st9temesh, apc_st9tmeshpat, 524,'display');