From 32aa3c19e3c37f84afdcc27bb2f00ede5c11c387 Mon Sep 17 00:00:00 2001 From: Axel Uhl Date: Tue, 19 Mar 2019 18:17:06 +0100 Subject: [PATCH] source code formatting only Change-Id: I9302e6d9961b0dcac2c63a2a3516277823145b14 --- .../DurationBasedTwdTransitionRegressorModelContext.java | 6 ++++-- wiki/howto/windestimation.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/model/regressor/twdtransition/DurationBasedTwdTransitionRegressorModelContext.java b/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/model/regressor/twdtransition/DurationBasedTwdTransitionRegressorModelContext.java index 471adb5e366..b9bde1d32eb 100644 --- a/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/model/regressor/twdtransition/DurationBasedTwdTransitionRegressorModelContext.java +++ b/java/com.sap.sailing.windestimation/src/com/sap/sailing/windestimation/model/regressor/twdtransition/DurationBasedTwdTransitionRegressorModelContext.java @@ -43,8 +43,10 @@ public final class DurationBasedTwdTransitionRegressorModelContext * */ public enum DurationValueRange { - BEGINNING(0, 1, 1, false), MIDDLE1(1, 140, SupportedDimensionValueRange.SQUARE_ROOT_AS_POLYNOMIAL_DEGREE, - true), MIDDLE2(140, 5394, 1, true), REMAINDER(5394, SupportedDimensionValueRange.MAX_VALUE, 1, true); + BEGINNING(0, 1, 1, false), + MIDDLE1(1, 140, SupportedDimensionValueRange.SQUARE_ROOT_AS_POLYNOMIAL_DEGREE, true), + MIDDLE2(140, 5394, 1, true), + REMAINDER(5394, SupportedDimensionValueRange.MAX_VALUE, 1, true); private final SupportedDimensionValueRange supportedDimensionValueRange; diff --git a/wiki/howto/windestimation.md b/wiki/howto/windestimation.md index a6aaf3bc827..b36c8b5d522 100644 --- a/wiki/howto/windestimation.md +++ b/wiki/howto/windestimation.md @@ -20,7 +20,7 @@ To complete the training process successfully, you need to make sure that you ha ![Screenshot of graphical info dialog requesting to perform data cleansing for duration dimension](../images/windestimation/dialogRequestingDataCleansingForDurationDimension.jpg "Screenshot of graphical info dialog requesting to perform data cleansing for duration dimension") Press OK. Afterwards, a graphical window must open with two charts. The top chart is an XY-chart where the x-axis represents **seconds** and the y-axis represents various TWD delta-based measures (e.g. standard deviation or mean). Below the XY-chart, a histogram for the data points of the XY-chart is provided. You can zoom-in and zoom-out in each of the charts by mouse dragging. Be aware that currently the zoom level of both charts is not synchronizing. ![Screenshot of graphical wind data visualization tool for duration dimension](../images/windestimation/aggregatedDurationBasedTwdDeltaTransitionBeforeDataCleansing.jpg "Screenshot of duration-based TWD delta visualization tool before data cleansing") -3. Open your graphical MongoDB client and connect to ``windEstimation`` database hosted within your local MongoDB. Open the collection with name ``aggregatedDurationTwdTransition``. Within the collection, you will see all the instances/data points visualized in the previous step. The attribute used for the x-axis is ``value``. Its corresponding metrics plotted in y-axis are the other attributes. ``std`` represents standard deviation (``Sigma`` curve in XY-chart) and ``std0`` represents standard deviation with zero as mean value (``Zero mean sigma`` curve in XY-chart). +3. Open your graphical MongoDB client and connect to the ``windEstimation`` database hosted within your local MongoDB. Open the collection named ``aggregatedDurationTwdTransition``. Within the collection you will see all the instances/data points visualized in the previous step. The attribute used for the x-axis is ``value``. Its corresponding metrics plotted in y-axis are the other attributes. ``std`` represents standard deviation (``Sigma`` curve in XY-chart) and ``std0`` represents standard deviation with zero as mean value (``Zero mean sigma`` curve in XY-chart). ![Screenshot of MongoDB Compass with opened aggregatedDurationTwdTransition collection](../images/windestimation/mongoDbCompassWithOpenedAggregatedDurationTwdTransitionCollection.jpg "Screenshot of MongoDB Compass with opened aggregatedDurationTwdTransition collection") 4. Delete all the instances within the collection which do not make sense. For this, use the data visualization tool from step 2 to identify such instances. Some of the instances are not representative due to the small number of supporting instances which is visualized in the histogram. Such instances can produce unreasonable bumps in the XY-chart. The desired output of this step is that the curve ``Zero mean sigma`` looks smooth and always growing, e.g. as depicted below: ![Screenshot of graphical visualization tool of duration dimension after data cleansing](../images/windestimation/aggregatedDurationBasedTwdDeltaTransitionAfterDataCleansing.jpg "Screenshot of duration-based TWD delta visualization tool after data cleansing")