Returns the unique features from all sets as a list of (hashable) frozensets.
(self, sets)
| 1213 | self._support = {} |
| 1214 | |
| 1215 | def C1(self, sets): |
| 1216 | """ Returns the unique features from all sets as a list of (hashable) frozensets. |
| 1217 | """ |
| 1218 | return [frozenset([v]) for v in set(chain(*sets))] |
| 1219 | |
| 1220 | def Ck(self, sets): |
| 1221 | """ For the given sets of length k, returns combined candidate sets of length k+1. |