Hi Pranavan,

Please find the answers inline,

On Fri, May 1, 2015 at 12:49 AM, Pranavan Theivendiram <
pranavan...@cse.mrt.ac.lk> wrote:

> Hi Lahiru,
>
> After going through the moving average mechanisms, I found that it has two
> main categories which are
>  1. Simple moving average
>  2. Exponential moving average
> Simple moving average means as the name implies it simply calculate the
> moving average without considering the time of the forecast but in the
> exponential moving average mechanism, it consider about the time of the
> forecast so that it adds a weight to the forecast before calculating it.
> AFAIK in the autoscaler, all the data are equally important so that we can
> go with the simple moving average mechanism. Please correct me if I am
> wrong.
>

IMO exponential moving average suites better here. It is better to weight
the latest values rather than giveing same weight to old data.

> During the study I also understood main purpose of the moving average
> mechanism is to remove the noises in the data. So that I think, if we can
> combine both moving average and curve fitting mechanisms to improve the
> autoscaler prediction., i.e after calculating the moving average values, by
> using those values we can calculate possible equation for those values
> using curve fitting.
>
>
Yes. Finding the curve after smoothing with exponentially weighted moving
average would be good. [1] is explaining something similar.

Thanks.

[1]
http://stats.stackexchange.com/questions/9931/exponentially-weighted-moving-linear-regression

> Is it possible to do remote debugging on Apache startos, so that I can
> understand the work flow? If so can you help me on how to do that.
>
> Thanks
>
> *T. Pranavan*
> *BSc Eng Undergraduate| Department of Computer Science & Engineering
> ,University of Moratuwa*
> *Mobile| *0775136836
>
> On 30 April 2015 at 07:30, Pranavan Theivendiram <
> pranavan...@cse.mrt.ac.lk> wrote:
>
>> Hi Lahiru,
>>
>> I am looking into it.
>>
>> *T. Pranavan*
>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>> ,University of Moratuwa*
>> *Mobile| *0775136836
>>
>> On 29 April 2015 at 14:07, Lahiru Sandaruwan <lahi...@wso2.com> wrote:
>>
>>>
>>>
>>> On Tue, Apr 28, 2015 at 8:30 AM, Lahiru Sandaruwan <lahi...@wso2.com>
>>> wrote:
>>>
>>>> Great.
>>>>
>>>> In this project, most important part is finishing the research part.
>>>>
>>>>
>>>>    1. Decide on which prediction algorithm should be used
>>>>
>>>> Look into moving average forecasting mechanisms. I remember Sheshika
>>> from CEP team suggesting this. We need to decide on the algorithm ASAP and
>>> move on.
>>>
>>> Thanks.
>>>
>>>>
>>>>    1. Decide which libraries should be used(whether we go with CEP
>>>>    4.0.0 or write custom window processors etc).
>>>>
>>>> Let's start with algorithm. We can select an algorithm and change later
>>>> if we found that we can improve.
>>>>
>>>> Thaks.
>>>>
>>>> On Tue, Apr 28, 2015 at 7:22 AM, Pranavan Theivendiram <
>>>> pranavan...@cse.mrt.ac.lk> wrote:
>>>>
>>>>> Hi Lahiru and Raj,
>>>>>
>>>>> I have got selected. Thanks for your immense support and advice. I am
>>>>> going to work on it as per the time schedule that I have planned.
>>>>>
>>>>> *T. Pranavan*
>>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>>>> ,University of Moratuwa*
>>>>> *Mobile| *0775136836
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> phone: +94773325954
>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to