Code Monkey home page Code Monkey logo

Comments (5)

mnwhite avatar mnwhite commented on May 14, 2024

Did I have cubic interpolation in my version? I know there was a bit of new
math required, and I vaguely remember testing it... but I can't remember
including it or not.

 -- mnw

On Apr 21, 2016 8:57 AM, "dclow" [email protected] wrote:

Already found one bug in DCL-dev-1... the Markov solver uses linear
interpolation even when it is supposed to use cubic. I'm working on this
now.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#32

from hark.

dclow avatar dclow commented on May 14, 2024

You did. I think I can get to the point where the new version returns the same answer as the old version, if told to use cubic splines. But if we aren't sure that's the correct answer I might not invest a huge amount of time in it... let's see how hard this turns out to be

from hark.

dclow avatar dclow commented on May 14, 2024

For what it's worth, the reason I didn't find this bug until now was I had set a_size to be much bigger (48), and so the (linear) interpolation results from the new version and the (cubic) results from the old version appeared identical. So that at least is an encouraging sign that the cubic results are right

from hark.

mnwhite avatar mnwhite commented on May 14, 2024

I'm pretty sure it's correct, from comparing the results of the linear and
cubic solvers of the same problem, examining behavior near the lower bound
of m (zero, in all cases I worked with), and comparing the results to the
TractableBufferStock model. We still need to fix the problem with gothic_h
in infinite horizon models, but that also applies to non-Markov models.

 -- mnw

On Thu, Apr 21, 2016 at 9:11 AM, dclow [email protected] wrote:

You did. I think I can get to the point where the new version returns the
same answer as the old version, if told to use cubic splines. But if we
aren't sure that's the correct answer I might not invest a huge amount of
time in it... let's see how hard this turns out to be


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#32 (comment)

from hark.

mnwhite avatar mnwhite commented on May 14, 2024

The Markov solver is now working correctly after MNW-dev-3 merge. Still requires OOP refactoring based on newest DCL-dev-1 commits, but this might be tricky.

from hark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.