Comments (4)
That's because LivPrb and PermGroFac are time-varying, so they need to be
lists at the top level (before being input to the solver for one period).
On Tue, Sep 27, 2016 at 8:46 PM, dclow [email protected] wrote:
MarkovConsumerType could use more checking of its inputs. It can get very
weird error message if it receives inputs that are just slightly different
than what they should be.For example, I wasted a lot of time with an infinite horizon version
before I figured out that PermGroFac and LivPrb should be lists (of length
1, whose only element is a np.array), but Rfree should just be a numpy
array. Also, those arrays should be of shape (N,), where N is the number of
Markov states. Using an array of shape (N,1) also produced a very obscure
error messageI imagine putting in checks at the beginning to verify that inputs are the
right types and shapes could save a lot of people some of the hassle I went
through—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#83, or mute the thread
https://github.com/notifications/unsubscribe-auth/ANUQFbeQcVNLEg3EyNOnSgK0ZNL147dSks5qubj2gaJpZM4KIThx
.
from hark.
Just issued a PR to do this. If the PR gets merged (maybe after dealing with issues you find), we can close this issue.
from hark.
I will tackle these PRs this weekend. I also plan to prepare a rather
large PR with the new simulation regime.
On Wed, Oct 12, 2016 at 3:11 PM, dclow [email protected] wrote:
Just issued a PR to do this. If the PR gets merged (maybe after dealing
with issues you find), we can close this issue.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#83 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANUQFSJ_HyXVscZeFcOtQxHeLLKvU2Oxks5qzTDWgaJpZM4KIThx
.
from hark.
The PR that addressed this was merged back in October; closing.
from hark.
Related Issues (20)
- Code for DiscreteDistribution HOT 6
- API for parameters does not take np.array type HOT 14
- black formatting HOT 3
- Distributions for start-of-period states
- mystery windows bug 1/4/2023 HOT 2
- Discretize Method for Discrete Distributions.
- Endpoints for DiscreteDistribution HOT 1
- Faster testing (at least locally)
- Lognormal equiprobable discretization HOT 2
- ConsIndShock with continuous bounds of support
- Serializing HARK Solutions for export/import
- substantive stochastic tests HOT 1
- API documentation not showing up on the site HOT 10
- Edits to example notebook "GenIncProcessModel" HOT 2
- no RTD page for rewards module
- Docs problem
- Edit down ARKitecture docs
- Consistent API for DiscreteDistribution and subclasses (like DiscreteDistributionLabeled)
- RTD Search not working...
- RiskyAssetConsumerType(T_cycle=n) error 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 hark.