Closed StijnVanRijssel closed 1 year ago
I've the same problem in Google Colab and in JupiterLab on personal machine.
Yes, looks like there is something wrong with the code in example, probably something is missing...
OK, solution is to downgrade version of the library, to 2.0.0 instead latest version 2.0.2 which pip3 is installing by default.
How do I downgrade it to 2.0.0 so I can use it in Google Colab?
AttributeError: 'RetentioneeringDataset' object has no attribute 'extract_features'
OK, solution is to downgrade version of the library, to 2.0.0 instead latest version 2.0.2 which pip3 is installing by default.
!pip3 uninstall retentioneering
!pip3 install retentioneering==2.0.0
I had the same problem, and reinstalling did not fix the issue.
My environment is:
Python 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0] :: Anaconda, Inc. on linux
And I already installed retentioneering-2.0.0 based on the steps above.
The code I tried to run is straight from the quick start
data.rete.plot_graph(norm_type='full', weight_col='user_id', thresh=0.06, targets = {'payment_done':'green', 'lost':'red'})
--- Edit: Added the error code below:
AttributeError Traceback (most recent call last)
At the end of April 2023, we will be moving to the version 3 of the library. You can use pip to install packages into your beta version: pip install retentioneering --pre Documentation on the Transition Graph tool is available for version 3: User guide API Reference This problem is not relevant in the new major version.
The tutorial notebook (Google Colab) returns the error above when running the following code: