From 2966f06d1dc6fbb3eebd1f39e70213c13b224c9e Mon Sep 17 00:00:00 2001 From: nayak6 <33577700+nayak6@users.noreply.github.com> Date: Fri, 19 Jun 2020 13:54:09 -0400 Subject: [PATCH] result['mined'] gives keyError in python Updated the readme as I think it is right for now. This keyError might need fixing. --- README.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e37c798..e3fa13d 100644 --- a/README.md +++ b/README.md @@ -34,21 +34,7 @@ from pycspade.helpers import spade, print_result # To get raw SPADE output result = spade(filename='tests/zaki.txt', support=0.3, parse=False) -print(result['mined']) -``` -```bash -1 -- 4 4 -2 -- 4 4 -4 -- 2 2 -6 -- 4 4 -4 -> 6 -- 2 2 -4 -> 2 -- 2 2 -2 -> 1 -- 2 2 -4 -> 1 -- 2 2 -6 -> 1 -- 2 2 -4 -> 6 -> 1 -- 2 2 -4 -> 2 -> 1 -- 2 2 -``` + ```python print(result['logger']) ``` @@ -156,4 +142,4 @@ Read the original paper and the C++ implementation for more details - `rm cspade.cpp; python setup.py build_ext --inplace` #### Licence -- MIT \ No newline at end of file +- MIT