public class RegressionAlgorithm extends AbstractThroughputAlgorithm
INVALID_SCORE, window
Constructor and Description |
---|
RegressionAlgorithm(TaskFarmConfiguration<?,?,?> configuration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
doAnalysis(ThroughputHistory history)
Calculates a prediction for the most recent ThroughputEntry by means
of the last "window" entries.
|
getTroughputAnalysis
public RegressionAlgorithm(TaskFarmConfiguration<?,?,?> configuration)
configuration
- TaskFarmConfiguration of the Task Farm which
this algorithm is used forprotected double doAnalysis(ThroughputHistory history)
AbstractThroughputAlgorithm
doAnalysis
in class AbstractThroughputAlgorithm
history
- measured throughput values + timestampsCopyright © 2015–2020. All rights reserved.