Package plm.clustering

Examples of plm.clustering.MvGaussianDPPLFilter


    final List<MultivariateGaussian> priorComponents = Lists.newArrayList();

    /*
     * Create and initialize the PL filter
     */
    final MvGaussianDPPLFilter plFilter =
        new MvGaussianDPPLFilter(priorComponents, centeringPrior, dpAlphaPrior, nCountsPrior, rng);
    plFilter.setNumParticles(500);

    final DataDistribution<MvGaussianDPDistribution> currentMixtureDistribution =
        plFilter.createInitialLearnedObject();
    for (final Vector 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.clustering.MvGaussianDPPLFilter

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.