Package plm.logit.polyagamma

Examples of plm.logit.polyagamma.PolyaGammaLogitPLFilter


            new double[] {0d}), priorBetaCov.getMean());

    /*
     * Create and initialize the PL filter
     */
    final PolyaGammaLogitPLFilter plFilter =
        new PolyaGammaLogitPLFilter(rng, priorBeta, priorBetaCov);
    plFilter.setNumParticles(500);

    final DataDistribution<PolyaGammaLogitDistribution> currentMixtureDistribution =
        plFilter.createInitialLearnedObject();
    for (final ObservedValue observation : observations) {
      System.out.println("obs:" + observation);
      plFilter.update(currentMixtureDistribution, observation);

      /*
       * Compute some summary stats. TODO We need to compute something informative for this
       * situation.
       */
 
View Full Code Here

TOP

Related Classes of plm.logit.polyagamma.PolyaGammaLogitPLFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.