jmwoloso/pychattr

Issue with conversion_value_feature

Closed this issue · 2 comments

Hi when I am fitting marcov model, it shows 0 value in "markov value column":
zrzut ekranu 2018-08-12 o 17 14 04

and also have Warning :
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas/core/indexing.py:1472: FutureWarning: Passing list-likes to .loc or [] with any missing label will raise KeyError in the future, you can use .reindex() as an alternative. See the documentation here: https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike return self._getitem_tuple(key)

But when I debug code it start working:

zrzut ekranu 2018-08-12 o 17 18 27

I see that problem is in pychattr/channel_attribution.py file line:
517 - model = RChannelAttribution.markov_model(**kwargs)

I am using Python 3.7. Can you help me?

@ushkav17 please post your code and a sample of your dataset. Additionally, post the versions you have installed for Cython, pandas, matplotlib and rpy2

closing as we still need a code example. feel free to re-open.