lundi 3 juin 2019

I want to generate patterns first one set then 2 set then 3 set from a list

I want to create pattern from my list data in manner such that first one pattern set comes then two pattern set then so on..

i have used frequent pattern mining but that gives all patterns at once . i need patterns at steps like one set then 2 set then 3 set

list = ['44', '30', '32', '49', '41', '311', '35', '43', '410'] ['44', '30', '42', '39', '101', '311', '45', '43', '310'] ['24', '10', '42', '49', '21', '411', '45', '43', '410'] patterns=pyfpgrowth.find_frequent_patterns(list, 9)

Aucun commentaire:

Enregistrer un commentaire