Skip to content

Commit

Permalink
Merge pull request #22 from niva-sag/patch-5
Browse files Browse the repository at this point in the history
Update BasicAnomalyDetection.mon
  • Loading branch information
ck-c8y authored May 14, 2024
2 parents 26b9137 + 750943c commit 50a319a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions repository/blocks/BasicAnomalyDetection.mon
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using com.apama.util.AnyExtractor;


/** The parameters for the Anomaly Detection block. */
event AnomalyDetection_$Parameters{
event BasicAnomalyDetection_$Parameters{

/**
* Alpha (smoothing factor).
Expand All @@ -40,7 +40,7 @@ event AnomalyDetection_$Parameters{
}

/** State of the block.*/
event AnomalyDetection_$State{
event BasicAnomalyDetection_$State{
float lastValue;
float variance;
float mean;
Expand Down Expand Up @@ -68,7 +68,7 @@ event BasicAnomalyDetection {
BlockBase $base;

/** Parameters, filled in by the framework. */
AnomalyDetection_$Parameters $parameters;
BasicAnomalyDetection_$Parameters $parameters;

float alpha;
float numStdDevs;
Expand All @@ -83,7 +83,7 @@ event BasicAnomalyDetection {
* This action receives the input values and contains the logic of the block.
*
* It takes in 1 float which represents the signal value

*
* @param $activation The current activation, contextual information required when generating a block output. Blocks should only use the
* <tt>Activation</tt> object passed to them from the framework, never creating their own or holding on to an <tt>Activation</tt> object.
* @param $input_value input signal for anomaly detection.
Expand Down

0 comments on commit 50a319a

Please sign in to comment.