[REF] ICS User Experience Graphs (sentiment analysis)

Which threads are the most useful to analyse?

  • ROM threads

    Votes: 40 87.0%
  • Kernel threads

    Votes: 24 52.2%
  • Theme/App threads

    Votes: 2 4.3%
  • General threads

    Votes: 4 8.7%
  • Threads for other devices

    Votes: 1 2.2%

  • Total voters
    46
Status
Not open for further replies.
Search This thread

tchaari

Senior Member
Dec 27, 2011
1,124
1,104
Yes triples. Let's be practical here, there is no way that I can go through every post and input it into a box on a webpage, then collect the output and tally up the scores after every post for every thread.
It's that hard bedalus. A program can send a HTTP request and get the HTML that you can analyze as a string. I can do it in Java but I haven't any free time this period :(

The link for the first one is down now. I didn't see any individual word colour coding when I tried it before. But it would take too much time to personally count up positives and negatives. I could read all the threads faster than doing that.
My idea is to count it using a program. These are the main steps:
1) Collect a limited number of random posts from each thread (without splitting or counting words)
2) Merge the posts in some big strings. Each string should have the length of the maximum characters supported by the sentiment analysis input box.
3) send each string in a HTTP request to the sentiment analysis web server.
4) get the HTML response as a string and automatically count the number of positives and negatives (if you want to use my first link).
4') If you prefer the second online tool (that outputs the arrow image), you can also get the resulting image automatically by the program.
If you want to do it in Java, I can give you more details on how to do it :). It should take one day of work at max ;)

EDIT: first link is broken as you said bedalus. I'll try to look for other online opinion/sentiment analysis tools later.
 
Last edited:

tchaari

Senior Member
Dec 27, 2011
1,124
1,104
I think bedalus & tchaari should get the title "Recognized Analyst" here :D :D

Sent from my Nexus S using xda premium

You are also in the same boat Glenn. The ICS ROM hierarchy is the proof ;)
Bedalus is doing the hard work here. I just try to help by some ideas. I hope I had more free time to implement these ideas (that aren't always interesting lol) ;)
 
  • Like
Reactions: glennkaonang
B

bedalus

Guest
[AOSP][4.0.4]Codename Android 2.0.0RC|Fully Open Source+Nightly Builds
http://xdaforums.com/showthread.php?t=1463437
CNAv2.png
http://sentimentanalyzer.appspot.com/
 

Attachments

  • Analysis.xlsx
    179.8 KB · Views: 2
Last edited:
B

bedalus

Guest
[ROM][MIUI 4][2.4.6] Catalyst MIUI (r2) with Multi-Language Pack
http://xdaforums.com/showthread.php?t=1483033
kong_catalyst.png
http://sentimentanalyzer.appspot.com/

Although I also checked the text here: http://text-processing.com/demo/sentiment/

and got a rating of 60% positive sentiment.

I think I will go back and check previous results with this service.

EDIT: Okay, I went back and checked Pixel ROM and got 80% negative!

So with these two websites, Catalyst's results are quite contradictory, and Pixel ROM's results are almost totally contradictory.

I suppose that this project has some serious technical difficulties to overcome if the results are going to be reliable.
 

Attachments

  • Analysis.xlsx
    135.2 KB · Views: 3
Last edited:

tchaari

Senior Member
Dec 27, 2011
1,124
1,104
EDIT: Okay, I went back and checked Pixel ROM and got 80% negative!

So with these two websites, Catalyst's results are quite contradictory, and Pixel ROM's results are almost totally contradictory.

I suppose that this project has some serious technical difficulties to overcome if the results are going to be reliable.

I think that this is mainly due to applying the sentiment analysis on words triples (which are not very significant). It should be better to analyze all the thread text. the wingify website (http://www.wingify.com/labs.php) can directly handle an URL and gives an overall score. You can continue to use the printable version of the forum to get a list of URLs and compute the average of pages scores for each thread. This is an example for the Catalyst thread:
http://xdaforums.com/printthread.php?t=1483033&pp=50&page=1
http://xdaforums.com/printthread.php?t=1483033&pp=50&page=2
...
http://xdaforums.com/printthread.php?t=1483033&pp=50&page=24

If the process is too long, you can take a limited number of pages randomly and just compute their average.
EDIT: we can consider the last 5 or 6 pages (200~300 posts). They are generally the most significant.
For example, the last 5 pages of the Catalyst thread are 75% positive (average of the 5 pages scores computed manually using http://www.wingify.com/labs.php)
 
Last edited:
B

bedalus

Guest
Nice work! I wonder if this can be automated? Also, perhaps sentiment can be tracked over time by supplying a set of posts from week to week.

kernels ; battery ; ROM ; gov/sched
Now with summaries in the first posts. Convenient for XDA app users!
 
B

bedalus

Guest

Attachments

  • Analysis.xlsx
    126.7 KB · Views: 4
Last edited:
B

bedalus

Guest
Last edited:

tchaari

Senior Member
Dec 27, 2011
1,124
1,104
B

bedalus

Guest
Yes bedalus. It can be automated. A HTTP request (call of a web page from a program with strings at the place of input box) can be done using any language curl, C++, Java...
This is discussion about how to do it in C++
http://stackoverflow.com/questions/1011339/how-do-you-make-a-http-request-with-c

Wow, programming is amazing. I'll try to build that example into a c++ program tomorrow. Then I'll see if I can do a full page of text to the api (there is a character limit). I'll aim to attach dates too.

http://www.alchemyapi.com/api/sentiment/textc.html

The above link gave me a slightly positive rating for my rank of word-triples for Slim ICS, whereas other sites had given negative. After looking at the word triples manually, it seems the sentiment is definitely positive. I think this is a good sign that the api will prove to be reliable... perhaps it will be more reliable with virgin text. Exciting!
 
B

bedalus

Guest
UPDATE: Checked my original program for tallying threads worked when threads got longer. Expected behaviour was to only read the necessary pages and update the .dat file. Unfortunately, it reads the new pages, and replaces the .dat file. Fixed now (I think... I have to wait until a thread gets longer to test).

I cannot understand how to integrate curl into c++ so I will just use system calls and place a prebuilt curl program in system32. It's an easy workaround.
 
B

bedalus

Guest
UPDATE: Nearly have it working.

I have threads sending their entire text (but no quotes) to the sentiment api in 400 word chunks, with scores returned.

I plan to share the results as a graph.
 

tchaari

Senior Member
Dec 27, 2011
1,124
1,104
UPDATE: Nearly have it working.

I have threads sending their entire text (but no quotes) to the sentiment api in 400 word chunks, with scores returned.

I plan to share the results as a graph.

wow, this is very very interesting bedalus. Are you interested to mount a software engineering company with me? lol
EDIT: I am thinking about the next challenge: smoothness benchmark :D
 
Last edited:
B

bedalus

Guest
wow, this is very very interesting bedalus. Are you interested to mount a software engineering company with me? lol
EDIT: I am thinking about the next challenge: smoothness benchmark :D

Don't know if I'll have the time to go global... :p

Program now works completely. I can't share it yet, I just need to write a method to import my private key from a file. Then other people can use it (but would need to get their own key). It wouldn't be much work, but unless I get demand for that, I actually think will just keep it private for now.

... because now it's working well, I will start working on a public chart!

EDIT: Okay, here's the new graph format, shows the accumulation of sentiment. So far only NexusMV (CM9 base) visible.

Link: https://docs.google.com/spreadsheet/ccc?key=0AntDDKv-lS6IdG9YU2h0LWVKT0RrZzVlMmZzNlhwSWc
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    enjoy your week buddy and don't think a lot about benchmarks in your holidays :D

    He gets sweet dreams & also nightmares of " BENCHMARKS " .

    As i heard from one of bedalus neighbor , Sometimes when bedalus sleep he says ,

    1. " Oh ! my dear benchmark . my love , ***** ( adult only words occurs after that )

    2. " Ohh ! what the hell benchmark , you go to hell , you f**** ( adult only words occurs after that )

    Then he wakes up & runs to his PC & so on , so on
    icon10.gif


    Edit : Enjoy your holiday buddy ! :D
    2
    I think bedalus & tchaari should get the title "Recognized Analyst" here :D :D

    Sent from my Nexus S using xda premium
    2
    This is the new ranking of the ROMs according to my sentiment analysis program. I removed the ROMs that were not updated since one month and I also removed the threads that have less than 200 posts.
    1) [ROM] Androxide 2.0.0 | AOSP | 4.0.4 | 24-04-2012 [26th March 2012 09:52 AM : 0,866] [29th March 2012 03:52 PM : 0,881] [10th April 2012 06:41 AM : 0,637] [25th April 2012 05:26 PM : 0,783] [30th April 2012 11:00 PM : 1,008] --> {avg=0,835}
    2) [ROM | 4.0.4][MIUIV4] MIUIXPERIENCE #5 | Smooth! Duration! Stock! [20th April 2012 05:57 PM : 0,821] [23rd April 2012 12:44 PM : 0,803] [25th April 2012 04:57 AM : 0,822] [28th April 2012 07:39 PM : 0,765] --> {avg=0,803}
    3) [ROM][ICS][AOSP] Bugless Beast (Nightlies) [13th April 2012 05:18 PM : 0,748] [16th April 2012 11:52 PM : 0,857] [23rd April 2012 07:57 PM : 0,773] [1st May 2012 12:33 AM : 0,785] --> {avg=0,791}
    4) [ROM][4.0.4]Slim ICS 68MB- Clean, Simple & Fast - The Google Way [5th April 2012 12:28 AM : 0,846] [14th April 2012 10:21 AM : 0,857] [23rd April 2012 09:04 AM : 0,681] [30th April 2012 03:43 PM : 0,652] --> {avg=0,759}
    5) [ROM][MIUI 4][2.4.27] Catalyst MIUI with Language Packs and OTA Update [20th April 2012 04:59 PM : 0,502] [24th April 2012 03:30 PM : 0,603] [25th April 2012 04:56 PM : 0,763] [29th April 2012 12:02 PM : 0,758] [1st May 2012 01:09 AM : 0,878] --> {avg=0,701}
    6) [ROM][INFO][AOSP][ICS] Android Open Kang Project-build 22 [28th March 2012 07:54 PM : 0,794] [16th April 2012 04:32 AM : 0,795] [24th April 2012 12:44 AM : 0,855] [29th April 2012 12:34 PM : 0,807] [30th April 2012 01:20 PM : 0,185] --> {avg=0,687}
    7) [ROM][AOSP][4.0.4][Crespo] Gummy 102 - 21 APR 2012 [14th April 2012 10:24 AM : 0,668] [17th April 2012 07:46 PM : 0,605] [21st April 2012 04:17 PM : 0,741] [25th April 2012 08:31 AM : 0,673] [29th April 2012 03:40 PM : 0,687] --> {avg=0,675}
    8) [ROM] [i9020/23] CyanogenMod 9 v4.0.4 v7.0 + CM Night builds [24th April 2012 02:33 PM : 0,7] [25th April 2012 09:49 PM : 0,763] [27th April 2012 01:55 PM : 0,536] [29th April 2012 10:14 PM : 0,721] [30th April 2012 10:47 PM : 0,644] --> {avg=0,673}
    2
    with my Data limit for a month ( only 3Gb ) i really can't release any roms frequently . That's the reason :( I'm thinking of quiting from rom modding & keep on testing other roms & kernels :rolleyes: :D

    Oh no, please don't. Don't worry, I can wait an entire month for the next Oodie Skank :D
    Really Oodie, if you have enough free time for developing and you really like it, I highly encourage you to keep modding. I would like to do it but not enough free time (teaching, scientific research, student projects supervising, administrative tasks, wife, family...) and I really feel happy when young devs like you do things that I wanted to do ;)
    1
    I think bedalus & tchaari should get the title "Recognized Analyst" here :D :D

    Sent from my Nexus S using xda premium

    You are also in the same boat Glenn. The ICS ROM hierarchy is the proof ;)
    Bedalus is doing the hard work here. I just try to help by some ideas. I hope I had more free time to implement these ideas (that aren't always interesting lol) ;)