I want to see the Association Rules within my dataset which contributes to each Gene Type but I am facing trouble please check the output in the images attached. I want to know what am I doing wrong any suggestion will be highly appreciated.
This is the command I am using : from apyori import apriori
rules = list(apriori(genes))
If you don't like the default output of the str
function ofnthe frozenset
class, then you need to implement your own serialization to text.
It's straightforward.