Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AnomalyDetection
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sören Henning
AnomalyDetection
Commits
175f10f5
Commit
175f10f5
authored
Jun 20, 2016
by
Sören Henning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes in configuration
parent
26aa60d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/main/java/anomalydetection/AnomalyDetectionConfiguration.java
.../java/anomalydetection/AnomalyDetectionConfiguration.java
+5
-3
No files found.
src/main/java/anomalydetection/AnomalyDetectionConfiguration.java
View file @
175f10f5
...
...
@@ -12,10 +12,12 @@ public class AnomalyDetectionConfiguration extends Configuration {
public
AnomalyDetectionConfiguration
()
{
// Create the stages
// final MeassurementsGeneratorStage generator = new MeassurementsGeneratorStage(x -> 500 * Math.sin(x / 240) + 2000, 250, 0.01, 1000, Duration.ofSeconds(1),
// 3600);
final
MeassurementsGeneratorStage
generator
=
new
MeassurementsGeneratorStage
(
x
->
500
*
Math
.
sin
(
x
/
60
)
+
2000
,
250
,
0.01
,
1000
,
Duration
.
ofSeconds
(
1
),
final
MeassurementsGeneratorStage
generator
=
new
MeassurementsGeneratorStage
(
x
->
500
*
Math
.
sin
(
x
/
240
)
+
2000
,
250
,
0.01
,
1000
,
Duration
.
ofSeconds
(
1
),
3600
);
// final MeassurementsGeneratorStage generator = new MeassurementsGeneratorStage(x -> 500 * Math.sin(x / 60) + 2000, 250, 0.01, 1000,
// Duration.ofSeconds(1),3600);
// final MeassurementsGeneratorStage generator = new MeassurementsGeneratorStage(x -> 500 * Math.pow(Math.sin(x / 60), 1 / 101) + 2000, 250, 0.01, 1000,
// Duration.ofSeconds(5), 3600);
// final MeassurementsGeneratorStage generator = new MeassurementsGeneratorStage(x -> 0.5 * x + 1000, 250, 0.01, 1000, Duration.ofSeconds(1),
// 900);
// final AnomalyDetectionStage anomalyDetector = new AnomalyDetectionStage(Duration.ofHours(1), Duration.ofSeconds(30), new MeanAggregator(), new
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment