Examples of Sampler


Examples of org.apache.jmeter.samplers.Sampler

        if (bshInterpreter == null) {
            log.error("BeanShell not found");
            return;
        }
        JMeterContext jmctx = JMeterContextService.getContext();
        Sampler sam = jmctx.getCurrentSampler();
        try {
            // Add variables for access to context and variables
            bshInterpreter.set("sampler", sam);//$NON-NLS-1$
            processFileOrScript(bshInterpreter);
        } catch (JMeterException e) {
View Full Code Here

Examples of org.apache.lucene.facet.sampling.Sampler

    sampleParams.setSamplingThreshold(100);
    sampleParams.setOversampleFactor(1.0d);
    if (random().nextBoolean()) {
      sampleParams.setSampleFixer(new TakmiSampleFixer(indexReader, taxoReader, fsp));
    }
    final Sampler sampler = new RandomSampler(sampleParams, random());
   
    TaxonomyFacetsAccumulator[] accumulators = new TaxonomyFacetsAccumulator[] {
      new TaxonomyFacetsAccumulator(fsp, indexReader, taxoReader),
      new OldFacetsAccumulator(fsp, indexReader, taxoReader),
      new SamplingAccumulator(sampler, fsp, indexReader, taxoReader),
View Full Code Here

Examples of org.apache.mahout.math.stats.Sampler

  public LDASampler(Matrix model, Random random) {
    this.random = random;
    samplers = new Sampler[model.numRows()];
    for(int i = 0; i < samplers.length; i++) {
      samplers[i] = new Sampler(random, model.viewRow(i));
    }
  }
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.search.expander.sampling.Sampler

      configPersist.setContinuousLearning(true);
      configPersist.setModelCreationTreshold(8000);
      configPersist.setContinueAfterCreation(false);
      configPersist.setSolveConceptDrift(false);
     
      Sampler s = new BucketSampler(0.01);
//      Sampler s = new StochasticUniversalSampler(9);
//      Sampler s = new RouletteWheelSampler(9);
//      Sampler s = new RandomSampler(9);
     
      return new BotFactory[] {
View Full Code Here

Examples of ptolemy.domains.de.lib.Sampler

        FIR fir = new FIR(this, "fir");
        fir.taps.setExpression("{0.7, 0.3}");

        Quantizer quan = new Quantizer(this, "Quantizer");
        Average accumulator = new Average(this, "accumulator");
        Sampler sampler = new Sampler(this, "sampler");
        Clock clk = new Clock(this, "ADClock");
        clk.offsets.setExpression("{0.0}");
        clk.period.setToken(new DoubleToken(1.0));
        clk.values.setExpression("{true}");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.