Comments (4)
And another
Error in puma 03720
Traceback (most recent call last):
File "scripts/generate_all_pumas.py", line 123, in generate_population
marginals, households, persons)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 73, in from_cleaned_data
HouseholdAllocator._allocate_households(households, persons, marginals)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 147, in _allocate_households
hh_table, A, B, w_extend, gamma * mu_extend.T, meta_gamma
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/listbalancer.py", line 168, in balance_multi_cvx
weights_out = np.insert(weights_out, zero_marginals, zero_weights, 0)
File "/home/kat/.local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 4937, in insert
old_mask[indices] = False
IndexError: index 29 is out of bounds for axis 1 with size 29
from doppelganger.
And one is still not converging:
Error in puma 03713
Traceback (most recent call last):
File "scripts/generate_all_pumas.py", line 123, in generate_population
marginals, households, persons)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 73, in from_cleaned_data
HouseholdAllocator._allocate_households(households, persons, marginals)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 154, in _allocate_households
discretized_hh_weights = discretize_multi_weights(hh_table, hh_weights)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/listbalancer.py", line 225, in discretize_multi_weights
prob.solve(verbose=verbose_solver)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/problem.py", line 210, in solve
return self._solve(*args, **kwargs)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/problem.py", line 336, in _solve
self._update_problem_state(results_dict, sym_data, solver)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/problem.py", line 448, in _update_problem_state
"Solver '%s' failed. Try another solver." % solver.name())
from doppelganger.
Looks like we're getting another broadcast error, eg in PUMA 03701:
Traceback (most recent call last):
File "scripts/generate_all_pumas.py", line 123, in generate_population
marginals, households, persons)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 73, in from_cleaned_data
HouseholdAllocator._allocate_households(households, persons, marginals)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 147, in _allocate_households
hh_table, A, B, w_extend, gamma * mu_extend.T, meta_gamma
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/listbalancer.py", line 180, in balance_multi_cvx
np.zeros((n_controls, 1)), axis=1)
File "/home/kat/.local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 4856, in insert
arr[...] = values
ValueError: could not broadcast input array from shape (4,1) into shape ()
from doppelganger.
And only one PUMA (00101) is seeing this issue:
Traceback (most recent call last):
File "scripts/generate_all_pumas.py", line 123, in generate_population
marginals, households, persons)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 73, in from_cleaned_data
HouseholdAllocator._allocate_households(households, persons, marginals)
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/allocation.py", line 147, in _allocate_households
hh_table, A, B, w_extend, gamma * mu_extend.T, meta_gamma
File "/home/kat/.local/lib/python2.7/site-packages/doppelganger/listbalancer.py", line 143, in balance_multi_cvx
prob.solve(verbose=verbose_solver)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/problem.py", line 210, in solve
return self._solve(*args, **kwargs)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/problem.py", line 332, in _solve
kwargs)
File "/home/kat/.local/lib/python2.7/site-packages/cvxpy/problems/solvers/ecos_intf.py", line 126, in solve
**solver_opts)
File "/home/kat/.local/lib/python2.7/site-packages/ecos.py", line 62, in solve
return _ecos.csolve((m,n1,p), c, data, indices, colptr, h, dims, A.data, A.indices, A.indptr, b, **kwargs)
RuntimeError: Internal problem occurred in ECOS while setting up the problem.
Please send a bug report with data to Alexander Domahidi.
Email: [email protected]
from doppelganger.
Related Issues (20)
- Preferred communication medium? HOT 1
- Pomegrenate issues on CentOS 7.3 HOT 5
- Household indexing is confusing HOT 3
- Modifying inputs.py HOT 6
- 1 year vs 5 year PUMS input difference HOT 1
- doppelganger.person_structure -> pomegranite.BayesianNetwork HOT 1
- Add state & county IDs HOT 1
- Segmenting on an input variable that allows the None type causes a sorting error HOT 2
- Solver variable bin lineup between inputs and marginals
- Error in doppelganger_example_simple.ipynb HOT 6
- nosetests HOT 1
- test_balance_cvx_relaxed failing on new versions of cvxpy HOT 3
- Pomegranate pinned to old version HOT 2
- marginals dtypes HOT 1
- keep leading zeros in code columns - dtypes HOT 3
- IEEE Computer Society Magazine for an upcoming edition on Governments in the Age of Big Data and Smart Cities(December 2018)
- Generated population doesn't match input controls HOT 4
- Length mismatch HOT 6
- ---
- issue with cvxpy.Variable functions in example code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doppelganger.