As I claimed here it seems that Yield flags has elusive pattern, but on other hand they inserted strictly deterministically - you can recompile the same cubin and check that Yields always take place for the same instructions
So I added to my dg2.pl option -Y to produce CSV files with 9 params like instruction name, yield flag, stall count, read/write/wait barriers and so on. If you are AI addicted - before further reading you can play with couple of samples to check if your favorite AI for mega$$/month can extract simple pattern