{"id":1886,"date":"2013-09-22T12:19:24","date_gmt":"2013-09-22T08:19:24","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=1886"},"modified":"2013-09-22T13:05:19","modified_gmt":"2013-09-22T09:05:19","slug":"emotion-for-dummies-machines","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2013\/emotion-for-dummies-machines\/","title":{"rendered":"Emotion for Dummies (Machines)"},"content":{"rendered":"<p>Imagine one morning your car just refuses to start because it is feeling depressed. Or it performs badly on the road not exceeding 60 km\/h. You would most probably be like &#8220;B*tch please. What The F*ck is wrong with you. Get the f*ck moving!!!&#8221;<\/p>\n<p>Emotions are sometimes considered as a negative thing especially for heart broke people. Brilliant students fail their exams. Neways, let&#8217;s make a hypothesis if machines would be more performant with &#8220;emotions&#8221;.<\/p>\n<figure id=\"attachment_1894\" aria-describedby=\"caption-attachment-1894\" style=\"width: 275px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/noo-noo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1894\" alt=\"Source: hccanet.org\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/noo-noo.jpg\" width=\"275\" height=\"250\" \/><\/a><figcaption id=\"caption-attachment-1894\" class=\"wp-caption-text\">Source: hccanet.org<\/figcaption><\/figure>\n<p><strong>The &#8220;Sad&#8221; Car<\/strong><br \/>\nSame thing applies for a car. If you just press the accelerator down most of the time, you&#8217;re definitely wearing down the parts if you don&#8217;t do proper maintenance with it. If the car knew that it&#8217;s owner doesn&#8217;t &#8220;love&#8221; him, it would have not ran fast. It would go on an average speed like 60-80km\/h max.<\/p>\n<p>Advantages:-<br \/>\n1. Car wear is reduced. Hence heavy maintenance cost is reduced. $$$<br \/>\n2. A driver who goes fast on a probably worn on car is a serious security risk both for the car and driver.<\/p>\n<p>When the car &#8220;cares&#8221; about itself, the driver also travels safer.<\/p>\n<p><strong>The &#8220;Happy&#8221; Car<\/strong><br \/>\nIf car is a happy, it knows it can push it&#8217;s limit to the maximum. It has a &#8220;trust&#8221; relationship with its owner. IF you let your wife drive, the it would be great if the car would go into &#8220;scared&#8221; state behave accordingly. I think you got the point \ud83d\ude1b<\/p>\n<p><strong>Modelling Emotions using Fuzzy Logic<\/strong><br \/>\nI&#8217;m supposed to learn Fuzzy Logic for my <a href=\"https:\/\/nayarweb.com\/blog\/2013\/mera-final-year-project\/\">Final Year Project<\/a>. I&#8217;ll try to make a tiny demo. For non-techical people, you might just skip to The Evil Playboys section.<\/p>\n<p>Let&#8217;s make a tiny simulation of such a car. We will have 2 input variables namely &#8220;care&#8221; which will be between 0 &#8211; 10. Accelerator will be between 0 &#8211; 1. Speed will be between 0 &#8211; 150. Did that in Fuzzy Logic Toolbox in 30 mins. Not that good but quite usable.<\/p>\n<p>The rules:-<\/p>\n<p><a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot30.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1895\" alt=\"snapshot30\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot30.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot30.png 502w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot30-300x34.png 300w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><\/p>\n<p>Case 1: No love \ud83d\ude41<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot23.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1888\" alt=\"No Care, No Acceleration\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot23.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot23.png 550w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot23-300x150.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>Case 2: Trying to push the car<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot24.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1889\" alt=\"snapshot24\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot24.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot24.png 552w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot24-300x150.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/a><\/p>\n<p>Case 3: Moderate care, moderate accelaration.<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot26.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1890\" alt=\"snapshot26\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot26.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot26.png 547w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot26-300x152.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n<p>Case 4: Increasing care, same acceleration<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot27.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1891\" alt=\"snapshot27\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot27.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot27.png 547w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot27-300x150.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n<p>Case 5: Pushing own accelerator fully<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot28.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1892\" alt=\"snapshot28\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot28.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot28.png 540w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot28-300x149.png 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<p>Case 6: Perfect car with full accelerator pressed<br \/>\n<a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot29.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-1893\" alt=\"snapshot29\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot29.png\" width=\"400\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot29.png 542w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/09\/snapshot29-300x151.png 300w\" sizes=\"(max-width: 542px) 100vw, 542px\" \/><\/a><\/p>\n<p><strong>The Evil Playboys<\/strong><\/p>\n<p>Ofcourse. Some people might use it for their own benefits and &#8220;play with emotions&#8221; of others. Giving the machines false &#8220;pats&#8221; and turning off their sensors or hacking into the system to make the &#8220;happy&#8221; value higher would surely increase the productivity on the short term. But at the end, it always results in broken hardwares and &lt;3. What do you think?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine one morning your car just refuses to start because it is feeling depressed. Or it performs badly on the road not exceeding 60 km\/h. You would most probably be like &#8220;B*tch please. What The F*ck is wrong with you. Get the f*ck moving!!!&#8221; Emotions are sometimes considered as a negative thing especially for heart &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2013\/emotion-for-dummies-machines\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">Emotion for Dummies (Machines)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[172,170,173],"class_list":["post-1886","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-emotion","tag-fuzzy-logic","tag-hypothesis"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=1886"}],"version-history":[{"count":6,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1886\/revisions"}],"predecessor-version":[{"id":1900,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1886\/revisions\/1900"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=1886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=1886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=1886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}