Open aliarian opened 6 years ago
Hi, I'm wondering whether there has been an update to this? I'm getting a similar error message when working through the doppelganger_example_full.ipynb (though I am running python 3.6):
allocator = HouseholdAllocator.from_cleaned_data(controls, households_data, persons_data)
`--------------------------------------------------------------------------- ValueError Traceback (most recent call last)
Hi,
This seems to be caused by a version mismatch issue with cvxpy.
To resolve: Make sure your notebook is using a Python 2.7 kernel
If that doesn't work, downgrade cvxpy to 0.4.8
pip2 install cvxpy==0.4.8
To check which version is running, put the following (hacky) code near the top of your notebook:
import cvxpy
print(cvxpy.__version__)
EDIT: This seems to have encountered before in #57
Hi, @LachlanBirdsey Thanks so much for your response. I tried running it again first with a Python 2.7 Kernel and cvxpy==0.4.8 following your instructions and I'm getting the same error..... any other possible suggestions? I'm not sure I entirely understand what the issue/fix was in #57
Many thanks!
`--------------------------------------------------------------------------- ValueError Traceback (most recent call last)
Hi,
One potential fix is to remove the puma=PUMA parameter in households_data = PumsData.from_csv(...
Hopefully this helps.
Yes! amazing. Thank you @LachlanBirdsey I removed the puma=PUMA parameter in households_data and in persons_data and then the allocator worked.
However, when attempting to run:
population = Population.generate(allocator, person_model, household_model)
in "Step 03: Replace the PUMS Persons with Synthetic Persons created from the Bayesian Network" I get the error message included below. Any chance you have any suggestions here? many thanks again.
`--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)
Hi @darebrawley,
Firstly, I would check to see which version of pomegranate you have installed. Doppelganger has a requirement of pomegranate==0.8.1
. Later versions are very incompatible (see #58)
Hi
I'm using the sample data and trying to run the example provided in doppelganger_example_full.ipynb. However, I get this error and cannot figure out what's the problem. Can you please help me with it?