Comments (2)
Parallelization is definitely possible with the new linear_hessian code introduced in #52. I think the right way to do it is to pre-calculate all steps and store them in shared memory, along with the utility, and then use a multiprocessing pool to chug through all the hessian results in parallel. The challenge is how to do this without having multiprocessing copy the whole MNLFullASC object.
from eqsormo.
Since Numpy is good about releasing the GIL, I can use threads and not have to deal with shared memory.
from eqsormo.
Related Issues (20)
- ASCs slow to converge with some sample levels HOT 7
- Parameterized price-income transformations no longer work
- Should the Hessian exactly match statsmodels?
- Should ASCs be updated in Hessian calculation?
- Store indices in a mmapped file HOT 1
- Finding ASCs uses too much memory
- Why is there a precision problem in the Hessian test
- Why does the marked share error _increase_ in some iterations?
- are errors in second stage est handled right (I think they should be added to type shock)
- Multiple budget params
- Replace endogenous variables with patsy formulae
- Don't recompute constant part of utility in sorting HOT 1
- Use dask to compute utility HOT 1
- Multithreaded derivative calculation HOT 1
- Make sure exceptions in threads kill model fit
- Multidimensional derivative calculation
- Short circuit utility recomputation in sorting when there are no endogenous variables
- Endogenous variables cause supply/demand mismatch
- pytest doesn't work unless eqsormo is installed
- Use IIA property to calculate full Jacobian from diagonal HOT 1
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 eqsormo.