From a3a11bc16c442f1cc313ae61e84e41f281e78906 Mon Sep 17 00:00:00 2001 From: Jeremy Nelson Date: Fri, 29 Nov 2019 13:02:13 -0500 Subject: [PATCH] merging --- .idea/workspace.xml | 49 ++++++++++++++++++---------- markov_model_attribution/__init__.py | 5 +-- 2 files changed, 33 insertions(+), 21 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d280e47..6fb5047 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,6 @@ - - @@ -120,6 +119,22 @@ + + + + + + + + + + + + + + + + @@ -241,7 +256,7 @@ - + @@ -296,23 +311,23 @@ + + + + + + + - + - - - - - - - @@ -322,8 +337,8 @@ - - + + diff --git a/markov_model_attribution/__init__.py b/markov_model_attribution/__init__.py index e5c4c20..f1dda41 100644 --- a/markov_model_attribution/__init__.py +++ b/markov_model_attribution/__init__.py @@ -52,10 +52,7 @@ def first_order(paths): sublist.append(userpath) total_paths += 1 paths = sublist -<<<<<<< HEAD -======= - ->>>>>>> 329f52a318dfd0d199b4cfc20721163eb66b4735 + unique_touch_list = set(x for element in paths for x in element) # get total last touch conversion counts conv_dict = {}