dcsan / jobot

jobot
0 stars 0 forks source link

watson personality insights #1

Open dcsan opened 9 years ago

dcsan commented 9 years ago

http://jsonviewer.stack.hu/

http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/apis/#!/personality-insights/profile

image

dcsan commented 9 years ago

{
 "id": "*UNKNOWN*",
 "source": "*UNKNOWN*",
 "word_count": 286,
 "word_count_message": "There were 286 words in the input. We need a minimum of 3,500, preferably 6,000 or more, to compute statistically significant estimates",
 "processed_lang": "en",
 "tree": {
   "id": "r",
   "name": "root",
   "children": [
     {
       "id": "personality",
       "name": "Big 5 ",
       "children": [
         {
           "id": "Openness_parent",
           "name": "Openness",
           "category": "personality",
           "percentage": 1,
           "children": [
             {
               "id": "Openness",
               "name": "Openness",
               "category": "personality",
               "percentage": 1,
               "sampling_error": 0.0632833642,
               "children": [
                 {
                   "id": "Adventurousness",
                   "name": "Adventurousness",
                   "category": "personality",
                   "percentage": 0.9624360667419408,
                   "sampling_error": 0.0531550386
                 },
                 {
                   "id": "Artistic interests",
                   "name": "Artistic interests",
                   "category": "personality",
                   "percentage": 1,
                   "sampling_error": 0.10839660699999999
                 },
                 {
                   "id": "Emotionality",
                   "name": "Emotionality",
                   "category": "personality",
                   "percentage": 0.7986538235680306,
                   "sampling_error": 0.0497012224
                 },
                 {
                   "id": "Imagination",
                   "name": "Imagination",
                   "category": "personality",
                   "percentage": 1,
                   "sampling_error": 0.0672249946
                 },
                 {
                   "id": "Intellect",
                   "name": "Intellect",
                   "category": "personality",
                   "percentage": 1,
                   "sampling_error": 0.0588886918
                 },
                 {
                   "id": "Liberalism",
                   "name": "Authority-challenging",
                   "category": "personality",
                   "percentage": 0.9898993043600245,
                   "sampling_error": 0.0869390786
                 }
               ]
             },
             {
               "id": "Conscientiousness",
               "name": "Conscientiousness",
               "category": "personality",
               "percentage": 0.4456370506426166,
               "sampling_error": 0.07947216480000001,
               "children": [
                 {
                   "id": "Achievement striving",
                   "name": "Achievement striving",
                   "category": "personality",
                   "percentage": 0.17634265040351282,
                   "sampling_error": 0.10271222519999999
                 },
                 {
                   "id": "Cautiousness",
                   "name": "Cautiousness",
                   "category": "personality",
                   "percentage": 0.20201093042719076,
                   "sampling_error": 0.0950650644
                 },
                 {
                   "id": "Dutifulness",
                   "name": "Dutifulness",
                   "category": "personality",
                   "percentage": 0.009605437609553558,
                   "sampling_error": 0.0633665808
                 },
                 {
                   "id": "Orderliness",
                   "name": "Orderliness",
                   "category": "personality",
                   "percentage": 0.00951030345654535,
                   "sampling_error": 0.073016711
                 },
                 {
                   "id": "Self-discipline",
                   "name": "Self-discipline",
                   "category": "personality",
                   "percentage": 0.04202170506595275,
                   "sampling_error": 0.0485074068
                 },
                 {
                   "id": "Self-efficacy",
                   "name": "Self-efficacy",
                   "category": "personality",
                   "percentage": 0.2832059331793552,
                   "sampling_error": 0.0960344516
                 }
               ]
             },
             {
               "id": "Extraversion",
               "name": "Extraversion",
               "category": "personality",
               "percentage": 0.28430400828728086,
               "sampling_error": 0.0593316022,
               "children": [
                 {
                   "id": "Activity level",
                   "name": "Activity level",
                   "category": "personality",
                   "percentage": 0,
                   "sampling_error": 0.0810496966
                 },
                 {
                   "id": "Assertiveness",
                   "name": "Assertiveness",
                   "category": "personality",
                   "percentage": 0.035944542857474227,
                   "sampling_error": 0.08659929740000001
                 },
                 {
                   "id": "Cheerfulness",
                   "name": "Cheerfulness",
                   "category": "personality",
                   "percentage": 0.047899677371103136,
                   "sampling_error": 0.10894908140000001
                 },
                 {
                   "id": "Excitement-seeking",
                   "name": "Excitement-seeking",
                   "category": "personality",
                   "percentage": 0.16966465907625441,
                   "sampling_error": 0.08340206160000001
                 },
                 {
                   "id": "Friendliness",
                   "name": "Outgoing",
                   "category": "personality",
                   "percentage": 0.06449903560372737,
                   "sampling_error": 0.0783681324
                 },
                 {
                   "id": "Gregariousness",
                   "name": "Gregariousness",
                   "category": "personality",
                   "percentage": 0.029594021817525393,
                   "sampling_error": 0.0595545252
                 }
               ]
             },
             {
               "id": "Agreeableness",
               "name": "Agreeableness",
               "category": "personality",
               "percentage": 0.028824876716726178,
               "sampling_error": 0.100379252,
               "children": [
                 {
                   "id": "Altruism",
                   "name": "Altruism",
                   "category": "personality",
                   "percentage": 0.5421558448749003,
                   "sampling_error": 0.07350043440000001
                 },
                 {
                   "id": "Cooperation",
                   "name": "Cooperation",
                   "category": "personality",
                   "percentage": 0.8147801191399617,
                   "sampling_error": 0.08261767860000001
                 },
                 {
                   "id": "Modesty",
                   "name": "Modesty",
                   "category": "personality",
                   "percentage": 0.019198470239418175,
                   "sampling_error": 0.058538731399999995
                 },
                 {
                   "id": "Morality",
                   "name": "Uncompromising",
                   "category": "personality",
                   "percentage": 0.03820691408880389,
                   "sampling_error": 0.0655917478
                 },
                 {
                   "id": "Sympathy",
                   "name": "Sympathy",
                   "category": "personality",
                   "percentage": 1,
                   "sampling_error": 0.10128828479999999
                 },
                 {
                   "id": "Trust",
                   "name": "Trust",
                   "category": "personality",
                   "percentage": 0.08359674771657029,
                   "sampling_error": 0.059120931200000004
                 }
               ]
             },
             {
               "id": "Neuroticism",
               "name": "Emotional range",
               "category": "personality",
               "percentage": 0.46853282429876253,
               "sampling_error": 0.09475884999999999,
               "children": [
                 {
                   "id": "Anger",
                   "name": "Fiery",
                   "category": "personality",
                   "percentage": 0.3648519766895326,
                   "sampling_error": 0.0976215502
                 },
                 {
                   "id": "Anxiety",
                   "name": "Prone to worry",
                   "category": "personality",
                   "percentage": 0.4560928755202938,
                   "sampling_error": 0.0574824778
                 },
                 {
                   "id": "Depression",
                   "name": "Melancholy",
                   "category": "personality",
                   "percentage": 0.9003152393125456,
                   "sampling_error": 0.061617820399999995
                 },
                 {
                   "id": "Immoderation",
                   "name": "Immoderation",
                   "category": "personality",
                   "percentage": 0.7709122858526771,
                   "sampling_error": 0.0550289446
                 },
                 {
                   "id": "Self-consciousness",
                   "name": "Self-consciousness",
                   "category": "personality",
                   "percentage": 0.3500866809851914,
                   "sampling_error": 0.0593669618
                 },
                 {
                   "id": "Vulnerability",
                   "name": "Susceptible to stress",
                   "category": "personality",
                   "percentage": 0.007793893024684717,
                   "sampling_error": 0.08875474159999999
                 }
               ]
             }
           ]
         }
       ]
     },
     {
       "id": "needs",
       "name": "Needs",
       "children": [
         {
           "id": "Challenge_parent",
           "name": "Challenge",
           "category": "needs",
           "percentage": 1,
           "children": [
             {
               "id": "Challenge",
               "name": "Challenge",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.0862578428
             },
             {
               "id": "Closeness",
               "name": "Closeness",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.0850596572
             },
             {
               "id": "Curiosity",
               "name": "Curiosity",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.1231942078
             },
             {
               "id": "Excitement",
               "name": "Excitement",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.11253599480000001
             },
             {
               "id": "Harmony",
               "name": "Harmony",
               "category": "needs",
               "percentage": 0.9893280466315968,
               "sampling_error": 0.11252259560000001
             },
             {
               "id": "Ideal",
               "name": "Ideal",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.102006053
             },
             {
               "id": "Liberty",
               "name": "Liberty",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.1490101758
             },
             {
               "id": "Love",
               "name": "Love",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.1035822908
             },
             {
               "id": "Practicality",
               "name": "Practicality",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.08994698720000001
             },
             {
               "id": "Self-expression",
               "name": "Self-expression",
               "category": "needs",
               "percentage": 0.9712845623621732,
               "sampling_error": 0.0836474876
             },
             {
               "id": "Stability",
               "name": "Stability",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.1095115304
             },
             {
               "id": "Structure",
               "name": "Structure",
               "category": "needs",
               "percentage": 1,
               "sampling_error": 0.0821491598
             }
           ]
         }
       ]
     },
     {
       "id": "values",
       "name": "Values",
       "children": [
         {
           "id": "Openness to change_parent",
           "name": "Openness to change",
           "category": "values",
           "percentage": 1,
           "children": [
             {
               "id": "Conservation",
               "name": "Conservation",
               "category": "values",
               "percentage": 0.0075233123766379455,
               "sampling_error": 0.0699447224
             },
             {
               "id": "Openness to change",
               "name": "Openness to change",
               "category": "values",
               "percentage": 1,
               "sampling_error": 0.06600911100000001
             },
             {
               "id": "Hedonism",
               "name": "Hedonism",
               "category": "values",
               "percentage": 0.980309640563227,
               "sampling_error": 0.1409016212
             },
             {
               "id": "Self-enhancement",
               "name": "Self-enhancement",
               "category": "values",
               "percentage": 0.34368728261642517,
               "sampling_error": 0.10625918899999999
             },
             {
               "id": "Self-transcendence",
               "name": "Self-transcendence",
               "category": "values",
               "percentage": 0.5788499964813318,
               "sampling_error": 0.084597065
             }
           ]
         }
       ]
     }
   ]
 }
}

can be explored like:

image

dcsan commented 9 years ago

s.tree.children[0].children[1]
undefined
s.tree.children[0].children.name
undefined
s.tree.children[0].children[1]
undefined
s.tree.children[0].children
[Object]
s.tree.children[0].children[0]
Object {id: "Openness_parent", name: "Openness", category: "personality", percentage: 1, children: Array[5]}
s.tree.children[0].children[0].name
"Openness"
dcsan commented 9 years ago

https://www.npmjs.com/package/watson-developer-cloud?cm_mc_uid=55041688048714190716538&cm_mc_sid_50200000=1442737833#personality-insights