Giter VIP home page Giter VIP logo

multieqoptimizer's People

Contributors

taalbrecht avatar

Watchers

 avatar  avatar

multieqoptimizer's Issues

Speed up determinant calculations

Ways to speed up determinant calculations:

Discrete choice:

  1. Pass all candidate points to calculation at once and perform updates per the row being modified instead of recalculating the whole matrix each time

Optimizer feature by varying weights

Consider adding optimizer search feature that increases d-efficiencies by slightly varying weights for each formula away from target weights to cause design to escape local minima. "Vibrate" the design out of a local optimal point. A few preliminary tests seem to indicate that this may, in fact, be beneficial. Also consider altering gibbs and federov sampling.

Error during optimization when information matrix is degenerate

The optimizer will crash with the following error when a design matrix is encountered that produces a degenerate matrix. Somewhere in the determinant calculator for the choice model, this must produce an issue. Find error and catch to make sure it simply returns a determinant of zero instead to prevent the crash.

Error in if (obj_temp < obj_current) { :
missing value where TRUE/FALSE needed

Randomize search order

May want to randomize search order for federov and gibbs sampler since they now make movements if there is simply no loss in efficiency. This can result in the design getting "stuck" on the last few rows of the candidate set or on the edge of the design space.

Label prior vector

Change code to require labeling of prior vector effects with variable name to ensure that the proper prior is applied even if the R code reorders factors levels and/or variable orders when the model matrix is created

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.