public class PatternSpikeGenerator extends Object implements Generator
baseline = 0
arrivalMean = ?
magnitudeMean = ?
returns [ 0, 0, 0, 0, 0, 0, 47, 15, 2, 1, 0, 0, ... ]
Configuration examples:
| Constructor and Description |
|---|
PatternSpikeGenerator(double baseline,
org.apache.pinot.tools.data.generator.PatternSpikeGenerator.DistributionType arrivalType,
double arrivalMean,
double arrivalSigma,
org.apache.pinot.tools.data.generator.PatternSpikeGenerator.DistributionType magnitudeType,
double magnitudeMean,
double magnitudeSigma,
double smoothing,
int seed) |
PatternSpikeGenerator(Map<String,Object> templateConfig) |
public PatternSpikeGenerator(double baseline,
org.apache.pinot.tools.data.generator.PatternSpikeGenerator.DistributionType arrivalType,
double arrivalMean,
double arrivalSigma,
org.apache.pinot.tools.data.generator.PatternSpikeGenerator.DistributionType magnitudeType,
double magnitudeMean,
double magnitudeSigma,
double smoothing,
int seed)
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.