Untitled
unknown
plain_text
2 years ago
768 B
5
Indexable
--------------------------------------------------------------------------- MemoryError Traceback (most recent call last) Input In [25], in <cell line: 1>() ----> 1 ticket_support_df = apriori(encoded_df, min_support=0.01, use_colnames=True) 3 ticket_support_df.shape File /Analytics/venv/CAPEANALYTICS/lib/python3.8/site-packages/mlxtend/frequent_patterns/apriori.py:292, in apriori(df, min_support, use_colnames, max_len, verbose, low_memory) 290 else: 291 combin = generate_new_combinations(itemset_dict[max_itemset]) --> 292 combin = np.fromiter(combin, dtype=int) 293 combin = combin.reshape(-1, next_max_itemset) 295 if combin.size == 0: MemoryError: cannot allocate array memory
Editor is loading...