Package common

Examples of common.FragmentPartitionPrior


    output += "burn-in="+warmupStep+", draws="+numberOfDraws+"\n";
    //define partition prior
//    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(0.5,3);//seems good
    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(power,powerCoefficient);
    //define partition prior
    FragmentPartitionPrior fragPrior = new FragmentPartitionPrior(fragmentPenalty);
    //define tuning distribution
    RandomGenerator rg = new Well44497b();
    RandomDataImpl rng = new RandomDataImpl(rg);
    common.TuningDistribution tuningDistribution = new PoissonTuningDistribution(rng,poisson);
    //initial jumping weights
View Full Code Here


    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(1,90);
    //define size penalty
    SizePenalty sizePenalty = new LinearSizePenalty(0);
    //define partition prior
//    PartitionPrior partitionPrior = new DistPartitionPrior(locs,3,fragmentPenalty,sizePenalty);
    PartitionPrior fragPrior = new FragmentPartitionPrior(fragmentPenalty);
    //define tuning distribution
    RandomGenerator rg = new Well44497b();
    RandomDataImpl rng = new RandomDataImpl(rg);
    TuningDistribution tuningDistribution = new PoissonTuningDistribution(rng,1);
    //initial jumping weights
View Full Code Here

    output += "burn-in="+warmupStep+", draws="+numberOfDraws+"\n";
    //define partition prior
//    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(0.5,3);//seems good
    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(power,powerCoefficient);
    //define partition prior
    FragmentPartitionPrior fragPrior = new FragmentPartitionPrior(fragmentPenalty);
    //define tuning distribution
    RandomGenerator rg = new Well44497b();
    RandomDataImpl rng = new RandomDataImpl(rg);
    common.TuningDistribution tuningDistribution = new PoissonTuningDistribution(rng,poisson);
    //initial jumping weights
View Full Code Here

TOP

Related Classes of common.FragmentPartitionPrior

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.