0

I have predicted the Alarm line using Linear Regression and it seems quite convincing. However, i need to output in discrete values(As shown in Screenshot) Screenshot Figure Description
Predicted Alarm : * Sky Blue*
Real Alarm : Green

My Approach

I have tried to smooth the signal using Moving Average(Simple exponential), and also tried to smooth the signal by using ggplot2, still could not achieve the requirement.

Tools Used

Knime and R studio

Question

1. Suggestion on alternate method to convert continuous output to discreet ?

Suggestion Appreciated!!

Danny
  • 94
  • 10

1 Answers1

1

Moving Average does not produce discrete values. You need to use a threshold system (like for example through a Rule Engine node in KNIME) or a binning system (like through one of the many Binner nodes in KNIME). I hope this helps.

Rosaria
  • 21
  • 3
  • Thanks Rosaria. I am trying to define rules to make it discrete , however difficult to conclude – Danny Mar 07 '16 at 23:28