Coder Social home page Coder Social logo

Comments (4)

lrberge avatar lrberge commented on July 23, 2024 1

Hi Luke, that's a very fair request!

Out of curiosity: do you happen to have variables with varying slopes in your estimation?

It's because the only situations I experienced in which the algorithm hit the iteration limit was when there were several variables with varying slopes. It's a known issue with a known fix (I still have to implement it though). Currently there's a warning in case of convergence problems but only in those situations.

As suggested, I'll add a warning in case of non-convergence and will also increase the number of iterations by default. (Actually I didn't implement it because I thought--more precisely hoped [no doubt too strongly]--that 2000 iterations would always be enough.)

from fixest.

clukewatson avatar clukewatson commented on July 23, 2024 1

Yes, I did (or at least this was the case that I noticed the issue).

Awesome. Do you want me to close the issue, or I can leave that up to you?

from fixest.

lrberge avatar lrberge commented on July 23, 2024

Thanks, I'll close it once I've made the changes in the code. In the meantime it serves me as a reminder.

from fixest.

lrberge avatar lrberge commented on July 23, 2024

I've added a warning and the message will also pop in the print to really signal the problem.
Since there's not point to be fast if the results are wrong :-D, I've also increased the default number of iterations to 10,000.
Thanks again!

from fixest.

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.