Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-06 Thread Dinali Dabarera
Ok. I just changed them to console.logs() instead of alerts hoping that it
would be better than alerts.

On Mon, Mar 7, 2016 at 9:29 AM, Kavith Lokuhewage  wrote:

> Ok. Just one small suggestion - it would be better if we can use bootstrap
> alerts instead of pure js alert popups to display these messages - if these
> errors will be there in future as well and is meant to be displayed to the
> user. Otherwise we can simply ignore the alert popup.
>
> Thanks,
>
> On Sun, Mar 6, 2016 at 10:48 PM, Dinali Dabarera  wrote:
>
>> Hi Kavith,
>>
>> That happens when CEP side data doesn't rendered properly.
>> I am now working on the increasing the  performance of the servers by
>> removing unnecessary data. (data increases with time,Therefore It slows)
>>
>> Thanks!
>>
>> On Mon, Mar 7, 2016 at 3:22 AM, Kavith Lokuhewage 
>> wrote:
>>
>>> Hi Dinali,
>>>
>>> I viewed the dashboard and kept that browser tab idle for sometime
>>> (around 30 minutes) and suddenly some HTML alert popups were triggered for
>>> that tab. Only description I could see was "error". Three similar popups
>>> were shown one by one after each one was closed.
>>>
>>> Thanks,
>>>
>>> On Fri, Mar 4, 2016 at 6:28 AM, Dinali Dabarera  wrote:
>>>
 Hi Tharik,

 Thats true. Yasara is fixing that.
 Thank you for showing us defects, this is our main goal of test run.

 On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka  wrote:

> Hi Dinali,
>
> I am talking about line chart where Trump is shown in blue colour. If
> you are not going to use blue or red, still it has to be fixed before go
> live, isn't it?
>
> Regards,
>
> On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera 
> wrote:
>
>> Hi,
>> @ Nirmal,
>> It was a script scheduling problem. I fixed it.
>>
>> @Tharik
>> US Parties have only two colors red or blue. So Its hard to figure
>> out to whom this tweep tweets for most. As we want to show a clear 
>> picture
>> on how tweeps relates each other with the candidates who are in for the
>> election(who still remains in the battle) and also we are advised not to
>> take dark blue or red in our UI in our previous meeting as we are not 
>> bias
>> for any of the parties.
>>
>>
>> Thanks.
>>
>> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka 
>> wrote:
>>
>>> Hi All,
>>>
>>> It would be great if we consider about political party colors of the
>>> candidates. As an example in the line chart Trump is shown in blue color
>>> but it has to be red color as he is a Republican. Candidates from same
>>> party can be shown in different shade of same color.
>>>
>>> Regards,
>>>
>>>
>>> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando 
>>> wrote:
>>>
 Hilary Clinton isn't listed as a top tweep, but the community graph
 suggests otherwise.

 On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera 
 wrote:

> Feedback I gave is not included!
>
> Too much room between most popular links.
> When we show tweets, make the text and tweet account names same
> size ( like twitter does)
>
> Look good otherwise.
>
> --Srinath
>
> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
> wrote:
>
>> Hi everyone,
>>
>>
>> This is the latest update on US Election 2016 Analytic Dashboard.
>> This is  running @
>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until
>> this hosts.
>>
>> Thank you!
>>
>>
>>
>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake <
>> yas...@wso2.com> wrote:
>>
>>> hi ,
>>> adding Chehara
>>>
>>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera <
>>> srin...@wso2.com> wrote:
>>>
 We can. It will be our twitter toolbox.

 --Srinath

 On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana <
 sach...@wso2.com> wrote:

> Hi Srinath and all,
>
> I'm just wondering, can't we make this a generic tool/product
> to analyze and visualize twitter data.
>
> Ex: User provides us with some keywords and our tool does the
> analyzing/visualizing. The user can add more functionality if 
> required (
> customization)
>
> Thanks,
> Sachith
>
> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Update,
>>
>>1. Added assigned colors for candidate backgrounds as
>>suggested.
>>2. With Yasara's input on News

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-06 Thread Kavith Lokuhewage
Ok. Just one small suggestion - it would be better if we can use bootstrap
alerts instead of pure js alert popups to display these messages - if these
errors will be there in future as well and is meant to be displayed to the
user. Otherwise we can simply ignore the alert popup.

Thanks,

On Sun, Mar 6, 2016 at 10:48 PM, Dinali Dabarera  wrote:

> Hi Kavith,
>
> That happens when CEP side data doesn't rendered properly.
> I am now working on the increasing the  performance of the servers by
> removing unnecessary data. (data increases with time,Therefore It slows)
>
> Thanks!
>
> On Mon, Mar 7, 2016 at 3:22 AM, Kavith Lokuhewage  wrote:
>
>> Hi Dinali,
>>
>> I viewed the dashboard and kept that browser tab idle for sometime
>> (around 30 minutes) and suddenly some HTML alert popups were triggered for
>> that tab. Only description I could see was "error". Three similar popups
>> were shown one by one after each one was closed.
>>
>> Thanks,
>>
>> On Fri, Mar 4, 2016 at 6:28 AM, Dinali Dabarera  wrote:
>>
>>> Hi Tharik,
>>>
>>> Thats true. Yasara is fixing that.
>>> Thank you for showing us defects, this is our main goal of test run.
>>>
>>> On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka  wrote:
>>>
 Hi Dinali,

 I am talking about line chart where Trump is shown in blue colour. If
 you are not going to use blue or red, still it has to be fixed before go
 live, isn't it?

 Regards,

 On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera 
 wrote:

> Hi,
> @ Nirmal,
> It was a script scheduling problem. I fixed it.
>
> @Tharik
> US Parties have only two colors red or blue. So Its hard to figure out
> to whom this tweep tweets for most. As we want to show a clear picture on
> how tweeps relates each other with the candidates who are in for the
> election(who still remains in the battle) and also we are advised not to
> take dark blue or red in our UI in our previous meeting as we are not bias
> for any of the parties.
>
>
> Thanks.
>
> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> It would be great if we consider about political party colors of the
>> candidates. As an example in the line chart Trump is shown in blue color
>> but it has to be red color as he is a Republican. Candidates from same
>> party can be shown in different shade of same color.
>>
>> Regards,
>>
>>
>> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando 
>> wrote:
>>
>>> Hilary Clinton isn't listed as a top tweep, but the community graph
>>> suggests otherwise.
>>>
>>> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera 
>>> wrote:
>>>
 Feedback I gave is not included!

 Too much room between most popular links.
 When we show tweets, make the text and tweet account names same
 size ( like twitter does)

 Look good otherwise.

 --Srinath

 On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
 wrote:

> Hi everyone,
>
>
> This is the latest update on US Election 2016 Analytic Dashboard.
> This is  running @
> https://52.77.25.83:9453/twitter-analyticsV3/index.html until
> this hosts.
>
> Thank you!
>
>
>
> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake <
> yas...@wso2.com> wrote:
>
>> hi ,
>> adding Chehara
>>
>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera > > wrote:
>>
>>> We can. It will be our twitter toolbox.
>>>
>>> --Srinath
>>>
>>> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana <
>>> sach...@wso2.com> wrote:
>>>
 Hi Srinath and all,

 I'm just wondering, can't we make this a generic tool/product
 to analyze and visualize twitter data.

 Ex: User provides us with some keywords and our tool does the
 analyzing/visualizing. The user can add more functionality if 
 required (
 customization)

 Thanks,
 Sachith

 On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
 thusi...@wso2.com> wrote:

> Update,
>
>1. Added assigned colors for candidate backgrounds as
>suggested.
>2. With Yasara's input on News tab, moved next to the
>Sentiment Analysis Graph.
>
>  Please visit http://thusithak.github.io/twitter-analytics/ to
> view changes.
>
> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Hi Yudhanjaya,

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-06 Thread Dinali Dabarera
Hi Kavith,

That happens when CEP side data doesn't rendered properly.
I am now working on the increasing the  performance of the servers by
removing unnecessary data. (data increases with time,Therefore It slows)

Thanks!

On Mon, Mar 7, 2016 at 3:22 AM, Kavith Lokuhewage  wrote:

> Hi Dinali,
>
> I viewed the dashboard and kept that browser tab idle for sometime (around
> 30 minutes) and suddenly some HTML alert popups were triggered for that
> tab. Only description I could see was "error". Three similar popups were
> shown one by one after each one was closed.
>
> Thanks,
>
> On Fri, Mar 4, 2016 at 6:28 AM, Dinali Dabarera  wrote:
>
>> Hi Tharik,
>>
>> Thats true. Yasara is fixing that.
>> Thank you for showing us defects, this is our main goal of test run.
>>
>> On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka  wrote:
>>
>>> Hi Dinali,
>>>
>>> I am talking about line chart where Trump is shown in blue colour. If
>>> you are not going to use blue or red, still it has to be fixed before go
>>> live, isn't it?
>>>
>>> Regards,
>>>
>>> On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera  wrote:
>>>
 Hi,
 @ Nirmal,
 It was a script scheduling problem. I fixed it.

 @Tharik
 US Parties have only two colors red or blue. So Its hard to figure out
 to whom this tweep tweets for most. As we want to show a clear picture on
 how tweeps relates each other with the candidates who are in for the
 election(who still remains in the battle) and also we are advised not to
 take dark blue or red in our UI in our previous meeting as we are not bias
 for any of the parties.


 Thanks.

 On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:

> Hi All,
>
> It would be great if we consider about political party colors of the
> candidates. As an example in the line chart Trump is shown in blue color
> but it has to be red color as he is a Republican. Candidates from same
> party can be shown in different shade of same color.
>
> Regards,
>
>
> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando 
> wrote:
>
>> Hilary Clinton isn't listed as a top tweep, but the community graph
>> suggests otherwise.
>>
>> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera 
>> wrote:
>>
>>> Feedback I gave is not included!
>>>
>>> Too much room between most popular links.
>>> When we show tweets, make the text and tweet account names same size
>>> ( like twitter does)
>>>
>>> Look good otherwise.
>>>
>>> --Srinath
>>>
>>> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
>>> wrote:
>>>
 Hi everyone,


 This is the latest update on US Election 2016 Analytic Dashboard.
 This is  running @
 https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
 hosts.

 Thank you!



 On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake <
 yas...@wso2.com> wrote:

> hi ,
> adding Chehara
>
> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
> wrote:
>
>> We can. It will be our twitter toolbox.
>>
>> --Srinath
>>
>> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana <
>> sach...@wso2.com> wrote:
>>
>>> Hi Srinath and all,
>>>
>>> I'm just wondering, can't we make this a generic tool/product to
>>> analyze and visualize twitter data.
>>>
>>> Ex: User provides us with some keywords and our tool does the
>>> analyzing/visualizing. The user can add more functionality if 
>>> required (
>>> customization)
>>>
>>> Thanks,
>>> Sachith
>>>
>>> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
>>> thusi...@wso2.com> wrote:
>>>
 Update,

1. Added assigned colors for candidate backgrounds as
suggested.
2. With Yasara's input on News tab, moved next to the
Sentiment Analysis Graph.

  Please visit http://thusithak.github.io/twitter-analytics/ to
 view changes.

 On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
 thusi...@wso2.com> wrote:

> Hi Yudhanjaya,
>
> 1) Yes we could, but since the Image is appended dynamically I
> used the same property to create its background,
> If we are to use a color, we would have to parse a color
> property as well. @Dinali shall we do that?
>
> 2) Yes, Already added three tabs to ticker and moved "News" as
> one of three tabs in the second row [1]
> 
>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-06 Thread Kavith Lokuhewage
Hi Dinali,

I viewed the dashboard and kept that browser tab idle for sometime (around
30 minutes) and suddenly some HTML alert popups were triggered for that
tab. Only description I could see was "error". Three similar popups were
shown one by one after each one was closed.

Thanks,

On Fri, Mar 4, 2016 at 6:28 AM, Dinali Dabarera  wrote:

> Hi Tharik,
>
> Thats true. Yasara is fixing that.
> Thank you for showing us defects, this is our main goal of test run.
>
> On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka  wrote:
>
>> Hi Dinali,
>>
>> I am talking about line chart where Trump is shown in blue colour. If
>> you are not going to use blue or red, still it has to be fixed before go
>> live, isn't it?
>>
>> Regards,
>>
>> On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera  wrote:
>>
>>> Hi,
>>> @ Nirmal,
>>> It was a script scheduling problem. I fixed it.
>>>
>>> @Tharik
>>> US Parties have only two colors red or blue. So Its hard to figure out
>>> to whom this tweep tweets for most. As we want to show a clear picture on
>>> how tweeps relates each other with the candidates who are in for the
>>> election(who still remains in the battle) and also we are advised not to
>>> take dark blue or red in our UI in our previous meeting as we are not bias
>>> for any of the parties.
>>>
>>>
>>> Thanks.
>>>
>>> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:
>>>
 Hi All,

 It would be great if we consider about political party colors of the
 candidates. As an example in the line chart Trump is shown in blue color
 but it has to be red color as he is a Republican. Candidates from same
 party can be shown in different shade of same color.

 Regards,


 On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando 
 wrote:

> Hilary Clinton isn't listed as a top tweep, but the community graph
> suggests otherwise.
>
> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera 
> wrote:
>
>> Feedback I gave is not included!
>>
>> Too much room between most popular links.
>> When we show tweets, make the text and tweet account names same size
>> ( like twitter does)
>>
>> Look good otherwise.
>>
>> --Srinath
>>
>> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
>> wrote:
>>
>>> Hi everyone,
>>>
>>>
>>> This is the latest update on US Election 2016 Analytic Dashboard.
>>> This is  running @
>>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
>>> hosts.
>>>
>>> Thank you!
>>>
>>>
>>>
>>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake >> > wrote:
>>>
 hi ,
 adding Chehara

 On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
 wrote:

> We can. It will be our twitter toolbox.
>
> --Srinath
>
> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana  > wrote:
>
>> Hi Srinath and all,
>>
>> I'm just wondering, can't we make this a generic tool/product to
>> analyze and visualize twitter data.
>>
>> Ex: User provides us with some keywords and our tool does the
>> analyzing/visualizing. The user can add more functionality if 
>> required (
>> customization)
>>
>> Thanks,
>> Sachith
>>
>> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
>> thusi...@wso2.com> wrote:
>>
>>> Update,
>>>
>>>1. Added assigned colors for candidate backgrounds as
>>>suggested.
>>>2. With Yasara's input on News tab, moved next to the
>>>Sentiment Analysis Graph.
>>>
>>>  Please visit http://thusithak.github.io/twitter-analytics/ to
>>> view changes.
>>>
>>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
>>> thusi...@wso2.com> wrote:
>>>
 Hi Yudhanjaya,

 1) Yes we could, but since the Image is appended dynamically I
 used the same property to create its background,
 If we are to use a color, we would have to parse a color
 property as well. @Dinali shall we do that?

 2) Yes, Already added three tabs to ticker and moved "News" as
 one of three tabs in the second row [1]
 

 [1] http://thusithak.github.io/twitter-analytics/

 Regards,

 On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Thanks Thusitha for the design. That looks clean!
> Small critique:
> 1) instead of having the candidate's image stretched out for
> the background in his profile square, can we use the color we 

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Dinali Dabarera
Hi Tharik,

Thats true. Yasara is fixing that.
Thank you for showing us defects, this is our main goal of test run.

On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka  wrote:

> Hi Dinali,
>
> I am talking about line chart where Trump is shown in blue colour. If you
> are not going to use blue or red, still it has to be fixed before go live,
> isn't it?
>
> Regards,
>
> On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera  wrote:
>
>> Hi,
>> @ Nirmal,
>> It was a script scheduling problem. I fixed it.
>>
>> @Tharik
>> US Parties have only two colors red or blue. So Its hard to figure out to
>> whom this tweep tweets for most. As we want to show a clear picture on how
>> tweeps relates each other with the candidates who are in for the
>> election(who still remains in the battle) and also we are advised not to
>> take dark blue or red in our UI in our previous meeting as we are not bias
>> for any of the parties.
>>
>>
>> Thanks.
>>
>> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:
>>
>>> Hi All,
>>>
>>> It would be great if we consider about political party colors of the
>>> candidates. As an example in the line chart Trump is shown in blue color
>>> but it has to be red color as he is a Republican. Candidates from same
>>> party can be shown in different shade of same color.
>>>
>>> Regards,
>>>
>>>
>>> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando  wrote:
>>>
 Hilary Clinton isn't listed as a top tweep, but the community graph
 suggests otherwise.

 On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera 
 wrote:

> Feedback I gave is not included!
>
> Too much room between most popular links.
> When we show tweets, make the text and tweet account names same size (
> like twitter does)
>
> Look good otherwise.
>
> --Srinath
>
> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
> wrote:
>
>> Hi everyone,
>>
>>
>> This is the latest update on US Election 2016 Analytic Dashboard.
>> This is  running @
>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
>> hosts.
>>
>> Thank you!
>>
>>
>>
>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
>> wrote:
>>
>>> hi ,
>>> adding Chehara
>>>
>>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
>>> wrote:
>>>
 We can. It will be our twitter toolbox.

 --Srinath

 On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
 wrote:

> Hi Srinath and all,
>
> I'm just wondering, can't we make this a generic tool/product to
> analyze and visualize twitter data.
>
> Ex: User provides us with some keywords and our tool does the
> analyzing/visualizing. The user can add more functionality if 
> required (
> customization)
>
> Thanks,
> Sachith
>
> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Update,
>>
>>1. Added assigned colors for candidate backgrounds as
>>suggested.
>>2. With Yasara's input on News tab, moved next to the
>>Sentiment Analysis Graph.
>>
>>  Please visit http://thusithak.github.io/twitter-analytics/ to
>> view changes.
>>
>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
>> thusi...@wso2.com> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> 1) Yes we could, but since the Image is appended dynamically I
>>> used the same property to create its background,
>>> If we are to use a color, we would have to parse a color
>>> property as well. @Dinali shall we do that?
>>>
>>> 2) Yes, Already added three tabs to ticker and moved "News" as
>>> one of three tabs in the second row [1]
>>> 
>>>
>>> [1] http://thusithak.github.io/twitter-analytics/
>>>
>>> Regards,
>>>
>>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Thanks Thusitha for the design. That looks clean!
 Small critique:
 1) instead of having the candidate's image stretched out for
 the background in his profile square, can we use the color we use 
 to
 represent him in the community graph?
 2) Is it possible to have an 'article ticker' before the
 sentiment analysis box? We can feed the headlines in there.

 Best,
 Yudha

 On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
 thusi...@wso2.com> wrote:

> Hi All,
>
> As per discussions we had previously, I came up

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
Hi Dinali,

I am talking about line chart where Trump is shown in blue colour. If you
are not going to use blue or red, still it has to be fixed before go live,
isn't it?

Regards,

On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera  wrote:

> Hi,
> @ Nirmal,
> It was a script scheduling problem. I fixed it.
>
> @Tharik
> US Parties have only two colors red or blue. So Its hard to figure out to
> whom this tweep tweets for most. As we want to show a clear picture on how
> tweeps relates each other with the candidates who are in for the
> election(who still remains in the battle) and also we are advised not to
> take dark blue or red in our UI in our previous meeting as we are not bias
> for any of the parties.
>
>
> Thanks.
>
> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> It would be great if we consider about political party colors of the
>> candidates. As an example in the line chart Trump is shown in blue color
>> but it has to be red color as he is a Republican. Candidates from same
>> party can be shown in different shade of same color.
>>
>> Regards,
>>
>>
>> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando  wrote:
>>
>>> Hilary Clinton isn't listed as a top tweep, but the community graph
>>> suggests otherwise.
>>>
>>> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera  wrote:
>>>
 Feedback I gave is not included!

 Too much room between most popular links.
 When we show tweets, make the text and tweet account names same size (
 like twitter does)

 Look good otherwise.

 --Srinath

 On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
 wrote:

> Hi everyone,
>
>
> This is the latest update on US Election 2016 Analytic Dashboard.
> This is  running @
> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
> hosts.
>
> Thank you!
>
>
>
> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
> wrote:
>
>> hi ,
>> adding Chehara
>>
>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
>> wrote:
>>
>>> We can. It will be our twitter toolbox.
>>>
>>> --Srinath
>>>
>>> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
>>> wrote:
>>>
 Hi Srinath and all,

 I'm just wondering, can't we make this a generic tool/product to
 analyze and visualize twitter data.

 Ex: User provides us with some keywords and our tool does the
 analyzing/visualizing. The user can add more functionality if required 
 (
 customization)

 Thanks,
 Sachith

 On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
 thusi...@wso2.com> wrote:

> Update,
>
>1. Added assigned colors for candidate backgrounds as
>suggested.
>2. With Yasara's input on News tab, moved next to the
>Sentiment Analysis Graph.
>
>  Please visit http://thusithak.github.io/twitter-analytics/ to
> view changes.
>
> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Hi Yudhanjaya,
>>
>> 1) Yes we could, but since the Image is appended dynamically I
>> used the same property to create its background,
>> If we are to use a color, we would have to parse a color property
>> as well. @Dinali shall we do that?
>>
>> 2) Yes, Already added three tabs to ticker and moved "News" as
>> one of three tabs in the second row [1]
>> 
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>>
>> Regards,
>>
>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Thanks Thusitha for the design. That looks clean!
>>> Small critique:
>>> 1) instead of having the candidate's image stretched out for the
>>> background in his profile square, can we use the color we use to 
>>> represent
>>> him in the community graph?
>>> 2) Is it possible to have an 'article ticker' before the
>>> sentiment analysis box? We can feed the headlines in there.
>>>
>>> Best,
>>> Yudha
>>>
>>> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
>>> thusi...@wso2.com> wrote:
>>>
 Hi All,

 As per discussions we had previously, I came up with a quick
 design and worked on a markup. :)
 you can have a look at the static page here [1]
 .

 *DInali / Yasara*: Please clone this repo [2]
 and start
>>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
Hi All,

It would be great if we consider about political party colors of the
candidates. As an example in the line chart Trump is shown in blue color
but it has to be red color as he is a Republican. Candidates from same
party can be shown in different shade of same color.

Regards,


On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando  wrote:

> Hilary Clinton isn't listed as a top tweep, but the community graph
> suggests otherwise.
>
> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera  wrote:
>
>> Feedback I gave is not included!
>>
>> Too much room between most popular links.
>> When we show tweets, make the text and tweet account names same size (
>> like twitter does)
>>
>> Look good otherwise.
>>
>> --Srinath
>>
>> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera  wrote:
>>
>>> Hi everyone,
>>>
>>>
>>> This is the latest update on US Election 2016 Analytic Dashboard.
>>> This is  running @
>>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
>>> hosts.
>>>
>>> Thank you!
>>>
>>>
>>>
>>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
>>> wrote:
>>>
 hi ,
 adding Chehara

 On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
 wrote:

> We can. It will be our twitter toolbox.
>
> --Srinath
>
> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
> wrote:
>
>> Hi Srinath and all,
>>
>> I'm just wondering, can't we make this a generic tool/product to
>> analyze and visualize twitter data.
>>
>> Ex: User provides us with some keywords and our tool does the
>> analyzing/visualizing. The user can add more functionality if required (
>> customization)
>>
>> Thanks,
>> Sachith
>>
>> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
>> thusi...@wso2.com> wrote:
>>
>>> Update,
>>>
>>>1. Added assigned colors for candidate backgrounds as suggested.
>>>2. With Yasara's input on News tab, moved next to the Sentiment
>>>Analysis Graph.
>>>
>>>  Please visit http://thusithak.github.io/twitter-analytics/ to view
>>> changes.
>>>
>>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
>>> thusi...@wso2.com> wrote:
>>>
 Hi Yudhanjaya,

 1) Yes we could, but since the Image is appended dynamically I used
 the same property to create its background,
 If we are to use a color, we would have to parse a color property
 as well. @Dinali shall we do that?

 2) Yes, Already added three tabs to ticker and moved "News" as one
 of three tabs in the second row [1]
 

 [1] http://thusithak.github.io/twitter-analytics/

 Regards,

 On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Thanks Thusitha for the design. That looks clean!
> Small critique:
> 1) instead of having the candidate's image stretched out for the
> background in his profile square, can we use the color we use to 
> represent
> him in the community graph?
> 2) Is it possible to have an 'article ticker' before the sentiment
> analysis box? We can feed the headlines in there.
>
> Best,
> Yudha
>
> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Hi All,
>>
>> As per discussions we had previously, I came up with a quick
>> design and worked on a markup. :)
>> you can have a look at the static page here [1]
>> .
>>
>> *DInali / Yasara*: Please clone this repo [2]
>> and start
>> working on this. I will help you get the integration done.
>>
>> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>>
>> Please note that some of these images are copyrighted and must be
>> revised before publishing.
>>
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>> [2] https://github.com/thusithak/twitter-analytics
>>
>>
>> Regards,
>>
>> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Sure, I'll join for brainstorming.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera <
>>> srin...@wso2.com> wrote:
>>>
 Hi Dakshika,

 Yudhanjaya

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Nirmal Fernando
Hilary Clinton isn't listed as a top tweep, but the community graph
suggests otherwise.

On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera  wrote:

> Feedback I gave is not included!
>
> Too much room between most popular links.
> When we show tweets, make the text and tweet account names same size (
> like twitter does)
>
> Look good otherwise.
>
> --Srinath
>
> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera  wrote:
>
>> Hi everyone,
>>
>>
>> This is the latest update on US Election 2016 Analytic Dashboard.
>> This is  running @
>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this hosts.
>>
>> Thank you!
>>
>>
>>
>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
>> wrote:
>>
>>> hi ,
>>> adding Chehara
>>>
>>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
>>> wrote:
>>>
 We can. It will be our twitter toolbox.

 --Srinath

 On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
 wrote:

> Hi Srinath and all,
>
> I'm just wondering, can't we make this a generic tool/product to
> analyze and visualize twitter data.
>
> Ex: User provides us with some keywords and our tool does the
> analyzing/visualizing. The user can add more functionality if required (
> customization)
>
> Thanks,
> Sachith
>
> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Update,
>>
>>1. Added assigned colors for candidate backgrounds as suggested.
>>2. With Yasara's input on News tab, moved next to the Sentiment
>>Analysis Graph.
>>
>>  Please visit http://thusithak.github.io/twitter-analytics/ to view
>> changes.
>>
>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
>> thusi...@wso2.com> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> 1) Yes we could, but since the Image is appended dynamically I used
>>> the same property to create its background,
>>> If we are to use a color, we would have to parse a color property as
>>> well. @Dinali shall we do that?
>>>
>>> 2) Yes, Already added three tabs to ticker and moved "News" as one
>>> of three tabs in the second row [1]
>>> 
>>>
>>> [1] http://thusithak.github.io/twitter-analytics/
>>>
>>> Regards,
>>>
>>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Thanks Thusitha for the design. That looks clean!
 Small critique:
 1) instead of having the candidate's image stretched out for the
 background in his profile square, can we use the color we use to 
 represent
 him in the community graph?
 2) Is it possible to have an 'article ticker' before the sentiment
 analysis box? We can feed the headlines in there.

 Best,
 Yudha

 On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
 thusi...@wso2.com> wrote:

> Hi All,
>
> As per discussions we had previously, I came up with a quick
> design and worked on a markup. :)
> you can have a look at the static page here [1]
> .
>
> *DInali / Yasara*: Please clone this repo [2]
> and start working
> on this. I will help you get the integration done.
>
> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>
> Please note that some of these images are copyrighted and must be
> revised before publishing.
>
>
> [1] http://thusithak.github.io/twitter-analytics/
> [2] https://github.com/thusithak/twitter-analytics
>
>
> Regards,
>
> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Sure, I'll join for brainstorming.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera > > wrote:
>>
>>> Hi Dakshika,
>>>
>>> Yudhanjaya will create some mock view and meet you to brainstorm
>>> and get feedback. Yudhanjaya, grab me or get me via a phone to the 
>>> same
>>> discussion.
>>>
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
>>> daksh...@wso2.com> wrote:
>>>
 Hi Srinath,

 Seems I missed this thread. Anyway shall we meet to build some
 good stor

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Srinath Perera
Feedback I gave is not included!

Too much room between most popular links.
When we show tweets, make the text and tweet account names same size ( like
twitter does)

Look good otherwise.

--Srinath

On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera  wrote:

> Hi everyone,
>
>
> This is the latest update on US Election 2016 Analytic Dashboard.
> This is  running @ https://52.77.25.83:9453/twitter-analyticsV3/index.html
> until this hosts.
>
> Thank you!
>
>
>
> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
> wrote:
>
>> hi ,
>> adding Chehara
>>
>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera  wrote:
>>
>>> We can. It will be our twitter toolbox.
>>>
>>> --Srinath
>>>
>>> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
>>> wrote:
>>>
 Hi Srinath and all,

 I'm just wondering, can't we make this a generic tool/product to
 analyze and visualize twitter data.

 Ex: User provides us with some keywords and our tool does the
 analyzing/visualizing. The user can add more functionality if required (
 customization)

 Thanks,
 Sachith

 On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage >>> > wrote:

> Update,
>
>1. Added assigned colors for candidate backgrounds as suggested.
>2. With Yasara's input on News tab, moved next to the Sentiment
>Analysis Graph.
>
>  Please visit http://thusithak.github.io/twitter-analytics/ to view
> changes.
>
> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Hi Yudhanjaya,
>>
>> 1) Yes we could, but since the Image is appended dynamically I used
>> the same property to create its background,
>> If we are to use a color, we would have to parse a color property as
>> well. @Dinali shall we do that?
>>
>> 2) Yes, Already added three tabs to ticker and moved "News" as one of
>> three tabs in the second row [1]
>> 
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>>
>> Regards,
>>
>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Thanks Thusitha for the design. That looks clean!
>>> Small critique:
>>> 1) instead of having the candidate's image stretched out for the
>>> background in his profile square, can we use the color we use to 
>>> represent
>>> him in the community graph?
>>> 2) Is it possible to have an 'article ticker' before the sentiment
>>> analysis box? We can feed the headlines in there.
>>>
>>> Best,
>>> Yudha
>>>
>>> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
>>> thusi...@wso2.com> wrote:
>>>
 Hi All,

 As per discussions we had previously, I came up with a quick design
 and worked on a markup. :)
 you can have a look at the static page here [1]
 .

 *DInali / Yasara*: Please clone this repo [2]
 and start working
 on this. I will help you get the integration done.

 *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.

 Please note that some of these images are copyrighted and must be
 revised before publishing.


 [1] http://thusithak.github.io/twitter-analytics/
 [2] https://github.com/thusithak/twitter-analytics


 Regards,

 On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Sure, I'll join for brainstorming.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
> wrote:
>
>> Hi Dakshika,
>>
>> Yudhanjaya will create some mock view and meet you to brainstorm
>> and get feedback. Yudhanjaya, grab me or get me via a phone to the 
>> same
>> discussion.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> Seems I missed this thread. Anyway shall we meet to build some
>>> good story + design concept.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Wed, Dec 2, 2015 at 11:49 AM, Y

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-03 Thread Yasara Dissanayake
hi ,
adding Chehara

On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera  wrote:

> We can. It will be our twitter toolbox.
>
> --Srinath
>
> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana  wrote:
>
>> Hi Srinath and all,
>>
>> I'm just wondering, can't we make this a generic tool/product to analyze
>> and visualize twitter data.
>>
>> Ex: User provides us with some keywords and our tool does the
>> analyzing/visualizing. The user can add more functionality if required (
>> customization)
>>
>> Thanks,
>> Sachith
>>
>> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage 
>> wrote:
>>
>>> Update,
>>>
>>>1. Added assigned colors for candidate backgrounds as suggested.
>>>2. With Yasara's input on News tab, moved next to the Sentiment
>>>Analysis Graph.
>>>
>>>  Please visit http://thusithak.github.io/twitter-analytics/ to view
>>> changes.
>>>
>>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage 
>>> wrote:
>>>
 Hi Yudhanjaya,

 1) Yes we could, but since the Image is appended dynamically I used the
 same property to create its background,
 If we are to use a color, we would have to parse a color property as
 well. @Dinali shall we do that?

 2) Yes, Already added three tabs to ticker and moved "News" as one of
 three tabs in the second row [1]
 

 [1] http://thusithak.github.io/twitter-analytics/

 Regards,

 On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Thanks Thusitha for the design. That looks clean!
> Small critique:
> 1) instead of having the candidate's image stretched out for the
> background in his profile square, can we use the color we use to represent
> him in the community graph?
> 2) Is it possible to have an 'article ticker' before the sentiment
> analysis box? We can feed the headlines in there.
>
> Best,
> Yudha
>
> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage <
> thusi...@wso2.com> wrote:
>
>> Hi All,
>>
>> As per discussions we had previously, I came up with a quick design
>> and worked on a markup. :)
>> you can have a look at the static page here [1]
>> .
>>
>> *DInali / Yasara*: Please clone this repo [2]
>> and start working on
>> this. I will help you get the integration done.
>>
>> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>>
>> Please note that some of these images are copyrighted and must be
>> revised before publishing.
>>
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>> [2] https://github.com/thusithak/twitter-analytics
>>
>>
>> Regards,
>>
>> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Sure, I'll join for brainstorming.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Dakshika,

 Yudhanjaya will create some mock view and meet you to brainstorm
 and get feedback. Yudhanjaya, grab me or get me via a phone to the same
 discussion.

 Thanks
 Srinath



 On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Hi Srinath,
>
> Seems I missed this thread. Anyway shall we meet to build some
> good story + design concept.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake <
> yas...@wso2.com> wrote:
>
>> Hi ,
>> Left Conner:
>> Top 3 election candidates are displayed on the top and big
>> letters and other candidates are displayed in left side bar. We can 
>> visit
>> anyones page and this is the Trump page.
>>
>> Middle:
>> Community Graph:
>> Here display the Trump's community graph(that nodes represent the
>> twitter account and also color of node indicates the different
>> candidates and color shade is use to indicate the number of
>> tweets produce by that account and sized of the node indicate the re 
>> tweet
>> count of the that account gets) is at the middle. dinali is  working 
>> on
>> this.
>>
>> Re-tweet List
>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-02-28 Thread Srinath Perera
We can. It will be our twitter toolbox.

--Srinath

On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana  wrote:

> Hi Srinath and all,
>
> I'm just wondering, can't we make this a generic tool/product to analyze
> and visualize twitter data.
>
> Ex: User provides us with some keywords and our tool does the
> analyzing/visualizing. The user can add more functionality if required (
> customization)
>
> Thanks,
> Sachith
>
> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage 
> wrote:
>
>> Update,
>>
>>1. Added assigned colors for candidate backgrounds as suggested.
>>2. With Yasara's input on News tab, moved next to the Sentiment
>>Analysis Graph.
>>
>>  Please visit http://thusithak.github.io/twitter-analytics/ to view
>> changes.
>>
>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> 1) Yes we could, but since the Image is appended dynamically I used the
>>> same property to create its background,
>>> If we are to use a color, we would have to parse a color property as
>>> well. @Dinali shall we do that?
>>>
>>> 2) Yes, Already added three tabs to ticker and moved "News" as one of
>>> three tabs in the second row [1]
>>> 
>>>
>>> [1] http://thusithak.github.io/twitter-analytics/
>>>
>>> Regards,
>>>
>>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Thanks Thusitha for the design. That looks clean!
 Small critique:
 1) instead of having the candidate's image stretched out for the
 background in his profile square, can we use the color we use to represent
 him in the community graph?
 2) Is it possible to have an 'article ticker' before the sentiment
 analysis box? We can feed the headlines in there.

 Best,
 Yudha

 On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage >>> > wrote:

> Hi All,
>
> As per discussions we had previously, I came up with a quick design
> and worked on a markup. :)
> you can have a look at the static page here [1]
> .
>
> *DInali / Yasara*: Please clone this repo [2]
> and start working on
> this. I will help you get the integration done.
>
> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>
> Please note that some of these images are copyrighted and must be
> revised before publishing.
>
>
> [1] http://thusithak.github.io/twitter-analytics/
> [2] https://github.com/thusithak/twitter-analytics
>
>
> Regards,
>
> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Sure, I'll join for brainstorming.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
>> wrote:
>>
>>> Hi Dakshika,
>>>
>>> Yudhanjaya will create some mock view and meet you to brainstorm and
>>> get feedback. Yudhanjaya, grab me or get me via a phone to the same
>>> discussion.
>>>
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
>>> daksh...@wso2.com> wrote:
>>>
 Hi Srinath,

 Seems I missed this thread. Anyway shall we meet to build some good
 story + design concept.

 Regards,

 *Dakshika Jayathilaka*
 PMC Member & Committer of Apache Stratos
 Senior Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake <
 yas...@wso2.com> wrote:

> Hi ,
> Left Conner:
> Top 3 election candidates are displayed on the top and big letters
> and other candidates are displayed in left side bar. We can visit 
> anyones
> page and this is the Trump page.
>
> Middle:
> Community Graph:
> Here display the Trump's community graph(that nodes represent the
> twitter account and also color of node indicates the different
> candidates and color shade is use to indicate the number of
> tweets produce by that account and sized of the node indicate the re 
> tweet
> count of the that account gets) is at the middle. dinali is  working 
> on
> this.
>
> Re-tweet List
> List of top tweets displayed below the community graph based on
> the rank which directly proportion to the re-tweet count and inversely
> proportion to the life time of that tweets.
>
> Right Conner:
>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-02-28 Thread Sachith Withana
Hi Srinath and all,

I'm just wondering, can't we make this a generic tool/product to analyze
and visualize twitter data.

Ex: User provides us with some keywords and our tool does the
analyzing/visualizing. The user can add more functionality if required (
customization)

Thanks,
Sachith

On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage 
wrote:

> Update,
>
>1. Added assigned colors for candidate backgrounds as suggested.
>2. With Yasara's input on News tab, moved next to the Sentiment
>Analysis Graph.
>
>  Please visit http://thusithak.github.io/twitter-analytics/ to view
> changes.
>
> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage 
> wrote:
>
>> Hi Yudhanjaya,
>>
>> 1) Yes we could, but since the Image is appended dynamically I used the
>> same property to create its background,
>> If we are to use a color, we would have to parse a color property as
>> well. @Dinali shall we do that?
>>
>> 2) Yes, Already added three tabs to ticker and moved "News" as one of
>> three tabs in the second row [1]
>> 
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>>
>> Regards,
>>
>> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Thanks Thusitha for the design. That looks clean!
>>> Small critique:
>>> 1) instead of having the candidate's image stretched out for the
>>> background in his profile square, can we use the color we use to represent
>>> him in the community graph?
>>> 2) Is it possible to have an 'article ticker' before the sentiment
>>> analysis box? We can feed the headlines in there.
>>>
>>> Best,
>>> Yudha
>>>
>>> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage 
>>> wrote:
>>>
 Hi All,

 As per discussions we had previously, I came up with a quick design and
 worked on a markup. :)
 you can have a look at the static page here [1]
 .

 *DInali / Yasara*: Please clone this repo [2]
 and start working on
 this. I will help you get the integration done.

 *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.

 Please note that some of these images are copyrighted and must be
 revised before publishing.


 [1] http://thusithak.github.io/twitter-analytics/
 [2] https://github.com/thusithak/twitter-analytics


 Regards,

 On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Sure, I'll join for brainstorming.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
> wrote:
>
>> Hi Dakshika,
>>
>> Yudhanjaya will create some mock view and meet you to brainstorm and
>> get feedback. Yudhanjaya, grab me or get me via a phone to the same
>> discussion.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
>> daksh...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> Seems I missed this thread. Anyway shall we meet to build some good
>>> story + design concept.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake >> > wrote:
>>>
 Hi ,
 Left Conner:
 Top 3 election candidates are displayed on the top and big letters
 and other candidates are displayed in left side bar. We can visit 
 anyones
 page and this is the Trump page.

 Middle:
 Community Graph:
 Here display the Trump's community graph(that nodes represent the
 twitter account and also color of node indicates the different
 candidates and color shade is use to indicate the number of tweets
 produce by that account and sized of the node indicate the re tweet 
 count
 of the that account gets) is at the middle. dinali is  working on this.

 Re-tweet List
 List of top tweets displayed below the community graph based on the
 rank which directly proportion to the re-tweet count and inversely
 proportion to the life time of that tweets.

 Right Conner:

 Result of positive and negative sentiment analysis result is
 displayed below the photograph of owner of that page. Indent to display
 result using graph. Yudhanjaya is  working on this.

 Below that display the owner's(here Trump's) unique hash tags which
 based on the 

Re: [Dev] US Election 2016 Tweet Analyze System

2016-01-25 Thread Thusitha Kalugamage
Update,

   1. Added assigned colors for candidate backgrounds as suggested.
   2. With Yasara's input on News tab, moved next to the Sentiment Analysis
   Graph.

 Please visit http://thusithak.github.io/twitter-analytics/ to view changes.

On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage 
wrote:

> Hi Yudhanjaya,
>
> 1) Yes we could, but since the Image is appended dynamically I used the
> same property to create its background,
> If we are to use a color, we would have to parse a color property as well.
> @Dinali shall we do that?
>
> 2) Yes, Already added three tabs to ticker and moved "News" as one of
> three tabs in the second row [1]
> 
>
> [1] http://thusithak.github.io/twitter-analytics/
>
> Regards,
>
> On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Thanks Thusitha for the design. That looks clean!
>> Small critique:
>> 1) instead of having the candidate's image stretched out for the
>> background in his profile square, can we use the color we use to represent
>> him in the community graph?
>> 2) Is it possible to have an 'article ticker' before the sentiment
>> analysis box? We can feed the headlines in there.
>>
>> Best,
>> Yudha
>>
>> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage 
>> wrote:
>>
>>> Hi All,
>>>
>>> As per discussions we had previously, I came up with a quick design and
>>> worked on a markup. :)
>>> you can have a look at the static page here [1]
>>> .
>>>
>>> *DInali / Yasara*: Please clone this repo [2]
>>> and start working on
>>> this. I will help you get the integration done.
>>>
>>> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>>>
>>> Please note that some of these images are copyrighted and must be
>>> revised before publishing.
>>>
>>>
>>> [1] http://thusithak.github.io/twitter-analytics/
>>> [2] https://github.com/thusithak/twitter-analytics
>>>
>>>
>>> Regards,
>>>
>>> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka >> > wrote:
>>>
 Sure, I'll join for brainstorming.

 Regards,

 *Dakshika Jayathilaka*
 PMC Member & Committer of Apache Stratos
 Senior Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
 wrote:

> Hi Dakshika,
>
> Yudhanjaya will create some mock view and meet you to brainstorm and
> get feedback. Yudhanjaya, grab me or get me via a phone to the same
> discussion.
>
> Thanks
> Srinath
>
>
>
> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
> daksh...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> Seems I missed this thread. Anyway shall we meet to build some good
>> story + design concept.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi ,
>>> Left Conner:
>>> Top 3 election candidates are displayed on the top and big letters
>>> and other candidates are displayed in left side bar. We can visit 
>>> anyones
>>> page and this is the Trump page.
>>>
>>> Middle:
>>> Community Graph:
>>> Here display the Trump's community graph(that nodes represent the
>>> twitter account and also color of node indicates the different
>>> candidates and color shade is use to indicate the number of tweets
>>> produce by that account and sized of the node indicate the re tweet 
>>> count
>>> of the that account gets) is at the middle. dinali is  working on this.
>>>
>>> Re-tweet List
>>> List of top tweets displayed below the community graph based on the
>>> rank which directly proportion to the re-tweet count and inversely
>>> proportion to the life time of that tweets.
>>>
>>> Right Conner:
>>>
>>> Result of positive and negative sentiment analysis result is
>>> displayed below the photograph of owner of that page. Indent to display
>>> result using graph. Yudhanjaya is  working on this.
>>>
>>> Below that display the owner's(here Trump's) unique hash tags which
>>> based on the popular tweets(Please consider this hashTags are updated 
>>> with
>>> time).
>>>
>>> Doughnut graph is use to display the  current winning percentage of
>>> that candidate compared to other candidates. Currently have only rough
>>> draft to be implemented after machine learning part .
>>>
>>>
>>>
>>> @Nirmal thank you. Still we are integrating our parts and still
>>> database is not completed yet. thank you for the correction it should be
>>> sentiment analysis. Hashtags 

Re: [Dev] US Election 2016 Tweet Analyze System

2016-01-25 Thread Thusitha Kalugamage
Hi Yudhanjaya,

1) Yes we could, but since the Image is appended dynamically I used the
same property to create its background,
If we are to use a color, we would have to parse a color property as well.
@Dinali shall we do that?

2) Yes, Already added three tabs to ticker and moved "News" as one of three
tabs in the second row [1] 

[1] http://thusithak.github.io/twitter-analytics/

Regards,

On Mon, Jan 25, 2016 at 12:23 PM, Yudhanjaya Wijeratne 
wrote:

> Thanks Thusitha for the design. That looks clean!
> Small critique:
> 1) instead of having the candidate's image stretched out for the
> background in his profile square, can we use the color we use to represent
> him in the community graph?
> 2) Is it possible to have an 'article ticker' before the sentiment
> analysis box? We can feed the headlines in there.
>
> Best,
> Yudha
>
> On Sun, Jan 24, 2016 at 7:30 PM, Thusitha Kalugamage 
> wrote:
>
>> Hi All,
>>
>> As per discussions we had previously, I came up with a quick design and
>> worked on a markup. :)
>> you can have a look at the static page here [1]
>> .
>>
>> *DInali / Yasara*: Please clone this repo [2]
>> and start working on
>> this. I will help you get the integration done.
>>
>> *Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.
>>
>> Please note that some of these images are copyrighted and must be revised
>> before publishing.
>>
>>
>> [1] http://thusithak.github.io/twitter-analytics/
>> [2] https://github.com/thusithak/twitter-analytics
>>
>>
>> Regards,
>>
>> On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka 
>> wrote:
>>
>>> Sure, I'll join for brainstorming.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Dakshika,

 Yudhanjaya will create some mock view and meet you to brainstorm and
 get feedback. Yudhanjaya, grab me or get me via a phone to the same
 discussion.

 Thanks
 Srinath



 On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka <
 daksh...@wso2.com> wrote:

> Hi Srinath,
>
> Seems I missed this thread. Anyway shall we meet to build some good
> story + design concept.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake 
> wrote:
>
>> Hi ,
>> Left Conner:
>> Top 3 election candidates are displayed on the top and big letters
>> and other candidates are displayed in left side bar. We can visit anyones
>> page and this is the Trump page.
>>
>> Middle:
>> Community Graph:
>> Here display the Trump's community graph(that nodes represent the
>> twitter account and also color of node indicates the different
>> candidates and color shade is use to indicate the number of tweets
>> produce by that account and sized of the node indicate the re tweet count
>> of the that account gets) is at the middle. dinali is  working on this.
>>
>> Re-tweet List
>> List of top tweets displayed below the community graph based on the
>> rank which directly proportion to the re-tweet count and inversely
>> proportion to the life time of that tweets.
>>
>> Right Conner:
>>
>> Result of positive and negative sentiment analysis result is
>> displayed below the photograph of owner of that page. Indent to display
>> result using graph. Yudhanjaya is  working on this.
>>
>> Below that display the owner's(here Trump's) unique hash tags which
>> based on the popular tweets(Please consider this hashTags are updated 
>> with
>> time).
>>
>> Doughnut graph is use to display the  current winning percentage of
>> that candidate compared to other candidates. Currently have only rough
>> draft to be implemented after machine learning part .
>>
>>
>>
>> @Nirmal thank you. Still we are integrating our parts and still
>> database is not completed yet. thank you for the correction it should be
>> sentiment analysis. Hashtags are based on the popular tweets at that 
>> time.
>> It change with the list of tweets which we are selected as most popular.
>> Sentiment analysis not integrate to the dashboard yet percentage for
>> Hillary Clinton is hard code value and we'll correct it.And upload the
>> revised version soon. Thank you for the comments.
>>
>> regards,
>> Yasara
>>
>> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando 
>> wrote:
>>
>>> Hi Yasara,
>>>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-01-24 Thread Thusitha Kalugamage
Hi All,

As per discussions we had previously, I came up with a quick design and
worked on a markup. :)
you can have a look at the static page here [1]
.

*DInali / Yasara*: Please clone this repo [2]
and start working on this.
I will help you get the integration done.

*Yudhanjaya* / *Srinath*,  Let me know if we can improve on this.

Please note that some of these images are copyrighted and must be revised
before publishing.


[1] http://thusithak.github.io/twitter-analytics/
[2] https://github.com/thusithak/twitter-analytics


Regards,

On Thu, Dec 3, 2015 at 11:05 AM, Dakshika Jayathilaka 
wrote:

> Sure, I'll join for brainstorming.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera  wrote:
>
>> Hi Dakshika,
>>
>> Yudhanjaya will create some mock view and meet you to brainstorm and get
>> feedback. Yudhanjaya, grab me or get me via a phone to the same discussion.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka 
>> wrote:
>>
>>> Hi Srinath,
>>>
>>> Seems I missed this thread. Anyway shall we meet to build some good
>>> story + design concept.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake 
>>> wrote:
>>>
 Hi ,
 Left Conner:
 Top 3 election candidates are displayed on the top and big letters and
 other candidates are displayed in left side bar. We can visit anyones page
 and this is the Trump page.

 Middle:
 Community Graph:
 Here display the Trump's community graph(that nodes represent the
 twitter account and also color of node indicates the different
 candidates and color shade is use to indicate the number of tweets
 produce by that account and sized of the node indicate the re tweet count
 of the that account gets) is at the middle. dinali is  working on this.

 Re-tweet List
 List of top tweets displayed below the community graph based on the
 rank which directly proportion to the re-tweet count and inversely
 proportion to the life time of that tweets.

 Right Conner:

 Result of positive and negative sentiment analysis result is displayed
 below the photograph of owner of that page. Indent to display result using
 graph. Yudhanjaya is  working on this.

 Below that display the owner's(here Trump's) unique hash tags which
 based on the popular tweets(Please consider this hashTags are updated with
 time).

 Doughnut graph is use to display the  current winning percentage of
 that candidate compared to other candidates. Currently have only rough
 draft to be implemented after machine learning part .



 @Nirmal thank you. Still we are integrating our parts and still
 database is not completed yet. thank you for the correction it should be
 sentiment analysis. Hashtags are based on the popular tweets at that time.
 It change with the list of tweets which we are selected as most popular.
 Sentiment analysis not integrate to the dashboard yet percentage for
 Hillary Clinton is hard code value and we'll correct it.And upload the
 revised version soon. Thank you for the comments.

 regards,
 Yasara

 On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando 
 wrote:

> Hi Yasara,
>
> Please explain the UI (as the UI is at very early stages, it's not
> easy to grasp stuff) :-)
>
> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
> wrote:
>
>> Hi,
>>
>> This is the snap shots of the final Integration of  the website.
>>
>> Please leave your comments.
>>
>> regards.
>>
>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> +1 :)
>>>
>>> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
>>> wrote:
>>>
 I might WFH. Shall we meet Thursday 11am?

 On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Srinath,
>
> +1 to all. I think sentiment analysis will take the form of a x-y
> graph charting the ups and downs. Shall I come to Trace tomorrow 
> morning?
>
> Thanks,
> Yudha
>
> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
> wrote:
>
>> Hi Yudhanjaya,
>>
>> Yasara and Dinali have the basics for twitter graph and most
>> important tweets in place. We need to design the story around this. 
>>>

Re: [Dev] US Election 2016 Tweet Analyze System

2016-01-22 Thread Yasara Dissanayake
Hi Yudhayaja,
This is more zoomed view.
Regards,
Yasara

On Fri, Jan 22, 2016 at 4:39 PM, Yudhanjaya Wijeratne 
wrote:

> Thanks for the update, Yasara. Due to the very small scale that I used the
> human line may appear almost horizontal to 0. I noticed every other
> algorithm used larger figures. So we may not be seeing the variations
> (relatively). Could you use a 5x multiplier and let me know what happens?
>
> Thanks,
> Yudha
>
> On Fri, Jan 22, 2016 at 4:34 PM, Yasara Dissanayake 
> wrote:
>
>> Hi,
>> Graph compare with human manual read rates.
>>
>> Regards
>> Yasara.
>>
>> On Fri, Jan 22, 2016 at 4:26 PM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>> This the sentiment results[1][2] for above articles using following
>>> sentimental algorithms
>>>
>>>1. Using Naive Bayes Algorithm
>>>2. Standard sentimental analysis: Using positive negative word bucket
>>>3. Afinn sentimental analysis: Using positive negative value for
>>>each word
>>>4. Stanford NLP in 3 forms
>>>
>>> *Stanford Sentiment Method A:Predict each sentence positivity ,
>>> negativity and  getting summation.** And for score use deducting 2 from
>>> originally return sentiment score from library*
>>>
>>> Score for each sentence=-2: "Very Negative"
>>>
>>> Score for each sentence=-1: "Negative"
>>>
>>> Score for each sentence=0: "Neutral"
>>>
>>> Score for each sentence=1: "Positive"
>>>
>>> Score for each sentence=2: "Very Positive"
>>>
>>> *Stanford Sentiment Method B:Use main sentiment as longest sentence.And 
>>> took Rank as longest_sentence_score*length_of_longest_sentence*
>>>
>>> *Stanford Sentiment Method C: **Predict each sentence positivity ,
>>> negativity and  getting summation. And for score use originally return
>>> sentiment score from library*
>>> Score for each sentence=0: "Very Negative"
>>> Score for each sentence=1:"Negative"
>>> Score for each sentence=2:"Neutral"
>>> Score for each sentence=3:"Positive"
>>> Score for each sentence=4: "Very Positive"
>>>
>>> Regards,
>>>
>>> Yasara.
>>>
>>>
>>>
>>>
>>
>
>
> --
> Yudhanjaya Wijeratne
> Marketing Officer, WSO2 Inc 
> +94775496911 | @yudhanjaya
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2016-01-22 Thread Yasara Dissanayake
Hi,
Graph compare with human manual read rates.

Regards
Yasara.

On Fri, Jan 22, 2016 at 4:26 PM, Yasara Dissanayake  wrote:

> Hi Yudhanjaya,
> This the sentiment results[1][2] for above articles using following
> sentimental algorithms
>
>1. Using Naive Bayes Algorithm
>2. Standard sentimental analysis: Using positive negative word bucket
>3. Afinn sentimental analysis: Using positive negative value for each
>word
>4. Stanford NLP in 3 forms
>
> *Stanford Sentiment Method A:Predict each sentence positivity , negativity
> and  getting summation.** And for score use deducting 2 from originally
> return sentiment score from library*
>
> Score for each sentence=-2: "Very Negative"
>
> Score for each sentence=-1: "Negative"
>
> Score for each sentence=0: "Neutral"
>
> Score for each sentence=1: "Positive"
>
> Score for each sentence=2: "Very Positive"
>
> *Stanford Sentiment Method B:Use main sentiment as longest sentence.And took 
> Rank as longest_sentence_score*length_of_longest_sentence*
>
> *Stanford Sentiment Method C: **Predict each sentence positivity ,
> negativity and  getting summation. And for score use originally return
> sentiment score from library*
> Score for each sentence=0: "Very Negative"
> Score for each sentence=1:"Negative"
> Score for each sentence=2:"Neutral"
> Score for each sentence=3:"Positive"
> Score for each sentence=4: "Very Positive"
>
> Regards,
>
> Yasara.
>
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-02 Thread Dakshika Jayathilaka
Sure, I'll join for brainstorming.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Dec 3, 2015 at 11:02 AM, Srinath Perera  wrote:

> Hi Dakshika,
>
> Yudhanjaya will create some mock view and meet you to brainstorm and get
> feedback. Yudhanjaya, grab me or get me via a phone to the same discussion.
>
> Thanks
> Srinath
>
>
>
> On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka 
> wrote:
>
>> Hi Srinath,
>>
>> Seems I missed this thread. Anyway shall we meet to build some good story
>> + design concept.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi ,
>>> Left Conner:
>>> Top 3 election candidates are displayed on the top and big letters and
>>> other candidates are displayed in left side bar. We can visit anyones page
>>> and this is the Trump page.
>>>
>>> Middle:
>>> Community Graph:
>>> Here display the Trump's community graph(that nodes represent the
>>> twitter account and also color of node indicates the different
>>> candidates and color shade is use to indicate the number of tweets
>>> produce by that account and sized of the node indicate the re tweet count
>>> of the that account gets) is at the middle. dinali is  working on this.
>>>
>>> Re-tweet List
>>> List of top tweets displayed below the community graph based on the rank
>>> which directly proportion to the re-tweet count and inversely proportion to
>>> the life time of that tweets.
>>>
>>> Right Conner:
>>>
>>> Result of positive and negative sentiment analysis result is displayed
>>> below the photograph of owner of that page. Indent to display result using
>>> graph. Yudhanjaya is  working on this.
>>>
>>> Below that display the owner's(here Trump's) unique hash tags which
>>> based on the popular tweets(Please consider this hashTags are updated with
>>> time).
>>>
>>> Doughnut graph is use to display the  current winning percentage of that
>>> candidate compared to other candidates. Currently have only rough draft to
>>> be implemented after machine learning part .
>>>
>>>
>>>
>>> @Nirmal thank you. Still we are integrating our parts and still database
>>> is not completed yet. thank you for the correction it should be sentiment
>>> analysis. Hashtags are based on the popular tweets at that time. It change
>>> with the list of tweets which we are selected as most popular. Sentiment
>>> analysis not integrate to the dashboard yet percentage for Hillary Clinton
>>> is hard code value and we'll correct it.And upload the revised version
>>> soon. Thank you for the comments.
>>>
>>> regards,
>>> Yasara
>>>
>>> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando 
>>> wrote:
>>>
 Hi Yasara,

 Please explain the UI (as the UI is at very early stages, it's not easy
 to grasp stuff) :-)

 On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
 wrote:

> Hi,
>
> This is the snap shots of the final Integration of  the website.
>
> Please leave your comments.
>
> regards.
>
> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> +1 :)
>>
>> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
>> wrote:
>>
>>> I might WFH. Shall we meet Thursday 11am?
>>>
>>> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Srinath,

 +1 to all. I think sentiment analysis will take the form of a x-y
 graph charting the ups and downs. Shall I come to Trace tomorrow 
 morning?

 Thanks,
 Yudha

 On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
 wrote:

> Hi Yudhanjaya,
>
> Yasara and Dinali have the basics for twitter graph and most
> important tweets in place. We need to design the story around this. ( 
> I am
> ccing Dakshika so we can get UX feedback from him).
>
> Dakshika, we are trying to build a website to analyze the US
> election data for twitter.
>
> IMO we have not figured out the story yet, although we have
> individual pieces. Following are my comments.
>
>
>1. Looking at Twitter graph, I feel showing number of tweet
>each user did does not tell anything useful.
>2. I feel twitter graph should include all tweeps, not tweeter
>graph for one candidate. ( we can do color coding to show what are 
> tweeps
>for focus candidate)
>3. I agree users want to know about one candidate. But I think
>we need to show the data in contrast. Shall we show each 
> candidat

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-02 Thread Srinath Perera
Hi Dakshika,

Yudhanjaya will create some mock view and meet you to brainstorm and get
feedback. Yudhanjaya, grab me or get me via a phone to the same discussion.

Thanks
Srinath



On Wed, Dec 2, 2015 at 12:54 PM, Dakshika Jayathilaka 
wrote:

> Hi Srinath,
>
> Seems I missed this thread. Anyway shall we meet to build some good story
> + design concept.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake 
> wrote:
>
>> Hi ,
>> Left Conner:
>> Top 3 election candidates are displayed on the top and big letters and
>> other candidates are displayed in left side bar. We can visit anyones page
>> and this is the Trump page.
>>
>> Middle:
>> Community Graph:
>> Here display the Trump's community graph(that nodes represent the twitter
>> account and also color of node indicates the different candidates and
>> color shade is use to indicate the number of tweets produce by that
>> account and sized of the node indicate the re tweet count of the that
>> account gets) is at the middle. dinali is  working on this.
>>
>> Re-tweet List
>> List of top tweets displayed below the community graph based on the rank
>> which directly proportion to the re-tweet count and inversely proportion to
>> the life time of that tweets.
>>
>> Right Conner:
>>
>> Result of positive and negative sentiment analysis result is displayed
>> below the photograph of owner of that page. Indent to display result using
>> graph. Yudhanjaya is  working on this.
>>
>> Below that display the owner's(here Trump's) unique hash tags which based
>> on the popular tweets(Please consider this hashTags are updated with time).
>>
>> Doughnut graph is use to display the  current winning percentage of that
>> candidate compared to other candidates. Currently have only rough draft to
>> be implemented after machine learning part .
>>
>>
>>
>> @Nirmal thank you. Still we are integrating our parts and still database
>> is not completed yet. thank you for the correction it should be sentiment
>> analysis. Hashtags are based on the popular tweets at that time. It change
>> with the list of tweets which we are selected as most popular. Sentiment
>> analysis not integrate to the dashboard yet percentage for Hillary Clinton
>> is hard code value and we'll correct it.And upload the revised version
>> soon. Thank you for the comments.
>>
>> regards,
>> Yasara
>>
>> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:
>>
>>> Hi Yasara,
>>>
>>> Please explain the UI (as the UI is at very early stages, it's not easy
>>> to grasp stuff) :-)
>>>
>>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>>> wrote:
>>>
 Hi,

 This is the snap shots of the final Integration of  the website.

 Please leave your comments.

 regards.

 On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> +1 :)
>
> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
> wrote:
>
>> I might WFH. Shall we meet Thursday 11am?
>>
>> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> +1 to all. I think sentiment analysis will take the form of a x-y
>>> graph charting the ups and downs. Shall I come to Trace tomorrow 
>>> morning?
>>>
>>> Thanks,
>>> Yudha
>>>
>>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Yudhanjaya,

 Yasara and Dinali have the basics for twitter graph and most
 important tweets in place. We need to design the story around this. ( 
 I am
 ccing Dakshika so we can get UX feedback from him).

 Dakshika, we are trying to build a website to analyze the US
 election data for twitter.

 IMO we have not figured out the story yet, although we have
 individual pieces. Following are my comments.


1. Looking at Twitter graph, I feel showing number of tweet
each user did does not tell anything useful.
2. I feel twitter graph should include all tweeps, not tweeter
graph for one candidate. ( we can do color coding to show what are 
 tweeps
for focus candidate)
3. I agree users want to know about one candidate. But I think
we need to show the data in contrast. Shall we show each 
 candidate's data
in contrast to the first. ( For first we contrast with second)

 We also need to do sentimental analysis one and figure out where it
 fit in.

 When you will be in Trace? We should meet and discuss.

 Thanks
 Srinath



 On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-02 Thread Yasara Dissanayake
Hi Nirmal,
1.Please consider Community graph is for all candidates and color of node
indicates the different candidates.Previously I mean  current snapshot
contain only Trump's graph. currently Dinali is working on to make graph
for all candidates.
4.yes they are dummy values since we are not integrated all parts yet.

Thank you
Yasara


On Wed, Dec 2, 2015 at 1:54 PM, Nirmal Fernando  wrote:

>
>
> On Wed, Dec 2, 2015 at 11:26 AM, Yudhanjaya Wijeratne  > wrote:
>
>> Hi Nirmal,
>>
>> 1. Community graph is for all candidates.
>>
> Yasara said otherwise. :-)
>
>
>> However, the three at the top are just the largest
>> 2. The current version ranks a lot more tweets (Yasara, please provide
>> screenshot if possible)
>> 3.  Current implementation looks at sentiment on Google News and outputs
>> a sentiment score, so my idea was to have a graph there showing
>> fluctuations in media sentiment, not a box.
>> (After some thought I picked media sentiment because given the power of
>> the US media their coverage seems to be what is driving most of the
>> discussion around these people).
>> If it's not too much trouble, could I send you the script for checking?
>>
>
> Can you send the Pseudo code?
>
>
>> 4. Right now we're using the most active hashtags for a candidate to poll
>> tweets about them (eg: some people do not tweet 'Bernie', but instead tweet
>> #FeeltheBern). Downside of this approach is that the more popular
>> candidates have more active tags
>>
>
> As per the shared screen shot, we use Hillary Clinton's hashtags to find
> Trump's tweets?! Is it a set of dummy values currently?
>
>>
>> Thanks,
>> Yudha
>>
>>
>>
>> On Wed, Dec 2, 2015 at 11:09 AM, Dinali Dabarera  wrote:
>>
>>> Sir,
>>>
>>> I have not completed implementing the community graph of all the
>>> candidates I will finish it by today and show you tomorrow at the meeting.
>>>
>>> Regards!
>>>
>>> On Wed, Dec 2, 2015 at 10:33 AM, Srinath Perera 
>>> wrote:
>>>
 Dinali, we want to show all tweeps in a one twitter graph with
 different colors given to different candidate as I mentioned in earlier
 mail. ( instead of putting colors by number of tweets by each user).







1.


 On Wed, Dec 2, 2015 at 10:27 AM, Dinali Dabarera 
 wrote:

> Hi,
>
> I hope this will give you a clear picture of GUI.
>
> In the community graph,
>
>
>
> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando 
> wrote:
>
>> Hi Yasara,
>>
>> Please explain the UI (as the UI is at very early stages, it's not
>> easy to grasp stuff) :-)
>>
>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> This is the snap shots of the final Integration of  the website.
>>>
>>> Please leave your comments.
>>>
>>> regards.
>>>
>>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 +1 :)

 On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
 wrote:

> I might WFH. Shall we meet Thursday 11am?
>
> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> +1 to all. I think sentiment analysis will take the form of a x-y
>> graph charting the ups and downs. Shall I come to Trace tomorrow 
>> morning?
>>
>> Thanks,
>> Yudha
>>
>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera > > wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> Yasara and Dinali have the basics for twitter graph and most
>>> important tweets in place. We need to design the story around this. 
>>> ( I am
>>> ccing Dakshika so we can get UX feedback from him).
>>>
>>> Dakshika, we are trying to build a website to analyze the US
>>> election data for twitter.
>>>
>>> IMO we have not figured out the story yet, although we have
>>> individual pieces. Following are my comments.
>>>
>>>
>>>1. Looking at Twitter graph, I feel showing number of tweet
>>>each user did does not tell anything useful.
>>>2. I feel twitter graph should include all tweeps, not
>>>tweeter graph for one candidate. ( we can do color coding to 
>>> show what are
>>>tweeps for focus candidate)
>>>3. I agree users want to know about one candidate. But I
>>>think we need to show the data in contrast. Shall we show each 
>>> candidate's
>>>data in contrast to the first. ( For first we contrast with 
>>> second)
>>>
>>> We also need to do sentimental analysis one and figure out where
>>> it fit in.
>>>
>>> When you will be in Trace? We should me

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-02 Thread Nirmal Fernando
On Wed, Dec 2, 2015 at 11:26 AM, Yudhanjaya Wijeratne 
wrote:

> Hi Nirmal,
>
> 1. Community graph is for all candidates.
>
Yasara said otherwise. :-)


> However, the three at the top are just the largest
> 2. The current version ranks a lot more tweets (Yasara, please provide
> screenshot if possible)
> 3.  Current implementation looks at sentiment on Google News and outputs a
> sentiment score, so my idea was to have a graph there showing fluctuations
> in media sentiment, not a box.
> (After some thought I picked media sentiment because given the power of
> the US media their coverage seems to be what is driving most of the
> discussion around these people).
> If it's not too much trouble, could I send you the script for checking?
>

Can you send the Pseudo code?


> 4. Right now we're using the most active hashtags for a candidate to poll
> tweets about them (eg: some people do not tweet 'Bernie', but instead tweet
> #FeeltheBern). Downside of this approach is that the more popular
> candidates have more active tags
>

As per the shared screen shot, we use Hillary Clinton's hashtags to find
Trump's tweets?! Is it a set of dummy values currently?

>
> Thanks,
> Yudha
>
>
>
> On Wed, Dec 2, 2015 at 11:09 AM, Dinali Dabarera  wrote:
>
>> Sir,
>>
>> I have not completed implementing the community graph of all the
>> candidates I will finish it by today and show you tomorrow at the meeting.
>>
>> Regards!
>>
>> On Wed, Dec 2, 2015 at 10:33 AM, Srinath Perera  wrote:
>>
>>> Dinali, we want to show all tweeps in a one twitter graph with
>>> different colors given to different candidate as I mentioned in earlier
>>> mail. ( instead of putting colors by number of tweets by each user).
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>1.
>>>
>>>
>>> On Wed, Dec 2, 2015 at 10:27 AM, Dinali Dabarera 
>>> wrote:
>>>
 Hi,

 I hope this will give you a clear picture of GUI.

 In the community graph,



 On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando 
 wrote:

> Hi Yasara,
>
> Please explain the UI (as the UI is at very early stages, it's not
> easy to grasp stuff) :-)
>
> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
> wrote:
>
>> Hi,
>>
>> This is the snap shots of the final Integration of  the website.
>>
>> Please leave your comments.
>>
>> regards.
>>
>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> +1 :)
>>>
>>> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
>>> wrote:
>>>
 I might WFH. Shall we meet Thursday 11am?

 On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Srinath,
>
> +1 to all. I think sentiment analysis will take the form of a x-y
> graph charting the ups and downs. Shall I come to Trace tomorrow 
> morning?
>
> Thanks,
> Yudha
>
> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
> wrote:
>
>> Hi Yudhanjaya,
>>
>> Yasara and Dinali have the basics for twitter graph and most
>> important tweets in place. We need to design the story around this. 
>> ( I am
>> ccing Dakshika so we can get UX feedback from him).
>>
>> Dakshika, we are trying to build a website to analyze the US
>> election data for twitter.
>>
>> IMO we have not figured out the story yet, although we have
>> individual pieces. Following are my comments.
>>
>>
>>1. Looking at Twitter graph, I feel showing number of tweet
>>each user did does not tell anything useful.
>>2. I feel twitter graph should include all tweeps, not
>>tweeter graph for one candidate. ( we can do color coding to show 
>> what are
>>tweeps for focus candidate)
>>3. I agree users want to know about one candidate. But I
>>think we need to show the data in contrast. Shall we show each 
>> candidate's
>>data in contrast to the first. ( For first we contrast with 
>> second)
>>
>> We also need to do sentimental analysis one and figure out where
>> it fit in.
>>
>> When you will be in Trace? We should meet and discuss.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Srinath,
>>>
>>> +1. RT's would show influence best.
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera <
>>> srin...@wso2.com> wrote:
>>>
 Hi Yudhanjaya,

 On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Dakshika Jayathilaka
Hi Srinath,

Seems I missed this thread. Anyway shall we meet to build some good story +
design concept.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Wed, Dec 2, 2015 at 11:49 AM, Yasara Dissanayake  wrote:

> Hi ,
> Left Conner:
> Top 3 election candidates are displayed on the top and big letters and
> other candidates are displayed in left side bar. We can visit anyones page
> and this is the Trump page.
>
> Middle:
> Community Graph:
> Here display the Trump's community graph(that nodes represent the twitter
> account and also color of node indicates the different candidates and
> color shade is use to indicate the number of tweets produce by that
> account and sized of the node indicate the re tweet count of the that
> account gets) is at the middle. dinali is  working on this.
>
> Re-tweet List
> List of top tweets displayed below the community graph based on the rank
> which directly proportion to the re-tweet count and inversely proportion to
> the life time of that tweets.
>
> Right Conner:
>
> Result of positive and negative sentiment analysis result is displayed
> below the photograph of owner of that page. Indent to display result using
> graph. Yudhanjaya is  working on this.
>
> Below that display the owner's(here Trump's) unique hash tags which based
> on the popular tweets(Please consider this hashTags are updated with time).
>
> Doughnut graph is use to display the  current winning percentage of that
> candidate compared to other candidates. Currently have only rough draft to
> be implemented after machine learning part .
>
>
>
> @Nirmal thank you. Still we are integrating our parts and still database
> is not completed yet. thank you for the correction it should be sentiment
> analysis. Hashtags are based on the popular tweets at that time. It change
> with the list of tweets which we are selected as most popular. Sentiment
> analysis not integrate to the dashboard yet percentage for Hillary Clinton
> is hard code value and we'll correct it.And upload the revised version
> soon. Thank you for the comments.
>
> regards,
> Yasara
>
> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:
>
>> Hi Yasara,
>>
>> Please explain the UI (as the UI is at very early stages, it's not easy
>> to grasp stuff) :-)
>>
>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> This is the snap shots of the final Integration of  the website.
>>>
>>> Please leave your comments.
>>>
>>> regards.
>>>
>>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 +1 :)

 On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
 wrote:

> I might WFH. Shall we meet Thursday 11am?
>
> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> +1 to all. I think sentiment analysis will take the form of a x-y
>> graph charting the ups and downs. Shall I come to Trace tomorrow morning?
>>
>> Thanks,
>> Yudha
>>
>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> Yasara and Dinali have the basics for twitter graph and most
>>> important tweets in place. We need to design the story around this. ( I 
>>> am
>>> ccing Dakshika so we can get UX feedback from him).
>>>
>>> Dakshika, we are trying to build a website to analyze the US
>>> election data for twitter.
>>>
>>> IMO we have not figured out the story yet, although we have
>>> individual pieces. Following are my comments.
>>>
>>>
>>>1. Looking at Twitter graph, I feel showing number of tweet each
>>>user did does not tell anything useful.
>>>2. I feel twitter graph should include all tweeps, not tweeter
>>>graph for one candidate. ( we can do color coding to show what are 
>>> tweeps
>>>for focus candidate)
>>>3. I agree users want to know about one candidate. But I think
>>>we need to show the data in contrast. Shall we show each candidate's 
>>> data
>>>in contrast to the first. ( For first we contrast with second)
>>>
>>> We also need to do sentimental analysis one and figure out where it
>>> fit in.
>>>
>>> When you will be in Trace? We should meet and discuss.
>>>
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Srinath,

 +1. RT's would show influence best.



 On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
 wrote:

> Hi Yudhanjaya,
>
> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Yasara Dissanayake
Hi ,
Left Conner:
Top 3 election candidates are displayed on the top and big letters and
other candidates are displayed in left side bar. We can visit anyones page
and this is the Trump page.

Middle:
Community Graph:
Here display the Trump's community graph(that nodes represent the twitter
account and also color of node indicates the different candidates and color
shade is use to indicate the number of tweets produce by that account and
sized of the node indicate the re tweet count of the that account gets) is
at the middle. dinali is  working on this.

Re-tweet List
List of top tweets displayed below the community graph based on the rank
which directly proportion to the re-tweet count and inversely proportion to
the life time of that tweets.

Right Conner:

Result of positive and negative sentiment analysis result is displayed
below the photograph of owner of that page. Indent to display result using
graph. Yudhanjaya is  working on this.

Below that display the owner's(here Trump's) unique hash tags which based
on the popular tweets(Please consider this hashTags are updated with time).

Doughnut graph is use to display the  current winning percentage of that
candidate compared to other candidates. Currently have only rough draft to
be implemented after machine learning part .



@Nirmal thank you. Still we are integrating our parts and still database is
not completed yet. thank you for the correction it should be sentiment
analysis. Hashtags are based on the popular tweets at that time. It change
with the list of tweets which we are selected as most popular. Sentiment
analysis not integrate to the dashboard yet percentage for Hillary Clinton
is hard code value and we'll correct it.And upload the revised version
soon. Thank you for the comments.

regards,
Yasara

On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:

> Hi Yasara,
>
> Please explain the UI (as the UI is at very early stages, it's not easy to
> grasp stuff) :-)
>
> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
> wrote:
>
>> Hi,
>>
>> This is the snap shots of the final Integration of  the website.
>>
>> Please leave your comments.
>>
>> regards.
>>
>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne > > wrote:
>>
>>> +1 :)
>>>
>>> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera  wrote:
>>>
 I might WFH. Shall we meet Thursday 11am?

 On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Srinath,
>
> +1 to all. I think sentiment analysis will take the form of a x-y
> graph charting the ups and downs. Shall I come to Trace tomorrow morning?
>
> Thanks,
> Yudha
>
> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
> wrote:
>
>> Hi Yudhanjaya,
>>
>> Yasara and Dinali have the basics for twitter graph and most
>> important tweets in place. We need to design the story around this. ( I 
>> am
>> ccing Dakshika so we can get UX feedback from him).
>>
>> Dakshika, we are trying to build a website to analyze the US election
>> data for twitter.
>>
>> IMO we have not figured out the story yet, although we have
>> individual pieces. Following are my comments.
>>
>>
>>1. Looking at Twitter graph, I feel showing number of tweet each
>>user did does not tell anything useful.
>>2. I feel twitter graph should include all tweeps, not tweeter
>>graph for one candidate. ( we can do color coding to show what are 
>> tweeps
>>for focus candidate)
>>3. I agree users want to know about one candidate. But I think we
>>need to show the data in contrast. Shall we show each candidate's 
>> data in
>>contrast to the first. ( For first we contrast with second)
>>
>> We also need to do sentimental analysis one and figure out where it
>> fit in.
>>
>> When you will be in Trace? We should meet and discuss.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Srinath,
>>>
>>> +1. RT's would show influence best.
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Yudhanjaya,

 On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Srinath,
>
> Regarding Dinali's graph, we had a chat and realized that using
> the width of the edge makes the graph harder to read as smaller 
> connections
> are hidden. What if we did it this way:
>
> *Distance between nodes = 1 / RTs between nodes*
>

 Actually we do not need to do anything. Force base layouts we use
 will put connected nodes closer and not connected nodes further.


>
> This will bring togethe

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Dinali Dabarera
Sir,

I have not completed implementing the community graph of all the candidates
I will finish it by today and show you tomorrow at the meeting.

Regards!

On Wed, Dec 2, 2015 at 10:33 AM, Srinath Perera  wrote:

> Dinali, we want to show all tweeps in a one twitter graph with different
> colors given to different candidate as I mentioned in earlier mail. (
> instead of putting colors by number of tweets by each user).
>
>
>
>
>
>
>
>1.
>
>
> On Wed, Dec 2, 2015 at 10:27 AM, Dinali Dabarera  wrote:
>
>> Hi,
>>
>> I hope this will give you a clear picture of GUI.
>>
>> In the community graph,
>>
>>
>>
>> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:
>>
>>> Hi Yasara,
>>>
>>> Please explain the UI (as the UI is at very early stages, it's not easy
>>> to grasp stuff) :-)
>>>
>>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>>> wrote:
>>>
 Hi,

 This is the snap shots of the final Integration of  the website.

 Please leave your comments.

 regards.

 On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> +1 :)
>
> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
> wrote:
>
>> I might WFH. Shall we meet Thursday 11am?
>>
>> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> +1 to all. I think sentiment analysis will take the form of a x-y
>>> graph charting the ups and downs. Shall I come to Trace tomorrow 
>>> morning?
>>>
>>> Thanks,
>>> Yudha
>>>
>>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Yudhanjaya,

 Yasara and Dinali have the basics for twitter graph and most
 important tweets in place. We need to design the story around this. ( 
 I am
 ccing Dakshika so we can get UX feedback from him).

 Dakshika, we are trying to build a website to analyze the US
 election data for twitter.

 IMO we have not figured out the story yet, although we have
 individual pieces. Following are my comments.


1. Looking at Twitter graph, I feel showing number of tweet
each user did does not tell anything useful.
2. I feel twitter graph should include all tweeps, not tweeter
graph for one candidate. ( we can do color coding to show what are 
 tweeps
for focus candidate)
3. I agree users want to know about one candidate. But I think
we need to show the data in contrast. Shall we show each 
 candidate's data
in contrast to the first. ( For first we contrast with second)

 We also need to do sentimental analysis one and figure out where it
 fit in.

 When you will be in Trace? We should meet and discuss.

 Thanks
 Srinath



 On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Srinath,
>
> +1. RT's would show influence best.
>
>
>
> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
> wrote:
>
>> Hi Yudhanjaya,
>>
>> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> Regarding Dinali's graph, we had a chat and realized that using
>>> the width of the edge makes the graph harder to read as smaller 
>>> connections
>>> are hidden. What if we did it this way:
>>>
>>> *Distance between nodes = 1 / RTs between nodes*
>>>
>>
>> Actually we do not need to do anything. Force base layouts we use
>> will put connected nodes closer and not connected nodes further.
>>
>>
>>>
>>> This will bring together accounts that often retweet a node's
>>> content. Less enthusiastic retweeters are further and further out.
>>>
>>> *Redness = no of RT's done by a node*
>>>
>>> High RT accounts, like bots, will show up in stages of red
>>>
>> +1
>>
>>>
>>> *Size of node = % of original tweets in sample space OR number
>>> of RTs received by that node*
>>>
>>> Content creators and popular influencers are larger
>>>
>>
>> I would say let's go with RT's received by that node. IMO that is
>> the best measure of influence.
>>
>>
>>>
>>> Therefore we'll end up with a graph of large nodes (popular
>>> influencers) surrounded closely by nodes that RT them a lot and at 
>>> the
>>> edges of this little community will be the nodes that don't RT the

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Nirmal Fernando
That's helpful, thanks. Few questions;

1. Community graph is for the selected candidate ?
2. Why there's only one tweet in most popular tweets?
3. Positive/Negative is the sentiment analysis right not semantic? What
does test means in that table?
4. If this page is for a selected candidate, why we have hash tags of each
candidate?
5. Page is about Trump, prediction *percentage* is for Hillary Clinton :-)

On Wed, Dec 2, 2015 at 10:27 AM, Dinali Dabarera  wrote:

> Hi,
>
> I hope this will give you a clear picture of GUI.
>
> In the community graph,
>
>
>
> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:
>
>> Hi Yasara,
>>
>> Please explain the UI (as the UI is at very early stages, it's not easy
>> to grasp stuff) :-)
>>
>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> This is the snap shots of the final Integration of  the website.
>>>
>>> Please leave your comments.
>>>
>>> regards.
>>>
>>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 +1 :)

 On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
 wrote:

> I might WFH. Shall we meet Thursday 11am?
>
> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> +1 to all. I think sentiment analysis will take the form of a x-y
>> graph charting the ups and downs. Shall I come to Trace tomorrow morning?
>>
>> Thanks,
>> Yudha
>>
>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> Yasara and Dinali have the basics for twitter graph and most
>>> important tweets in place. We need to design the story around this. ( I 
>>> am
>>> ccing Dakshika so we can get UX feedback from him).
>>>
>>> Dakshika, we are trying to build a website to analyze the US
>>> election data for twitter.
>>>
>>> IMO we have not figured out the story yet, although we have
>>> individual pieces. Following are my comments.
>>>
>>>
>>>1. Looking at Twitter graph, I feel showing number of tweet each
>>>user did does not tell anything useful.
>>>2. I feel twitter graph should include all tweeps, not tweeter
>>>graph for one candidate. ( we can do color coding to show what are 
>>> tweeps
>>>for focus candidate)
>>>3. I agree users want to know about one candidate. But I think
>>>we need to show the data in contrast. Shall we show each candidate's 
>>> data
>>>in contrast to the first. ( For first we contrast with second)
>>>
>>> We also need to do sentimental analysis one and figure out where it
>>> fit in.
>>>
>>> When you will be in Trace? We should meet and discuss.
>>>
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Srinath,

 +1. RT's would show influence best.



 On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
 wrote:

> Hi Yudhanjaya,
>
> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> Regarding Dinali's graph, we had a chat and realized that using
>> the width of the edge makes the graph harder to read as smaller 
>> connections
>> are hidden. What if we did it this way:
>>
>> *Distance between nodes = 1 / RTs between nodes*
>>
>
> Actually we do not need to do anything. Force base layouts we use
> will put connected nodes closer and not connected nodes further.
>
>
>>
>> This will bring together accounts that often retweet a node's
>> content. Less enthusiastic retweeters are further and further out.
>>
>> *Redness = no of RT's done by a node*
>>
>> High RT accounts, like bots, will show up in stages of red
>>
> +1
>
>>
>> *Size of node = % of original tweets in sample space OR number of
>> RTs received by that node*
>>
>> Content creators and popular influencers are larger
>>
>
> I would say let's go with RT's received by that node. IMO that is
> the best measure of influence.
>
>
>>
>> Therefore we'll end up with a graph of large nodes (popular
>> influencers) surrounded closely by nodes that RT them a lot and at 
>> the
>> edges of this little community will be the nodes that don't RT them 
>> all
>> that often.
>>
>> What do you think?
>>
>> Best,
>> Yudha
>>
>> On Thu, Nov 19, 2015 at 11:02 AM, Dinali Daba

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Srinath Perera
Dinali, we want to show all tweeps in a one twitter graph with different
colors given to different candidate as I mentioned in earlier mail. (
instead of putting colors by number of tweets by each user).







   1.


On Wed, Dec 2, 2015 at 10:27 AM, Dinali Dabarera  wrote:

> Hi,
>
> I hope this will give you a clear picture of GUI.
>
> In the community graph,
>
>
>
> On Wed, Dec 2, 2015 at 10:09 AM, Nirmal Fernando  wrote:
>
>> Hi Yasara,
>>
>> Please explain the UI (as the UI is at very early stages, it's not easy
>> to grasp stuff) :-)
>>
>> On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi,
>>>
>>> This is the snap shots of the final Integration of  the website.
>>>
>>> Please leave your comments.
>>>
>>> regards.
>>>
>>> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 +1 :)

 On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera 
 wrote:

> I might WFH. Shall we meet Thursday 11am?
>
> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> +1 to all. I think sentiment analysis will take the form of a x-y
>> graph charting the ups and downs. Shall I come to Trace tomorrow morning?
>>
>> Thanks,
>> Yudha
>>
>> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> Yasara and Dinali have the basics for twitter graph and most
>>> important tweets in place. We need to design the story around this. ( I 
>>> am
>>> ccing Dakshika so we can get UX feedback from him).
>>>
>>> Dakshika, we are trying to build a website to analyze the US
>>> election data for twitter.
>>>
>>> IMO we have not figured out the story yet, although we have
>>> individual pieces. Following are my comments.
>>>
>>>
>>>1. Looking at Twitter graph, I feel showing number of tweet each
>>>user did does not tell anything useful.
>>>2. I feel twitter graph should include all tweeps, not tweeter
>>>graph for one candidate. ( we can do color coding to show what are 
>>> tweeps
>>>for focus candidate)
>>>3. I agree users want to know about one candidate. But I think
>>>we need to show the data in contrast. Shall we show each candidate's 
>>> data
>>>in contrast to the first. ( For first we contrast with second)
>>>
>>> We also need to do sentimental analysis one and figure out where it
>>> fit in.
>>>
>>> When you will be in Trace? We should meet and discuss.
>>>
>>> Thanks
>>> Srinath
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Srinath,

 +1. RT's would show influence best.



 On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
 wrote:

> Hi Yudhanjaya,
>
> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Srinath,
>>
>> Regarding Dinali's graph, we had a chat and realized that using
>> the width of the edge makes the graph harder to read as smaller 
>> connections
>> are hidden. What if we did it this way:
>>
>> *Distance between nodes = 1 / RTs between nodes*
>>
>
> Actually we do not need to do anything. Force base layouts we use
> will put connected nodes closer and not connected nodes further.
>
>
>>
>> This will bring together accounts that often retweet a node's
>> content. Less enthusiastic retweeters are further and further out.
>>
>> *Redness = no of RT's done by a node*
>>
>> High RT accounts, like bots, will show up in stages of red
>>
> +1
>
>>
>> *Size of node = % of original tweets in sample space OR number of
>> RTs received by that node*
>>
>> Content creators and popular influencers are larger
>>
>
> I would say let's go with RT's received by that node. IMO that is
> the best measure of influence.
>
>
>>
>> Therefore we'll end up with a graph of large nodes (popular
>> influencers) surrounded closely by nodes that RT them a lot and at 
>> the
>> edges of this little community will be the nodes that don't RT them 
>> all
>> that often.
>>
>> What do you think?
>>
>> Best,
>> Yudha
>>
>> On Thu, Nov 19, 2015 at 11:02 AM, Dinali Dabarera <
>> din...@wso2.com> wrote:
>>
>>> Yes I will do sir. But I am doing some research on d3 by adding
>>> more features and directing getting data from DAS.

Re: [Dev] US Election 2016 Tweet Analyze System

2015-12-01 Thread Nirmal Fernando
Hi Yasara,

Please explain the UI (as the UI is at very early stages, it's not easy to
grasp stuff) :-)

On Wed, Dec 2, 2015 at 9:47 AM, Yasara Dissanayake  wrote:

> Hi,
>
> This is the snap shots of the final Integration of  the website.
>
> Please leave your comments.
>
> regards.
>
> On Tue, Dec 1, 2015 at 1:34 PM, Yudhanjaya Wijeratne 
> wrote:
>
>> +1 :)
>>
>> On Tue, Dec 1, 2015 at 1:10 PM, Srinath Perera  wrote:
>>
>>> I might WFH. Shall we meet Thursday 11am?
>>>
>>> On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Srinath,

 +1 to all. I think sentiment analysis will take the form of a x-y graph
 charting the ups and downs. Shall I come to Trace tomorrow morning?

 Thanks,
 Yudha

 On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera 
 wrote:

> Hi Yudhanjaya,
>
> Yasara and Dinali have the basics for twitter graph and most important
> tweets in place. We need to design the story around this. ( I am
> ccing Dakshika so we can get UX feedback from him).
>
> Dakshika, we are trying to build a website to analyze the US election
> data for twitter.
>
> IMO we have not figured out the story yet, although we have individual
> pieces. Following are my comments.
>
>
>1. Looking at Twitter graph, I feel showing number of tweet each
>user did does not tell anything useful.
>2. I feel twitter graph should include all tweeps, not tweeter
>graph for one candidate. ( we can do color coding to show what are 
> tweeps
>for focus candidate)
>3. I agree users want to know about one candidate. But I think we
>need to show the data in contrast. Shall we show each candidate's data 
> in
>contrast to the first. ( For first we contrast with second)
>
> We also need to do sentimental analysis one and figure out where it
> fit in.
>
> When you will be in Trace? We should meet and discuss.
>
> Thanks
> Srinath
>
>
>
> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Srinath,
>>
>> +1. RT's would show influence best.
>>
>>
>>
>> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
>> wrote:
>>
>>> Hi Yudhanjaya,
>>>
>>> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Srinath,

 Regarding Dinali's graph, we had a chat and realized that using the
 width of the edge makes the graph harder to read as smaller 
 connections are
 hidden. What if we did it this way:

 *Distance between nodes = 1 / RTs between nodes*

>>>
>>> Actually we do not need to do anything. Force base layouts we use
>>> will put connected nodes closer and not connected nodes further.
>>>
>>>

 This will bring together accounts that often retweet a node's
 content. Less enthusiastic retweeters are further and further out.

 *Redness = no of RT's done by a node*

 High RT accounts, like bots, will show up in stages of red

>>> +1
>>>

 *Size of node = % of original tweets in sample space OR number of
 RTs received by that node*

 Content creators and popular influencers are larger

>>>
>>> I would say let's go with RT's received by that node. IMO that is
>>> the best measure of influence.
>>>
>>>

 Therefore we'll end up with a graph of large nodes (popular
 influencers) surrounded closely by nodes that RT them a lot and at the
 edges of this little community will be the nodes that don't RT them all
 that often.

 What do you think?

 Best,
 Yudha

 On Thu, Nov 19, 2015 at 11:02 AM, Dinali Dabarera 
 wrote:

> Yes I will do sir. But I am doing some research on d3 by adding
> more features and directing getting data from DAS. I hope to do this 
> as it
> will help in the future.
>
> On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera 
> wrote:
>
>> We must use d3 or a d3 based one, as that WSO2 platform uses.
>>
>> Sample I shared shows how to do it with d3.
>>
>> Thanks
>> Srinath
>>
>> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera > > wrote:
>>
>>> Hi,
>>> I have created two tables on DAS which collects fresh data
>>> daily(more than 1000,000) and run a script which is scheduled 
>>> hourly to
>>> collect data into two tables called NodeTable(nose , retweets order 
>>> by
>>> retweets desc) and EdgeTable(src,dest,retweets ord

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-30 Thread Srinath Perera
I might WFH. Shall we meet Thursday 11am?

On Tue, Dec 1, 2015 at 12:20 PM, Yudhanjaya Wijeratne 
wrote:

> Hi Srinath,
>
> +1 to all. I think sentiment analysis will take the form of a x-y graph
> charting the ups and downs. Shall I come to Trace tomorrow morning?
>
> Thanks,
> Yudha
>
> On Tue, Dec 1, 2015 at 11:21 AM, Srinath Perera  wrote:
>
>> Hi Yudhanjaya,
>>
>> Yasara and Dinali have the basics for twitter graph and most important
>> tweets in place. We need to design the story around this. ( I am
>> ccing Dakshika so we can get UX feedback from him).
>>
>> Dakshika, we are trying to build a website to analyze the US election
>> data for twitter.
>>
>> IMO we have not figured out the story yet, although we have individual
>> pieces. Following are my comments.
>>
>>
>>1. Looking at Twitter graph, I feel showing number of tweet each user
>>did does not tell anything useful.
>>2. I feel twitter graph should include all tweeps, not tweeter graph
>>for one candidate. ( we can do color coding to show what are tweeps for
>>focus candidate)
>>3. I agree users want to know about one candidate. But I think we
>>need to show the data in contrast. Shall we show each candidate's data in
>>contrast to the first. ( For first we contrast with second)
>>
>> We also need to do sentimental analysis one and figure out where it fit
>> in.
>>
>> When you will be in Trace? We should meet and discuss.
>>
>> Thanks
>> Srinath
>>
>>
>>
>> On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Srinath,
>>>
>>> +1. RT's would show influence best.
>>>
>>>
>>>
>>> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera 
>>> wrote:
>>>
 Hi Yudhanjaya,

 On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Srinath,
>
> Regarding Dinali's graph, we had a chat and realized that using the
> width of the edge makes the graph harder to read as smaller connections 
> are
> hidden. What if we did it this way:
>
> *Distance between nodes = 1 / RTs between nodes*
>

 Actually we do not need to do anything. Force base layouts we use will
 put connected nodes closer and not connected nodes further.


>
> This will bring together accounts that often retweet a node's content.
> Less enthusiastic retweeters are further and further out.
>
> *Redness = no of RT's done by a node*
>
> High RT accounts, like bots, will show up in stages of red
>
 +1

>
> *Size of node = % of original tweets in sample space OR number of RTs
> received by that node*
>
> Content creators and popular influencers are larger
>

 I would say let's go with RT's received by that node. IMO that is the
 best measure of influence.


>
> Therefore we'll end up with a graph of large nodes (popular
> influencers) surrounded closely by nodes that RT them a lot and at the
> edges of this little community will be the nodes that don't RT them all
> that often.
>
> What do you think?
>
> Best,
> Yudha
>
> On Thu, Nov 19, 2015 at 11:02 AM, Dinali Dabarera 
> wrote:
>
>> Yes I will do sir. But I am doing some research on d3 by adding more
>> features and directing getting data from DAS. I hope to do this as it 
>> will
>> help in the future.
>>
>> On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera 
>> wrote:
>>
>>> We must use d3 or a d3 based one, as that WSO2 platform uses.
>>>
>>> Sample I shared shows how to do it with d3.
>>>
>>> Thanks
>>> Srinath
>>>
>>> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera 
>>> wrote:
>>>
 Hi,
 I have created two tables on DAS which collects fresh data
 daily(more than 1000,000) and run a script which is scheduled hourly to
 collect data into two tables called NodeTable(nose , retweets order by
 retweets desc) and EdgeTable(src,dest,retweets order by retweets desc).

 Now I have to create a node graph. Node size give u from NodeTable
 and Width of edge gives u from retweet count in EdgeTable of  I have 
 looked
 up lot of java script libraries such as vis.js, arbor.js, 
 D3.js,sigmajs.

 I couldn't figured out what is better (as most of them have
 specific to a single node and takes lot of time to study all) then i 
 moved
 to d3.js as many have used and tried  for different purposes. Can i 
 get any
 other good suggestions for my graphing?

 If you have good suggestions, please feel free to post them so that
 it will help me ..


 Cheers!

 On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake <
 yas...@wso2.com> wrote:

> @yudhanjaya
> 

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-30 Thread Srinath Perera
Hi Yudhanjaya,

Yasara and Dinali have the basics for twitter graph and most important
tweets in place. We need to design the story around this. ( I am
ccing Dakshika so we can get UX feedback from him).

Dakshika, we are trying to build a website to analyze the US election data
for twitter.

IMO we have not figured out the story yet, although we have individual
pieces. Following are my comments.


   1. Looking at Twitter graph, I feel showing number of tweet each user
   did does not tell anything useful.
   2. I feel twitter graph should include all tweeps, not tweeter graph for
   one candidate. ( we can do color coding to show what are tweeps for focus
   candidate)
   3. I agree users want to know about one candidate. But I think we need
   to show the data in contrast. Shall we show each candidate's data in
   contrast to the first. ( For first we contrast with second)

We also need to do sentimental analysis one and figure out where it fit in.

When you will be in Trace? We should meet and discuss.

Thanks
Srinath



On Fri, Nov 20, 2015 at 8:34 AM, Yudhanjaya Wijeratne 
wrote:

> Srinath,
>
> +1. RT's would show influence best.
>
>
>
> On Fri, Nov 20, 2015 at 8:32 AM, Srinath Perera  wrote:
>
>> Hi Yudhanjaya,
>>
>> On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Srinath,
>>>
>>> Regarding Dinali's graph, we had a chat and realized that using the
>>> width of the edge makes the graph harder to read as smaller connections are
>>> hidden. What if we did it this way:
>>>
>>> *Distance between nodes = 1 / RTs between nodes*
>>>
>>
>> Actually we do not need to do anything. Force base layouts we use will
>> put connected nodes closer and not connected nodes further.
>>
>>
>>>
>>> This will bring together accounts that often retweet a node's content.
>>> Less enthusiastic retweeters are further and further out.
>>>
>>> *Redness = no of RT's done by a node*
>>>
>>> High RT accounts, like bots, will show up in stages of red
>>>
>> +1
>>
>>>
>>> *Size of node = % of original tweets in sample space OR number of RTs
>>> received by that node*
>>>
>>> Content creators and popular influencers are larger
>>>
>>
>> I would say let's go with RT's received by that node. IMO that is the
>> best measure of influence.
>>
>>
>>>
>>> Therefore we'll end up with a graph of large nodes (popular influencers)
>>> surrounded closely by nodes that RT them a lot and at the edges of this
>>> little community will be the nodes that don't RT them all that often.
>>>
>>> What do you think?
>>>
>>> Best,
>>> Yudha
>>>
>>> On Thu, Nov 19, 2015 at 11:02 AM, Dinali Dabarera 
>>> wrote:
>>>
 Yes I will do sir. But I am doing some research on d3 by adding more
 features and directing getting data from DAS. I hope to do this as it will
 help in the future.

 On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera 
 wrote:

> We must use d3 or a d3 based one, as that WSO2 platform uses.
>
> Sample I shared shows how to do it with d3.
>
> Thanks
> Srinath
>
> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera 
> wrote:
>
>> Hi,
>> I have created two tables on DAS which collects fresh data daily(more
>> than 1000,000) and run a script which is scheduled hourly to collect data
>> into two tables called NodeTable(nose , retweets order by retweets desc)
>> and EdgeTable(src,dest,retweets order by retweets desc).
>>
>> Now I have to create a node graph. Node size give u from NodeTable
>> and Width of edge gives u from retweet count in EdgeTable of  I have 
>> looked
>> up lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.
>>
>> I couldn't figured out what is better (as most of them have specific
>> to a single node and takes lot of time to study all) then i moved to 
>> d3.js
>> as many have used and tried  for different purposes. Can i get any other
>> good suggestions for my graphing?
>>
>> If you have good suggestions, please feel free to post them so that
>> it will help me ..
>>
>>
>> Cheers!
>>
>> On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
>> wrote:
>>
>>> @yudhanjaya
>>> Ok.Now it's working.Popular tweets are now saved to on database base
>>> on that rank from CEP. Wrote custom window for siddi to calculate that 
>>> rank
>>> and sort them. Currently working with design web page using jaggery 
>>> server.
>>>
>>> Regards
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 We'll have to talk to Srinath about that, I'm afraid. Let's get the
 RT system rolling first. Whatever we come up with the replies will also
 have to be displayed as part of that graph, so let's get the simpler 
 stuff
 out of the way.

 On Tue, Nov 17, 2015 at 2:54 PM

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-19 Thread Srinath Perera
Hi Yudhanjaya,

On Thu, Nov 19, 2015 at 3:40 PM, Yudhanjaya Wijeratne 
wrote:

> Hi Srinath,
>
> Regarding Dinali's graph, we had a chat and realized that using the width
> of the edge makes the graph harder to read as smaller connections are
> hidden. What if we did it this way:
>
> *Distance between nodes = 1 / RTs between nodes*
>

Actually we do not need to do anything. Force base layouts we use will put
connected nodes closer and not connected nodes further.


>
> This will bring together accounts that often retweet a node's content.
> Less enthusiastic retweeters are further and further out.
>
> *Redness = no of RT's done by a node*
>
> High RT accounts, like bots, will show up in stages of red
>
+1

>
> *Size of node = % of original tweets in sample space OR number of RTs
> received by that node*
>
> Content creators and popular influencers are larger
>

I would say let's go with RT's received by that node. IMO that is the best
measure of influence.


>
> Therefore we'll end up with a graph of large nodes (popular influencers)
> surrounded closely by nodes that RT them a lot and at the edges of this
> little community will be the nodes that don't RT them all that often.
>
> What do you think?
>
> Best,
> Yudha
>
> On Thu, Nov 19, 2015 at 11:02 AM, Dinali Dabarera  wrote:
>
>> Yes I will do sir. But I am doing some research on d3 by adding more
>> features and directing getting data from DAS. I hope to do this as it will
>> help in the future.
>>
>> On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera  wrote:
>>
>>> We must use d3 or a d3 based one, as that WSO2 platform uses.
>>>
>>> Sample I shared shows how to do it with d3.
>>>
>>> Thanks
>>> Srinath
>>>
>>> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera 
>>> wrote:
>>>
 Hi,
 I have created two tables on DAS which collects fresh data daily(more
 than 1000,000) and run a script which is scheduled hourly to collect data
 into two tables called NodeTable(nose , retweets order by retweets desc)
 and EdgeTable(src,dest,retweets order by retweets desc).

 Now I have to create a node graph. Node size give u from NodeTable and
 Width of edge gives u from retweet count in EdgeTable of  I have looked up
 lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.

 I couldn't figured out what is better (as most of them have specific to
 a single node and takes lot of time to study all) then i moved to d3.js as
 many have used and tried  for different purposes. Can i get any other good
 suggestions for my graphing?

 If you have good suggestions, please feel free to post them so that it
 will help me ..


 Cheers!

 On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
 wrote:

> @yudhanjaya
> Ok.Now it's working.Popular tweets are now saved to on database base
> on that rank from CEP. Wrote custom window for siddi to calculate that 
> rank
> and sort them. Currently working with design web page using jaggery 
> server.
>
> Regards
> Yasara
>
> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> We'll have to talk to Srinath about that, I'm afraid. Let's get the
>> RT system rolling first. Whatever we come up with the replies will also
>> have to be displayed as part of that graph, so let's get the simpler 
>> stuff
>> out of the way.
>>
>> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
>> wrote:
>>
>>> hi,
>>>
>>> @Nipuna,
>>> Dinali and me both are collecting retweets in same manner which she
>>> explained earlier. Since I also consider the details original tweets of
>>> retweets. Thank you for comments and link it would be very useful. And
>>> about favorite count, isn't it a separate option something like like to 
>>> the
>>> post which can do even non friends? Here I mean the publicity of tweet.
>>> that is initially when tweet are published it will be on friends wall. 
>>> But
>>> it has not impact as much as retweet and favorite count.
>>>
>>> @yudhanjaya
>>> And what about the replies? if we consider them there can be +1, 0
>>> and -1 support for that tweet. do we have to consider them ? if so do we
>>> have to do some analysis?
>>>
>>> regards,
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Madhawa, Nipuna,

 We'll be doing a bit of sentiment analysis later down the line
 using the stanford NLP implementation, but for now what we're trying to
 replicate in real-time is to
 a) rank tweets by freshness and popularity, which can give us some
 clue as to opinion influence and b) to basically do this
 https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-ele

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Dinali Dabarera
Yes I will do sir. But I am doing some research on d3 by adding more
features and directing getting data from DAS. I hope to do this as it will
help in the future.

On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera  wrote:

> We must use d3 or a d3 based one, as that WSO2 platform uses.
>
> Sample I shared shows how to do it with d3.
>
> Thanks
> Srinath
>
> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera  wrote:
>
>> Hi,
>> I have created two tables on DAS which collects fresh data daily(more
>> than 1000,000) and run a script which is scheduled hourly to collect data
>> into two tables called NodeTable(nose , retweets order by retweets desc)
>> and EdgeTable(src,dest,retweets order by retweets desc).
>>
>> Now I have to create a node graph. Node size give u from NodeTable and
>> Width of edge gives u from retweet count in EdgeTable of  I have looked up
>> lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.
>>
>> I couldn't figured out what is better (as most of them have specific to a
>> single node and takes lot of time to study all) then i moved to d3.js as
>> many have used and tried  for different purposes. Can i get any other good
>> suggestions for my graphing?
>>
>> If you have good suggestions, please feel free to post them so that it
>> will help me ..
>>
>>
>> Cheers!
>>
>> On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
>> wrote:
>>
>>> @yudhanjaya
>>> Ok.Now it's working.Popular tweets are now saved to on database base on
>>> that rank from CEP. Wrote custom window for siddi to calculate that rank
>>> and sort them. Currently working with design web page using jaggery server.
>>>
>>> Regards
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
 system rolling first. Whatever we come up with the replies will also have
 to be displayed as part of that graph, so let's get the simpler stuff out
 of the way.

 On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
 wrote:

> hi,
>
> @Nipuna,
> Dinali and me both are collecting retweets in same manner which she
> explained earlier. Since I also consider the details original tweets of
> retweets. Thank you for comments and link it would be very useful. And
> about favorite count, isn't it a separate option something like like to 
> the
> post which can do even non friends? Here I mean the publicity of tweet.
> that is initially when tweet are published it will be on friends wall. But
> it has not impact as much as retweet and favorite count.
>
> @yudhanjaya
> And what about the replies? if we consider them there can be +1, 0 and
> -1 support for that tweet. do we have to consider them ? if so do we have
> to do some analysis?
>
> regards,
> Yasara
>
> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Madhawa, Nipuna,
>>
>> We'll be doing a bit of sentiment analysis later down the line using
>> the stanford NLP implementation, but for now what we're trying to 
>> replicate
>> in real-time is to
>> a) rank tweets by freshness and popularity, which can give us some
>> clue as to opinion influence and b) to basically do this
>> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>>
>> Best,
>> Yudha
>>
>> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa > > wrote:
>>
>>> HI Madhawa
>>>
>>> Context analysis in the sense we have to perform Natural language
>>> processing right? I think this require additional libraries ... and 
>>> this is
>>> not yet accurate most of the time if we don't get a right model... as we
>>> dealing with natural languages ..
>>>
>>> Regards,
>>>
>>> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara <
>>> madha...@wso2.com> wrote:
>>>
 Hi All,

 IMO It's better to do a context analysis on these tweet texts and
 draw separate two graphs, (positive / negative)

 Thanks,
 Madhawa

 On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa <
 nipu...@wso2.com> wrote:

> Hi,
>
> I suggested above for if you are using tweeter API directly  i
> don't know whether these can be done using wso2 twitter connector.  
> ...
> i'll look in to it ..
> Sorry for the misdirection if above replies are not helpful.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa <
> nipu...@wso2.com> wrote:
>
>> Hi Yasara,
>>
>> yeah you can check the retweets using retweeted_status as
>> retweets contains slightly different json structure th

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Yasara Dissanayake
Hi,
Revised version of diagram[1]

On Thu, Nov 19, 2015 at 10:14 AM, Yasara Dissanayake 
wrote:

> Hi,
> This[1] is my current plained logic to find most popular tweet at a time
> period. If you have good suggestions based on functionality and the
> efficiency of logic, please feel free to post them so that it will help me.
> Use-case: Find the most popular k unique tweets by keeping most rated n
> tweets (k [1]
>
> On Thu, Nov 19, 2015 at 10:10 AM, Yasara Dissanayake 
> wrote:
>
>> Hi,
>> This[1] is my solution current plain find most popular tweet at a time
>> period. If you have good suggestions based on functionality and the
>> efficiency of logic, please feel free to post them so that it will help me.
>> Use-case: Find the most popular k unique tweets by keeping most rated n
>> tweets (k> [1]
>>
>> On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera  wrote:
>>
>>> We must use d3 or a d3 based one, as that WSO2 platform uses.
>>>
>>> Sample I shared shows how to do it with d3.
>>>
>>> Thanks
>>> Srinath
>>>
>>> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera 
>>> wrote:
>>>
 Hi,
 I have created two tables on DAS which collects fresh data daily(more
 than 1000,000) and run a script which is scheduled hourly to collect data
 into two tables called NodeTable(nose , retweets order by retweets desc)
 and EdgeTable(src,dest,retweets order by retweets desc).

 Now I have to create a node graph. Node size give u from NodeTable and
 Width of edge gives u from retweet count in EdgeTable of  I have looked up
 lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.

 I couldn't figured out what is better (as most of them have specific to
 a single node and takes lot of time to study all) then i moved to d3.js as
 many have used and tried  for different purposes. Can i get any other good
 suggestions for my graphing?

 If you have good suggestions, please feel free to post them so that it
 will help me ..


 Cheers!

 On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
 wrote:

> @yudhanjaya
> Ok.Now it's working.Popular tweets are now saved to on database base
> on that rank from CEP. Wrote custom window for siddi to calculate that 
> rank
> and sort them. Currently working with design web page using jaggery 
> server.
>
> Regards
> Yasara
>
> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> We'll have to talk to Srinath about that, I'm afraid. Let's get the
>> RT system rolling first. Whatever we come up with the replies will also
>> have to be displayed as part of that graph, so let's get the simpler 
>> stuff
>> out of the way.
>>
>> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
>> wrote:
>>
>>> hi,
>>>
>>> @Nipuna,
>>> Dinali and me both are collecting retweets in same manner which she
>>> explained earlier. Since I also consider the details original tweets of
>>> retweets. Thank you for comments and link it would be very useful. And
>>> about favorite count, isn't it a separate option something like like to 
>>> the
>>> post which can do even non friends? Here I mean the publicity of tweet.
>>> that is initially when tweet are published it will be on friends wall. 
>>> But
>>> it has not impact as much as retweet and favorite count.
>>>
>>> @yudhanjaya
>>> And what about the replies? if we consider them there can be +1, 0
>>> and -1 support for that tweet. do we have to consider them ? if so do we
>>> have to do some analysis?
>>>
>>> regards,
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Madhawa, Nipuna,

 We'll be doing a bit of sentiment analysis later down the line
 using the stanford NLP implementation, but for now what we're trying to
 replicate in real-time is to
 a) rank tweets by freshness and popularity, which can give us some
 clue as to opinion influence and b) to basically do this
 https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/

 Best,
 Yudha

 On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa <
 nipu...@wso2.com> wrote:

> HI Madhawa
>
> Context analysis in the sense we have to perform Natural language
> processing right? I think this require additional libraries ... and 
> this is
> not yet accurate most of the time if we don't get a right model... as 
> we
> dealing with natural languages ..
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara <
> madha...@wso2.com> wrote:
>
>> Hi

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Yasara Dissanayake
Hi,
This[1] is my current plained logic to find most popular tweet at a time
period. If you have good suggestions based on functionality and the
efficiency of logic, please feel free to post them so that it will help me.
Use-case: Find the most popular k unique tweets by keeping most rated n
tweets (k
wrote:

> Hi,
> This[1] is my solution current plain find most popular tweet at a time
> period. If you have good suggestions based on functionality and the
> efficiency of logic, please feel free to post them so that it will help me.
> Use-case: Find the most popular k unique tweets by keeping most rated n
> tweets (k [1]
>
> On Thu, Nov 19, 2015 at 9:38 AM, Srinath Perera  wrote:
>
>> We must use d3 or a d3 based one, as that WSO2 platform uses.
>>
>> Sample I shared shows how to do it with d3.
>>
>> Thanks
>> Srinath
>>
>> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera  wrote:
>>
>>> Hi,
>>> I have created two tables on DAS which collects fresh data daily(more
>>> than 1000,000) and run a script which is scheduled hourly to collect data
>>> into two tables called NodeTable(nose , retweets order by retweets desc)
>>> and EdgeTable(src,dest,retweets order by retweets desc).
>>>
>>> Now I have to create a node graph. Node size give u from NodeTable and
>>> Width of edge gives u from retweet count in EdgeTable of  I have looked up
>>> lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.
>>>
>>> I couldn't figured out what is better (as most of them have specific to
>>> a single node and takes lot of time to study all) then i moved to d3.js as
>>> many have used and tried  for different purposes. Can i get any other good
>>> suggestions for my graphing?
>>>
>>> If you have good suggestions, please feel free to post them so that it
>>> will help me ..
>>>
>>>
>>> Cheers!
>>>
>>> On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
>>> wrote:
>>>
 @yudhanjaya
 Ok.Now it's working.Popular tweets are now saved to on database base on
 that rank from CEP. Wrote custom window for siddi to calculate that rank
 and sort them. Currently working with design web page using jaggery server.

 Regards
 Yasara

 On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
> system rolling first. Whatever we come up with the replies will also have
> to be displayed as part of that graph, so let's get the simpler stuff out
> of the way.
>
> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
> wrote:
>
>> hi,
>>
>> @Nipuna,
>> Dinali and me both are collecting retweets in same manner which she
>> explained earlier. Since I also consider the details original tweets of
>> retweets. Thank you for comments and link it would be very useful. And
>> about favorite count, isn't it a separate option something like like to 
>> the
>> post which can do even non friends? Here I mean the publicity of tweet.
>> that is initially when tweet are published it will be on friends wall. 
>> But
>> it has not impact as much as retweet and favorite count.
>>
>> @yudhanjaya
>> And what about the replies? if we consider them there can be +1, 0
>> and -1 support for that tweet. do we have to consider them ? if so do we
>> have to do some analysis?
>>
>> regards,
>> Yasara
>>
>> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Madhawa, Nipuna,
>>>
>>> We'll be doing a bit of sentiment analysis later down the line using
>>> the stanford NLP implementation, but for now what we're trying to 
>>> replicate
>>> in real-time is to
>>> a) rank tweets by freshness and popularity, which can give us some
>>> clue as to opinion influence and b) to basically do this
>>> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>>>
>>> Best,
>>> Yudha
>>>
>>> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa <
>>> nipu...@wso2.com> wrote:
>>>
 HI Madhawa

 Context analysis in the sense we have to perform Natural language
 processing right? I think this require additional libraries ... and 
 this is
 not yet accurate most of the time if we don't get a right model... as 
 we
 dealing with natural languages ..

 Regards,

 On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara <
 madha...@wso2.com> wrote:

> Hi All,
>
> IMO It's better to do a context analysis on these tweet texts and
> draw separate two graphs, (positive / negative)
>
> Thanks,
> Madhawa
>
> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa <
> nipu...@wso2.com> wrote:
>>

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Yasara Dissanayake
Hi,
This[1] is my solution current plain find most popular tweet at a time
period. If you have good suggestions based on functionality and the
efficiency of logic, please feel free to post them so that it will help me.
Use-case: Find the most popular k unique tweets by keeping most rated n
tweets (k wrote:

> We must use d3 or a d3 based one, as that WSO2 platform uses.
>
> Sample I shared shows how to do it with d3.
>
> Thanks
> Srinath
>
> On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera  wrote:
>
>> Hi,
>> I have created two tables on DAS which collects fresh data daily(more
>> than 1000,000) and run a script which is scheduled hourly to collect data
>> into two tables called NodeTable(nose , retweets order by retweets desc)
>> and EdgeTable(src,dest,retweets order by retweets desc).
>>
>> Now I have to create a node graph. Node size give u from NodeTable and
>> Width of edge gives u from retweet count in EdgeTable of  I have looked up
>> lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.
>>
>> I couldn't figured out what is better (as most of them have specific to a
>> single node and takes lot of time to study all) then i moved to d3.js as
>> many have used and tried  for different purposes. Can i get any other good
>> suggestions for my graphing?
>>
>> If you have good suggestions, please feel free to post them so that it
>> will help me ..
>>
>>
>> Cheers!
>>
>> On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
>> wrote:
>>
>>> @yudhanjaya
>>> Ok.Now it's working.Popular tweets are now saved to on database base on
>>> that rank from CEP. Wrote custom window for siddi to calculate that rank
>>> and sort them. Currently working with design web page using jaggery server.
>>>
>>> Regards
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
 system rolling first. Whatever we come up with the replies will also have
 to be displayed as part of that graph, so let's get the simpler stuff out
 of the way.

 On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
 wrote:

> hi,
>
> @Nipuna,
> Dinali and me both are collecting retweets in same manner which she
> explained earlier. Since I also consider the details original tweets of
> retweets. Thank you for comments and link it would be very useful. And
> about favorite count, isn't it a separate option something like like to 
> the
> post which can do even non friends? Here I mean the publicity of tweet.
> that is initially when tweet are published it will be on friends wall. But
> it has not impact as much as retweet and favorite count.
>
> @yudhanjaya
> And what about the replies? if we consider them there can be +1, 0 and
> -1 support for that tweet. do we have to consider them ? if so do we have
> to do some analysis?
>
> regards,
> Yasara
>
> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
> yudhanj...@wso2.com> wrote:
>
>> Hi Madhawa, Nipuna,
>>
>> We'll be doing a bit of sentiment analysis later down the line using
>> the stanford NLP implementation, but for now what we're trying to 
>> replicate
>> in real-time is to
>> a) rank tweets by freshness and popularity, which can give us some
>> clue as to opinion influence and b) to basically do this
>> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>>
>> Best,
>> Yudha
>>
>> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa > > wrote:
>>
>>> HI Madhawa
>>>
>>> Context analysis in the sense we have to perform Natural language
>>> processing right? I think this require additional libraries ... and 
>>> this is
>>> not yet accurate most of the time if we don't get a right model... as we
>>> dealing with natural languages ..
>>>
>>> Regards,
>>>
>>> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara <
>>> madha...@wso2.com> wrote:
>>>
 Hi All,

 IMO It's better to do a context analysis on these tweet texts and
 draw separate two graphs, (positive / negative)

 Thanks,
 Madhawa

 On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa <
 nipu...@wso2.com> wrote:

> Hi,
>
> I suggested above for if you are using tweeter API directly  i
> don't know whether these can be done using wso2 twitter connector.  
> ...
> i'll look in to it ..
> Sorry for the misdirection if above replies are not helpful.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa <
> nipu...@wso2.com> wrote:
>
>> Hi Yasara,
>>
>> yeah you can check the retweets usin

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Srinath Perera
We must use d3 or a d3 based one, as that WSO2 platform uses.

Sample I shared shows how to do it with d3.

Thanks
Srinath

On Wed, Nov 18, 2015 at 3:36 PM, Dinali Dabarera  wrote:

> Hi,
> I have created two tables on DAS which collects fresh data daily(more than
> 1000,000) and run a script which is scheduled hourly to collect data into
> two tables called NodeTable(nose , retweets order by retweets desc) and
> EdgeTable(src,dest,retweets order by retweets desc).
>
> Now I have to create a node graph. Node size give u from NodeTable and
> Width of edge gives u from retweet count in EdgeTable of  I have looked up
> lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.
>
> I couldn't figured out what is better (as most of them have specific to a
> single node and takes lot of time to study all) then i moved to d3.js as
> many have used and tried  for different purposes. Can i get any other good
> suggestions for my graphing?
>
> If you have good suggestions, please feel free to post them so that it
> will help me ..
>
>
> Cheers!
>
> On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake 
> wrote:
>
>> @yudhanjaya
>> Ok.Now it's working.Popular tweets are now saved to on database base on
>> that rank from CEP. Wrote custom window for siddi to calculate that rank
>> and sort them. Currently working with design web page using jaggery server.
>>
>> Regards
>> Yasara
>>
>> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
>>> system rolling first. Whatever we come up with the replies will also have
>>> to be displayed as part of that graph, so let's get the simpler stuff out
>>> of the way.
>>>
>>> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
>>> wrote:
>>>
 hi,

 @Nipuna,
 Dinali and me both are collecting retweets in same manner which she
 explained earlier. Since I also consider the details original tweets of
 retweets. Thank you for comments and link it would be very useful. And
 about favorite count, isn't it a separate option something like like to the
 post which can do even non friends? Here I mean the publicity of tweet.
 that is initially when tweet are published it will be on friends wall. But
 it has not impact as much as retweet and favorite count.

 @yudhanjaya
 And what about the replies? if we consider them there can be +1, 0 and
 -1 support for that tweet. do we have to consider them ? if so do we have
 to do some analysis?

 regards,
 Yasara

 On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
 yudhanj...@wso2.com> wrote:

> Hi Madhawa, Nipuna,
>
> We'll be doing a bit of sentiment analysis later down the line using
> the stanford NLP implementation, but for now what we're trying to 
> replicate
> in real-time is to
> a) rank tweets by freshness and popularity, which can give us some
> clue as to opinion influence and b) to basically do this
> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>
> Best,
> Yudha
>
> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa 
> wrote:
>
>> HI Madhawa
>>
>> Context analysis in the sense we have to perform Natural language
>> processing right? I think this require additional libraries ... and this 
>> is
>> not yet accurate most of the time if we don't get a right model... as we
>> dealing with natural languages ..
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara <
>> madha...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> IMO It's better to do a context analysis on these tweet texts and
>>> draw separate two graphs, (positive / negative)
>>>
>>> Thanks,
>>> Madhawa
>>>
>>> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa <
>>> nipu...@wso2.com> wrote:
>>>
 Hi,

 I suggested above for if you are using tweeter API directly  i
 don't know whether these can be done using wso2 twitter connector.  ...
 i'll look in to it ..
 Sorry for the misdirection if above replies are not helpful.

 Regards,

 On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa <
 nipu...@wso2.com> wrote:

> Hi Yasara,
>
> yeah you can check the retweets using retweeted_status as retweets
> contains slightly different json structure than tweets. But you have 
> to
> keep track of whether your system already analyzed the original 
> tweets of
> this retweets ... Because there can be a scenario where your system 
> meet
> the retweet before the original tweet you are going to filter out that
> tweet and that data is loss..
>
> [1] lin

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-18 Thread Dinali Dabarera
Hi,
I have created two tables on DAS which collects fresh data daily(more than
1000,000) and run a script which is scheduled hourly to collect data into
two tables called NodeTable(nose , retweets order by retweets desc) and
EdgeTable(src,dest,retweets order by retweets desc).

Now I have to create a node graph. Node size give u from NodeTable and
Width of edge gives u from retweet count in EdgeTable of  I have looked up
lot of java script libraries such as vis.js, arbor.js, D3.js,sigmajs.

I couldn't figured out what is better (as most of them have specific to a
single node and takes lot of time to study all) then i moved to d3.js as
many have used and tried  for different purposes. Can i get any other good
suggestions for my graphing?

If you have good suggestions, please feel free to post them so that it will
help me ..


Cheers!

On Tue, Nov 17, 2015 at 3:17 PM, Yasara Dissanayake  wrote:

> @yudhanjaya
> Ok.Now it's working.Popular tweets are now saved to on database base on
> that rank from CEP. Wrote custom window for siddi to calculate that rank
> and sort them. Currently working with design web page using jaggery server.
>
> Regards
> Yasara
>
> On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne  > wrote:
>
>> We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
>> system rolling first. Whatever we come up with the replies will also have
>> to be displayed as part of that graph, so let's get the simpler stuff out
>> of the way.
>>
>> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
>> wrote:
>>
>>> hi,
>>>
>>> @Nipuna,
>>> Dinali and me both are collecting retweets in same manner which she
>>> explained earlier. Since I also consider the details original tweets of
>>> retweets. Thank you for comments and link it would be very useful. And
>>> about favorite count, isn't it a separate option something like like to the
>>> post which can do even non friends? Here I mean the publicity of tweet.
>>> that is initially when tweet are published it will be on friends wall. But
>>> it has not impact as much as retweet and favorite count.
>>>
>>> @yudhanjaya
>>> And what about the replies? if we consider them there can be +1, 0 and
>>> -1 support for that tweet. do we have to consider them ? if so do we have
>>> to do some analysis?
>>>
>>> regards,
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
>>> yudhanj...@wso2.com> wrote:
>>>
 Hi Madhawa, Nipuna,

 We'll be doing a bit of sentiment analysis later down the line using
 the stanford NLP implementation, but for now what we're trying to replicate
 in real-time is to
 a) rank tweets by freshness and popularity, which can give us some clue
 as to opinion influence and b) to basically do this
 https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/

 Best,
 Yudha

 On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa 
 wrote:

> HI Madhawa
>
> Context analysis in the sense we have to perform Natural language
> processing right? I think this require additional libraries ... and this 
> is
> not yet accurate most of the time if we don't get a right model... as we
> dealing with natural languages ..
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara  > wrote:
>
>> Hi All,
>>
>> IMO It's better to do a context analysis on these tweet texts and
>> draw separate two graphs, (positive / negative)
>>
>> Thanks,
>> Madhawa
>>
>> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa > > wrote:
>>
>>> Hi,
>>>
>>> I suggested above for if you are using tweeter API directly  i
>>> don't know whether these can be done using wso2 twitter connector.  ...
>>> i'll look in to it ..
>>> Sorry for the misdirection if above replies are not helpful.
>>>
>>> Regards,
>>>
>>> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa <
>>> nipu...@wso2.com> wrote:
>>>
 Hi Yasara,

 yeah you can check the retweets using retweeted_status as retweets
 contains slightly different json structure than tweets. But you have to
 keep track of whether your system already analyzed the original tweets 
 of
 this retweets ... Because there can be a scenario where your system 
 meet
 the retweet before the original tweet you are going to filter out that
 tweet and that data is loss..

 [1] link has some answer to this that a way you can edit the
 search query to filter out retweets 

 1.
 http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1

 But the i don't know whether this solve the above scenario i
 mentioned   But the above mentioned scenario is less likely to 
 happen
 

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Yasara Dissanayake
@yudhanjaya
Ok.Now it's working.Popular tweets are now saved to on database base on
that rank from CEP. Wrote custom window for siddi to calculate that rank
and sort them. Currently working with design web page using jaggery server.

Regards
Yasara

On Tue, Nov 17, 2015 at 3:11 PM, Yudhanjaya Wijeratne 
wrote:

> We'll have to talk to Srinath about that, I'm afraid. Let's get the RT
> system rolling first. Whatever we come up with the replies will also have
> to be displayed as part of that graph, so let's get the simpler stuff out
> of the way.
>
> On Tue, Nov 17, 2015 at 2:54 PM, Yasara Dissanayake 
> wrote:
>
>> hi,
>>
>> @Nipuna,
>> Dinali and me both are collecting retweets in same manner which she
>> explained earlier. Since I also consider the details original tweets of
>> retweets. Thank you for comments and link it would be very useful. And
>> about favorite count, isn't it a separate option something like like to the
>> post which can do even non friends? Here I mean the publicity of tweet.
>> that is initially when tweet are published it will be on friends wall. But
>> it has not impact as much as retweet and favorite count.
>>
>> @yudhanjaya
>> And what about the replies? if we consider them there can be +1, 0 and -1
>> support for that tweet. do we have to consider them ? if so do we have to
>> do some analysis?
>>
>> regards,
>> Yasara
>>
>> On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne <
>> yudhanj...@wso2.com> wrote:
>>
>>> Hi Madhawa, Nipuna,
>>>
>>> We'll be doing a bit of sentiment analysis later down the line using the
>>> stanford NLP implementation, but for now what we're trying to replicate in
>>> real-time is to
>>> a) rank tweets by freshness and popularity, which can give us some clue
>>> as to opinion influence and b) to basically do this
>>> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>>>
>>> Best,
>>> Yudha
>>>
>>> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa 
>>> wrote:
>>>
 HI Madhawa

 Context analysis in the sense we have to perform Natural language
 processing right? I think this require additional libraries ... and this is
 not yet accurate most of the time if we don't get a right model... as we
 dealing with natural languages ..

 Regards,

 On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara 
 wrote:

> Hi All,
>
> IMO It's better to do a context analysis on these tweet texts and draw
> separate two graphs, (positive / negative)
>
> Thanks,
> Madhawa
>
> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa 
> wrote:
>
>> Hi,
>>
>> I suggested above for if you are using tweeter API directly  i
>> don't know whether these can be done using wso2 twitter connector.  ...
>> i'll look in to it ..
>> Sorry for the misdirection if above replies are not helpful.
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa > > wrote:
>>
>>> Hi Yasara,
>>>
>>> yeah you can check the retweets using retweeted_status as retweets
>>> contains slightly different json structure than tweets. But you have to
>>> keep track of whether your system already analyzed the original tweets 
>>> of
>>> this retweets ... Because there can be a scenario where your system meet
>>> the retweet before the original tweet you are going to filter out that
>>> tweet and that data is loss..
>>>
>>> [1] link has some answer to this that a way you can edit the
>>> search query to filter out retweets 
>>>
>>> 1.
>>> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>>>
>>> But the i don't know whether this solve the above scenario i
>>> mentioned   But the above mentioned scenario is less likely to 
>>> happen
>>> if it is a live stream and there are no waiting periods included
>>>
>>> (You both replied while i'm typing the reply so ... following is the
>>> new suggestions .. but please go through above factors. those will help 
>>> you
>>> understand how tweeter API's work )
>>>
>>> @ Dinali ...
>>>
>>> +1 for your idea ..
>>>
>>> @ Yasara ..
>>>
>>> I think the favorites_count is calculated based on followers and
>>> retweets count ...
>>>
>>> https://dev.twitter.com/faq/finding-%26-counting-things
>>>
>>> Check before you do the same thing in your code.
>>>
>>> Regards,
>>>
>>> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake >> > wrote:
>>>
 Hi Nipuna,
 For our part we have to analyze tweets real time. For that
 currently we are planed to filter retweets by considering presence of
 retweeted_status attribute of a json massage which send by tweet 
 object,
 within the CEP. Does it seems to be a proper met

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Yasara Dissanayake
hi,

@Nipuna,
Dinali and me both are collecting retweets in same manner which she
explained earlier. Since I also consider the details original tweets of
retweets. Thank you for comments and link it would be very useful. And
about favorite count, isn't it a separate option something like like to the
post which can do even non friends? Here I mean the publicity of tweet.
that is initially when tweet are published it will be on friends wall. But
it has not impact as much as retweet and favorite count.

@yudhanjaya
And what about the replies? if we consider them there can be +1, 0 and -1
support for that tweet. do we have to consider them ? if so do we have to
do some analysis?

regards,
Yasara

On Tue, Nov 17, 2015 at 2:38 PM, Yudhanjaya Wijeratne 
wrote:

> Hi Madhawa, Nipuna,
>
> We'll be doing a bit of sentiment analysis later down the line using the
> stanford NLP implementation, but for now what we're trying to replicate in
> real-time is to
> a) rank tweets by freshness and popularity, which can give us some clue as
> to opinion influence and b) to basically do this
> https://iwringer.wordpress.com/2015/08/25/analysis-of-retweeting-patterns-in-sri-lankan-general-election/
>
> Best,
> Yudha
>
> On Tue, Nov 17, 2015 at 2:27 PM, Nipuna Chandradasa 
> wrote:
>
>> HI Madhawa
>>
>> Context analysis in the sense we have to perform Natural language
>> processing right? I think this require additional libraries ... and this is
>> not yet accurate most of the time if we don't get a right model... as we
>> dealing with natural languages ..
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara 
>> wrote:
>>
>>> Hi All,
>>>
>>> IMO It's better to do a context analysis on these tweet texts and draw
>>> separate two graphs, (positive / negative)
>>>
>>> Thanks,
>>> Madhawa
>>>
>>> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa 
>>> wrote:
>>>
 Hi,

 I suggested above for if you are using tweeter API directly  i
 don't know whether these can be done using wso2 twitter connector.  ...
 i'll look in to it ..
 Sorry for the misdirection if above replies are not helpful.

 Regards,

 On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa 
 wrote:

> Hi Yasara,
>
> yeah you can check the retweets using retweeted_status as retweets
> contains slightly different json structure than tweets. But you have to
> keep track of whether your system already analyzed the original tweets of
> this retweets ... Because there can be a scenario where your system meet
> the retweet before the original tweet you are going to filter out that
> tweet and that data is loss..
>
> [1] link has some answer to this that a way you can edit the
> search query to filter out retweets 
>
> 1.
> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>
> But the i don't know whether this solve the above scenario i mentioned
>   But the above mentioned scenario is less likely to happen if it is a
> live stream and there are no waiting periods included
>
> (You both replied while i'm typing the reply so ... following is the
> new suggestions .. but please go through above factors. those will help 
> you
> understand how tweeter API's work )
>
> @ Dinali ...
>
> +1 for your idea ..
>
> @ Yasara ..
>
> I think the favorites_count is calculated based on followers and
> retweets count ...
>
> https://dev.twitter.com/faq/finding-%26-counting-things
>
> Check before you do the same thing in your code.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake 
> wrote:
>
>> Hi Nipuna,
>> For our part we have to analyze tweets real time. For that currently
>> we are planed to filter retweets by considering presence of
>> retweeted_status attribute of a json massage which send by tweet object,
>> within the CEP. Does it seems to be a proper method? Do you have any 
>> better
>> idea ?
>>
>> regards,
>> Yasara
>>
>> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa <
>> nipu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Is this connector the api provided by twitter?... Then there are few
>>> things u have to keep in mind...
>>>
>>> 1. Twitter api gives each app 15 min waiting period once app collect
>>> the data from api So basically you have to wait 15 min to get data
>>> again
>>>
>>> 2. There are no filter system to filter retweets What you can do
>>> is get data using search query with date periods And filter 
>>> retweets in
>>> your app
>>>
>>> Hope you find this helpful
>>>
>>> Regards,
>>> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera" 
>>> wrote:
>>>
 Hi,

 I collected tweets which has ha

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Nipuna Chandradasa
HI Madhawa

Context analysis in the sense we have to perform Natural language
processing right? I think this require additional libraries ... and this is
not yet accurate most of the time if we don't get a right model... as we
dealing with natural languages ..

Regards,

On Tue, Nov 17, 2015 at 2:23 PM, Madhawa Gunasekara 
wrote:

> Hi All,
>
> IMO It's better to do a context analysis on these tweet texts and draw
> separate two graphs, (positive / negative)
>
> Thanks,
> Madhawa
>
> On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa 
> wrote:
>
>> Hi,
>>
>> I suggested above for if you are using tweeter API directly  i don't
>> know whether these can be done using wso2 twitter connector.  ... i'll look
>> in to it ..
>> Sorry for the misdirection if above replies are not helpful.
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi Yasara,
>>>
>>> yeah you can check the retweets using retweeted_status as retweets
>>> contains slightly different json structure than tweets. But you have to
>>> keep track of whether your system already analyzed the original tweets of
>>> this retweets ... Because there can be a scenario where your system meet
>>> the retweet before the original tweet you are going to filter out that
>>> tweet and that data is loss..
>>>
>>> [1] link has some answer to this that a way you can edit the search
>>> query to filter out retweets 
>>>
>>> 1.
>>> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>>>
>>> But the i don't know whether this solve the above scenario i mentioned
>>>   But the above mentioned scenario is less likely to happen if it is a
>>> live stream and there are no waiting periods included
>>>
>>> (You both replied while i'm typing the reply so ... following is the new
>>> suggestions .. but please go through above factors. those will help you
>>> understand how tweeter API's work )
>>>
>>> @ Dinali ...
>>>
>>> +1 for your idea ..
>>>
>>> @ Yasara ..
>>>
>>> I think the favorites_count is calculated based on followers and
>>> retweets count ...
>>>
>>> https://dev.twitter.com/faq/finding-%26-counting-things
>>>
>>> Check before you do the same thing in your code.
>>>
>>> Regards,
>>>
>>> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake 
>>> wrote:
>>>
 Hi Nipuna,
 For our part we have to analyze tweets real time. For that currently we
 are planed to filter retweets by considering presence of retweeted_status
 attribute of a json massage which send by tweet object, within the CEP.
 Does it seems to be a proper method? Do you have any better idea ?

 regards,
 Yasara

 On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
 wrote:

> Hi,
>
> Is this connector the api provided by twitter?... Then there are few
> things u have to keep in mind...
>
> 1. Twitter api gives each app 15 min waiting period once app collect
> the data from api So basically you have to wait 15 min to get data
> again
>
> 2. There are no filter system to filter retweets What you can do
> is get data using search query with date periods And filter retweets 
> in
> your app
>
> Hope you find this helpful
>
> Regards,
> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>
>> Hi,
>>
>> I collected tweets which has hash tag of Trump
>> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
>> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>>
>> The tweets are seems to be most probably retweets. Is there any issue
>> with the twitter connector,is it collecting only retweets?
>>
>> Cheers!!
>>
>> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
>> wrote:
>>
>>>
>>>
>>
>>
>> --
>> Dinali Rosemin
>> University of Peradeniya (Computer Engineering)
>> WSO2 Intern
>> 077-0198933
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>

>>>
>>>
>>> --
>>> Nipuna Marcus
>>> *Software Engineer*
>>> WSO2 Inc.
>>> http://wso2.com/ - "lean . enterprise . middleware"
>>> Mobile : +94 (0) 713 667906
>>> nipu...@wso2.com
>>>
>>
>>
>>
>> --
>> Nipuna Marcus
>> *Software Engineer*
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> Mobile : +94 (0) 713 667906
>> nipu...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> *
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> 

Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Madhawa Gunasekara
Hi All,

IMO It's better to do a context analysis on these tweet texts and draw
separate two graphs, (positive / negative)

Thanks,
Madhawa

On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa 
wrote:

> Hi,
>
> I suggested above for if you are using tweeter API directly  i don't
> know whether these can be done using wso2 twitter connector.  ... i'll look
> in to it ..
> Sorry for the misdirection if above replies are not helpful.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa 
> wrote:
>
>> Hi Yasara,
>>
>> yeah you can check the retweets using retweeted_status as retweets
>> contains slightly different json structure than tweets. But you have to
>> keep track of whether your system already analyzed the original tweets of
>> this retweets ... Because there can be a scenario where your system meet
>> the retweet before the original tweet you are going to filter out that
>> tweet and that data is loss..
>>
>> [1] link has some answer to this that a way you can edit the search
>> query to filter out retweets 
>>
>> 1.
>> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>>
>> But the i don't know whether this solve the above scenario i mentioned
>>   But the above mentioned scenario is less likely to happen if it is a
>> live stream and there are no waiting periods included
>>
>> (You both replied while i'm typing the reply so ... following is the new
>> suggestions .. but please go through above factors. those will help you
>> understand how tweeter API's work )
>>
>> @ Dinali ...
>>
>> +1 for your idea ..
>>
>> @ Yasara ..
>>
>> I think the favorites_count is calculated based on followers and retweets
>> count ...
>>
>> https://dev.twitter.com/faq/finding-%26-counting-things
>>
>> Check before you do the same thing in your code.
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi Nipuna,
>>> For our part we have to analyze tweets real time. For that currently we
>>> are planed to filter retweets by considering presence of retweeted_status
>>> attribute of a json massage which send by tweet object, within the CEP.
>>> Does it seems to be a proper method? Do you have any better idea ?
>>>
>>> regards,
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
>>> wrote:
>>>
 Hi,

 Is this connector the api provided by twitter?... Then there are few
 things u have to keep in mind...

 1. Twitter api gives each app 15 min waiting period once app collect
 the data from api So basically you have to wait 15 min to get data
 again

 2. There are no filter system to filter retweets What you can do is
 get data using search query with date periods And filter retweets in
 your app

 Hope you find this helpful

 Regards,
 On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:

> Hi,
>
> I collected tweets which has hash tag of Trump
> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>
> The tweets are seems to be most probably retweets. Is there any issue
> with the twitter connector,is it collecting only retweets?
>
> Cheers!!
>
> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
> wrote:
>
>>
>>
>
>
> --
> Dinali Rosemin
> University of Peradeniya (Computer Engineering)
> WSO2 Intern
> 077-0198933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>>>
>>
>>
>> --
>> Nipuna Marcus
>> *Software Engineer*
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> Mobile : +94 (0) 713 667906
>> nipu...@wso2.com
>>
>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Dinali Dabarera
hi,
 Thanks for the vote.

On Tue, Nov 17, 2015 at 2:13 PM, Nipuna Chandradasa 
wrote:

> Hi,
>
> I suggested above for if you are using tweeter API directly  i don't
> know whether these can be done using wso2 twitter connector.  ... i'll look
> in to it ..
> Sorry for the misdirection if above replies are not helpful.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa 
> wrote:
>
>> Hi Yasara,
>>
>> yeah you can check the retweets using retweeted_status as retweets
>> contains slightly different json structure than tweets. But you have to
>> keep track of whether your system already analyzed the original tweets of
>> this retweets ... Because there can be a scenario where your system meet
>> the retweet before the original tweet you are going to filter out that
>> tweet and that data is loss..
>>
>> [1] link has some answer to this that a way you can edit the search
>> query to filter out retweets 
>>
>> 1.
>> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>>
>> But the i don't know whether this solve the above scenario i mentioned
>>   But the above mentioned scenario is less likely to happen if it is a
>> live stream and there are no waiting periods included
>>
>> (You both replied while i'm typing the reply so ... following is the new
>> suggestions .. but please go through above factors. those will help you
>> understand how tweeter API's work )
>>
>> @ Dinali ...
>>
>> +1 for your idea ..
>>
>> @ Yasara ..
>>
>> I think the favorites_count is calculated based on followers and retweets
>> count ...
>>
>> https://dev.twitter.com/faq/finding-%26-counting-things
>>
>> Check before you do the same thing in your code.
>>
>> Regards,
>>
>> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake 
>> wrote:
>>
>>> Hi Nipuna,
>>> For our part we have to analyze tweets real time. For that currently we
>>> are planed to filter retweets by considering presence of retweeted_status
>>> attribute of a json massage which send by tweet object, within the CEP.
>>> Does it seems to be a proper method? Do you have any better idea ?
>>>
>>> regards,
>>> Yasara
>>>
>>> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
>>> wrote:
>>>
 Hi,

 Is this connector the api provided by twitter?... Then there are few
 things u have to keep in mind...

 1. Twitter api gives each app 15 min waiting period once app collect
 the data from api So basically you have to wait 15 min to get data
 again

 2. There are no filter system to filter retweets What you can do is
 get data using search query with date periods And filter retweets in
 your app

 Hope you find this helpful

 Regards,
 On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:

> Hi,
>
> I collected tweets which has hash tag of Trump
> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>
> The tweets are seems to be most probably retweets. Is there any issue
> with the twitter connector,is it collecting only retweets?
>
> Cheers!!
>
> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
> wrote:
>
>>
>>
>
>
> --
> Dinali Rosemin
> University of Peradeniya (Computer Engineering)
> WSO2 Intern
> 077-0198933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>>>
>>
>>
>> --
>> Nipuna Marcus
>> *Software Engineer*
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> Mobile : +94 (0) 713 667906
>> nipu...@wso2.com
>>
>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>



-- 
Dinali Rosemin
University of Peradeniya (Computer Engineering)
WSO2 Intern
077-0198933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Nipuna Chandradasa
Hi,

I suggested above for if you are using tweeter API directly  i don't
know whether these can be done using wso2 twitter connector.  ... i'll look
in to it ..
Sorry for the misdirection if above replies are not helpful.

Regards,

On Tue, Nov 17, 2015 at 2:10 PM, Nipuna Chandradasa 
wrote:

> Hi Yasara,
>
> yeah you can check the retweets using retweeted_status as retweets
> contains slightly different json structure than tweets. But you have to
> keep track of whether your system already analyzed the original tweets of
> this retweets ... Because there can be a scenario where your system meet
> the retweet before the original tweet you are going to filter out that
> tweet and that data is loss..
>
> [1] link has some answer to this that a way you can edit the search
> query to filter out retweets 
>
> 1.
> http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1
>
> But the i don't know whether this solve the above scenario i mentioned
>   But the above mentioned scenario is less likely to happen if it is a
> live stream and there are no waiting periods included
>
> (You both replied while i'm typing the reply so ... following is the new
> suggestions .. but please go through above factors. those will help you
> understand how tweeter API's work )
>
> @ Dinali ...
>
> +1 for your idea ..
>
> @ Yasara ..
>
> I think the favorites_count is calculated based on followers and retweets
> count ...
>
> https://dev.twitter.com/faq/finding-%26-counting-things
>
> Check before you do the same thing in your code.
>
> Regards,
>
> On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake 
> wrote:
>
>> Hi Nipuna,
>> For our part we have to analyze tweets real time. For that currently we
>> are planed to filter retweets by considering presence of retweeted_status
>> attribute of a json massage which send by tweet object, within the CEP.
>> Does it seems to be a proper method? Do you have any better idea ?
>>
>> regards,
>> Yasara
>>
>> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
>> wrote:
>>
>>> Hi,
>>>
>>> Is this connector the api provided by twitter?... Then there are few
>>> things u have to keep in mind...
>>>
>>> 1. Twitter api gives each app 15 min waiting period once app collect the
>>> data from api So basically you have to wait 15 min to get data again
>>>
>>> 2. There are no filter system to filter retweets What you can do is
>>> get data using search query with date periods And filter retweets in
>>> your app
>>>
>>> Hope you find this helpful
>>>
>>> Regards,
>>> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>>>
 Hi,

 I collected tweets which has hash tag of Trump
 #trump,#donaldtrump,#trump2016,#makeamericagreatagain
 from ESB through a twitter connector  to SPARK SQL tables in DAS.

 The tweets are seems to be most probably retweets. Is there any issue
 with the twitter connector,is it collecting only retweets?

 Cheers!!

 On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
 wrote:

>
>


 --
 Dinali Rosemin
 University of Peradeniya (Computer Engineering)
 WSO2 Intern
 077-0198933

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>



-- 
Nipuna Marcus
*Software Engineer*
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"
Mobile : +94 (0) 713 667906
nipu...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Nipuna Chandradasa
Hi Yasara,

yeah you can check the retweets using retweeted_status as retweets contains
slightly different json structure than tweets. But you have to keep track
of whether your system already analyzed the original tweets of this
retweets ... Because there can be a scenario where your system meet the
retweet before the original tweet you are going to filter out that tweet
and that data is loss..

[1] link has some answer to this that a way you can edit the search
query to filter out retweets 

1.
http://stackoverflow.com/questions/21748880/exclude-retweets-in-twitter-search-api-1-1

But the i don't know whether this solve the above scenario i mentioned
  But the above mentioned scenario is less likely to happen if it is a
live stream and there are no waiting periods included

(You both replied while i'm typing the reply so ... following is the new
suggestions .. but please go through above factors. those will help you
understand how tweeter API's work )

@ Dinali ...

+1 for your idea ..

@ Yasara ..

I think the favorites_count is calculated based on followers and retweets
count ...

https://dev.twitter.com/faq/finding-%26-counting-things

Check before you do the same thing in your code.

Regards,

On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake  wrote:

> Hi Nipuna,
> For our part we have to analyze tweets real time. For that currently we
> are planed to filter retweets by considering presence of retweeted_status
> attribute of a json massage which send by tweet object, within the CEP.
> Does it seems to be a proper method? Do you have any better idea ?
>
> regards,
> Yasara
>
> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi,
>>
>> Is this connector the api provided by twitter?... Then there are few
>> things u have to keep in mind...
>>
>> 1. Twitter api gives each app 15 min waiting period once app collect the
>> data from api So basically you have to wait 15 min to get data again
>>
>> 2. There are no filter system to filter retweets What you can do is
>> get data using search query with date periods And filter retweets in
>> your app
>>
>> Hope you find this helpful
>>
>> Regards,
>> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>>
>>> Hi,
>>>
>>> I collected tweets which has hash tag of Trump
>>> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
>>> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>>>
>>> The tweets are seems to be most probably retweets. Is there any issue
>>> with the twitter connector,is it collecting only retweets?
>>>
>>> Cheers!!
>>>
>>> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
>>> wrote:
>>>


>>>
>>>
>>> --
>>> Dinali Rosemin
>>> University of Peradeniya (Computer Engineering)
>>> WSO2 Intern
>>> 077-0198933
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>


-- 
Nipuna Marcus
*Software Engineer*
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"
Mobile : +94 (0) 713 667906
nipu...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Yasara Dissanayake
Hi,
Currently we are considering only retweets, favorites count and the life
time of the tweet as a factors to select most popular tweets at a
particular time. Can't we consider  friends or followers count as an impact
to become a tweet popular ? Thought because when tweet is produce it will
publish only on the friends account.

Regards,
Yasara

On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake  wrote:

> Hi Nipuna,
> For our part we have to analyze tweets real time. For that currently we
> are planed to filter retweets by considering presence of retweeted_status
> attribute of a json massage which send by tweet object, within the CEP.
> Does it seems to be a proper method? Do you have any better idea ?
>
> regards,
> Yasara
>
> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi,
>>
>> Is this connector the api provided by twitter?... Then there are few
>> things u have to keep in mind...
>>
>> 1. Twitter api gives each app 15 min waiting period once app collect the
>> data from api So basically you have to wait 15 min to get data again
>>
>> 2. There are no filter system to filter retweets What you can do is
>> get data using search query with date periods And filter retweets in
>> your app
>>
>> Hope you find this helpful
>>
>> Regards,
>> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>>
>>> Hi,
>>>
>>> I collected tweets which has hash tag of Trump
>>> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
>>> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>>>
>>> The tweets are seems to be most probably retweets. Is there any issue
>>> with the twitter connector,is it collecting only retweets?
>>>
>>> Cheers!!
>>>
>>> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
>>> wrote:
>>>


>>>
>>>
>>> --
>>> Dinali Rosemin
>>> University of Peradeniya (Computer Engineering)
>>> WSO2 Intern
>>> 077-0198933
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-17 Thread Dinali Dabarera
Hi ,
Me and Yasara working on the same project but she is using WSO2 twitter
connector with  CEP  and I am with DAS through ESB. When I collect tweets
to the persistent tabel in DAS they are mostly retweets. I have not found
any original tweet or replies.

I am collecting all tweets on hash tags of trump and calculating no of re
tweets in order to draw a community graph. Because of this problem  i am
getting the tweet count of the parent twee, irrespective of the re-tweet as
a solution for this matter.

So does anybody have any solutions for this problems or any other comments
on my decision.?


Cheers!


On Tue, Nov 17, 2015 at 1:04 PM, Yasara Dissanayake  wrote:

> Hi Nipuna,
> For our part we have to analyze tweets real time. For that currently we
> are planed to filter retweets by considering presence of retweeted_status
> attribute of a json massage which send by tweet object, within the CEP.
> Does it seems to be a proper method? Do you have any better idea ?
>
> regards,
> Yasara
>
> On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
> wrote:
>
>> Hi,
>>
>> Is this connector the api provided by twitter?... Then there are few
>> things u have to keep in mind...
>>
>> 1. Twitter api gives each app 15 min waiting period once app collect the
>> data from api So basically you have to wait 15 min to get data again
>>
>> 2. There are no filter system to filter retweets What you can do is
>> get data using search query with date periods And filter retweets in
>> your app
>>
>> Hope you find this helpful
>>
>> Regards,
>> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>>
>>> Hi,
>>>
>>> I collected tweets which has hash tag of Trump
>>> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
>>> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>>>
>>> The tweets are seems to be most probably retweets. Is there any issue
>>> with the twitter connector,is it collecting only retweets?
>>>
>>> Cheers!!
>>>
>>> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
>>> wrote:
>>>


>>>
>>>
>>> --
>>> Dinali Rosemin
>>> University of Peradeniya (Computer Engineering)
>>> WSO2 Intern
>>> 077-0198933
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>


-- 
Dinali Rosemin
University of Peradeniya (Computer Engineering)
WSO2 Intern
077-0198933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-16 Thread Yasara Dissanayake
Hi Nipuna,
For our part we have to analyze tweets real time. For that currently we are
planed to filter retweets by considering presence of retweeted_status
attribute of a json massage which send by tweet object, within the CEP.
Does it seems to be a proper method? Do you have any better idea ?

regards,
Yasara

On Tue, Nov 17, 2015 at 11:12 AM, Nipuna Chandradasa 
wrote:

> Hi,
>
> Is this connector the api provided by twitter?... Then there are few
> things u have to keep in mind...
>
> 1. Twitter api gives each app 15 min waiting period once app collect the
> data from api So basically you have to wait 15 min to get data again
>
> 2. There are no filter system to filter retweets What you can do is
> get data using search query with date periods And filter retweets in
> your app
>
> Hope you find this helpful
>
> Regards,
> On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:
>
>> Hi,
>>
>> I collected tweets which has hash tag of Trump
>> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
>> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>>
>> The tweets are seems to be most probably retweets. Is there any issue
>> with the twitter connector,is it collecting only retweets?
>>
>> Cheers!!
>>
>> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
>> wrote:
>>
>>>
>>>
>>
>>
>> --
>> Dinali Rosemin
>> University of Peradeniya (Computer Engineering)
>> WSO2 Intern
>> 077-0198933
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-16 Thread Nipuna Chandradasa
Hi,

Is this connector the api provided by twitter?... Then there are few things
u have to keep in mind...

1. Twitter api gives each app 15 min waiting period once app collect the
data from api So basically you have to wait 15 min to get data again

2. There are no filter system to filter retweets What you can do is get
data using search query with date periods And filter retweets in your
app

Hope you find this helpful

Regards,
On 17 Nov 2015 10:11 a.m., "Dinali Dabarera"  wrote:

> Hi,
>
> I collected tweets which has hash tag of Trump
> #trump,#donaldtrump,#trump2016,#makeamericagreatagain
> from ESB through a twitter connector  to SPARK SQL tables in DAS.
>
> The tweets are seems to be most probably retweets. Is there any issue with
> the twitter connector,is it collecting only retweets?
>
> Cheers!!
>
> On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake 
> wrote:
>
>>
>>
>
>
> --
> Dinali Rosemin
> University of Peradeniya (Computer Engineering)
> WSO2 Intern
> 077-0198933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2015-11-16 Thread Dinali Dabarera
Hi,

I collected tweets which has hash tag of Trump
#trump,#donaldtrump,#trump2016,#makeamericagreatagain
from ESB through a twitter connector  to SPARK SQL tables in DAS.

The tweets are seems to be most probably retweets. Is there any issue with
the twitter connector,is it collecting only retweets?

Cheers!!

On Tue, Nov 17, 2015 at 8:49 AM, Yasara Dissanayake  wrote:

>
>


-- 
Dinali Rosemin
University of Peradeniya (Computer Engineering)
WSO2 Intern
077-0198933
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] US Election 2016 Tweet Analyze System

2015-11-16 Thread Yasara Dissanayake

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev