{"id":12666,"date":"2014-09-30T17:25:14","date_gmt":"2014-09-30T16:25:14","guid":{"rendered":"http:\/\/www.decidesoluciones.es\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/"},"modified":"2020-03-27T13:27:33","modified_gmt":"2020-03-27T13:27:33","slug":"el-riesgo-de-encontrarse-a-un-hombre-lobo-2","status":"publish","type":"post","link":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/","title":{"rendered":"Challenge #SEPT014: The risk of meeting a Werewolf"},"content":{"rendered":"<p>After discover this funny problem in this <a href=\"http:\/\/dmcommunity.wordpress.com\/challenge\/challenge-sep-2014\/\">post<\/a> we&#8217;ve solved it by creating a Decision Service under IBM ODM 8.6 technology. Although it&#8217;s clear that it&#8217;s not a realistic stuff (we all know that werewolves don&#8217;t live int graveyards) is a good example that shows how to define the calculation of a risk.<\/p>\n<p>This is our proposal to the problem posed by the LinkedIn group &#8220;<a href=\"https:\/\/www.linkedin.com\/groupAnswers?viewQuestionAndAnswers=&amp;discussionID=229274672&amp;ut=2_vB_g9DVNbRI1&amp;trk=eml-anet_dig-b_nd-pst_ttle-cn&amp;gid=3394865\">The Decision Model<\/a>&#8221; with the following statement:<\/p>\n<blockquote><p><strong><em>Decision Model:\u00a0 \u201cDetermine the Risk of Meeting a Werewolf\u201c<\/em><\/strong><\/p>\n<p><em>\u00a0\u00a0\u00a0 Trying to determine the risk of meeting a Werewolf based upon two factors: Phase of the Moon, and Distance from Graveyard. Here are the rules:<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 Fact Type: Phase of the Moon<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Values: New Moon, Half Moon, Three-Quarter Moon, Full Moon<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Rule Family: Phase of the Moon Risk<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Conditions | Conclusions<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 New Moon | .01<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Half Moon | .25<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Three-Quarter Moon | .50<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Full Moon | .75<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 Fact Type: Miles from Graveyard<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Values: &lt; 5 miles, between {5 miles, 25 miles}, &gt; 25 miles<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Rule Family: Miles from Graveyard Risk<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Conditions\u00a0 | Conclusions<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 &lt;5 miles\u00a0\u00a0\u00a0\u00a0\u00a0 |\u00a0 .75<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 between {5 miles, 25 miles} | .25<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 &gt; 25 miles\u00a0 | .01<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 Fact Type: Werewolf Risk<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Values: Phase of the Moon, Miles from Graveyard<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Rule Family: Werewolf Risk Weights<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Conditions | Conclusion<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Phase of the Moon | .75<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 Miles from Graveyard | .5<\/em><\/p>\n<p><em>\u00a0\u00a0\u00a0 Calculate Werewolf Risk:<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 (Phase of the Moon weight * Phase of the Moon Risk) + (Miles from Graveyard weight * Miles from Graveyard Risk) = Werewolf Risk<\/em><\/p><\/blockquote>\n<p>First, we define a new MoonPhase type with an static domain populated with the different Moon Phases to use as an input argument:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/01BOM_MoonDomain.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;1011&#8243; height=&#8221;558&#8243;]<\/p>\n<p>With this new MoonPhase type we can define the two input parameters\u00a0 (&#8220;the input moon phase&#8221; and &#8220;the input miles from graveyard&#8221;) ant the output calculated risk (&#8220;the output werewolf risk&#8221;)<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/02OperationParameters.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;1062&#8243; height=&#8221;513&#8243;]<\/p>\n<p>We also define a set of internal variables to store the risks and the weights to be used for the final calculation:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/02-Variables.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;734&#8243; height=&#8221;502&#8243;]<\/p>\n<p>Decision Table: Phase of the Moon Risk Table<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/rule01.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;841&#8243; height=&#8221;519&#8243;]<\/p>\n<p>Decision Table: Miles from Graveyard Risk Table<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/rule02.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;855&#8243; height=&#8221;533&#8243;]<\/p>\n<p>Decision rule: value of the variable &#8220;Miles from Graveyard Weight&#8221;. This could have been done directly on the definition of the variable, but in this way the user will have a business rule on wich control this value.<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/rule03.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;844&#8243; height=&#8221;517&#8243;]<\/p>\n<p>Decision rule: value of the variable &#8220;Moon Phase Weight&#8221;. This could have been done directly on the definition of the variable, but in this way the user will have a business rule on wich control this value.<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/rule04.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;841&#8243; height=&#8221;537&#8243;]<\/p>\n<p>Decision rule: Calculate Warewolf Risk<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/rule05.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;843&#8243; height=&#8221;281&#8243;]<\/p>\n<p>Rules are organized in the project with the following folders:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/04-Rules.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;539&#8243; height=&#8221;674&#8243;]<\/p>\n<p>To create the ruleflow we assign each folder to a different ruletask and ordering as follows:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/03-Ruleflow1.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;463&#8243; height=&#8221;631&#8243;]<\/p>\n<p>Now we can test our service. To do this we create a new test based on an Excel file with 3 different scenarios on it:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/09\/11A.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243;]<\/p>\n<p>We define also the expected results for each scenario:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/09\/11BExcel.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243;]<\/p>\n<p>We create the test in the Decision Center and upload our Excel file on it:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/Test01.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;858&#8243; height=&#8221;374&#8243;]<\/p>\n<p>We run the test and check how the report indicates that one of the three scenarios failed:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/Test02.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;855&#8243; height=&#8221;715&#8243;]<\/p>\n<p>The expected result for the first scenario is correct:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/TestScenario01.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;860&#8243; height=&#8221;635&#8243;]<\/p>\n<p>Our expected result\u00a0 (0,25) doesn&#8217;t match the execution result (0,3125) of the second scenario :<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/TestScenario02.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;858&#8243; height=&#8221;721&#8243;]<\/p>\n<p>The expected result for the third scenario is correct:<\/p>\n<p>[image url=&#8221;http:\/\/www.decidesoluciones.es\/wp-content\/uploads\/2014\/10\/TestScenario03.jpg&#8221; raw=&#8221;true&#8221; alignment=&#8221;center&#8221; margin_left=&#8221;0&#8243; margin_right=&#8221;0&#8243; margin_top=&#8221;0&#8243; margin_bottom=&#8221;0&#8243; width=&#8221;846&#8243; height=&#8221;722&#8243;]<\/p>\n<p>Our Decision Service is completed and confirming us that in full moon nights staying at home is the best option.<\/p>\n<p>Until the next challenge!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After discover this funny problem in this post we&#8217;ve solved it by creating a Decision Service under IBM ODM 8.6 technology. Although it&#8217;s clear that it&#8217;s not a realistic stuff (we all know that werewolves don&#8217;t live int graveyards) is a good example that shows how to define the calculation of a risk. This is&hellip;<\/p>\n","protected":false},"author":7,"featured_media":19707,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[262],"tags":[],"class_list":["post-12666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","category-262","description-off"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Challenge #SEPT014: The risk of meeting a Werewolf - Decide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Challenge #SEPT014: The risk of meeting a Werewolf - Decide\" \/>\n<meta property=\"og:description\" content=\"After discover this funny problem in this post we&#8217;ve solved it by creating a Decision Service under IBM ODM 8.6 technology. Although it&#8217;s clear that it&#8217;s not a realistic stuff (we all know that werewolves don&#8217;t live int graveyards) is a good example that shows how to define the calculation of a risk. This is&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Decide\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-30T16:25:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-27T13:27:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Manuel del Barrio de Pablos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@canaldecide\" \/>\n<meta name=\"twitter:site\" content=\"@canaldecide\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manuel del Barrio de Pablos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/\"},\"author\":{\"name\":\"Manuel del Barrio de Pablos\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/#\\\/schema\\\/person\\\/32588ceebc29d8a0dd7beba78454c7b3\"},\"headline\":\"Challenge #SEPT014: The risk of meeting a Werewolf\",\"datePublished\":\"2014-09-30T16:25:14+00:00\",\"dateModified\":\"2020-03-27T13:27:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/\"},\"wordCount\":948,\"image\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/decidesoluciones.es\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/whiteboard-849810_1920.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/\",\"url\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/\",\"name\":\"Challenge #SEPT014: The risk of meeting a Werewolf - Decide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/decidesoluciones.es\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/whiteboard-849810_1920.jpg\",\"datePublished\":\"2014-09-30T16:25:14+00:00\",\"dateModified\":\"2020-03-27T13:27:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/#\\\/schema\\\/person\\\/32588ceebc29d8a0dd7beba78454c7b3\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/decidesoluciones.es\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/whiteboard-849810_1920.jpg\",\"contentUrl\":\"https:\\\/\\\/decidesoluciones.es\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/whiteboard-849810_1920.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/decide-2\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Challenge #SEPT014: The risk of meeting a Werewolf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/\",\"name\":\"Decide\",\"description\":\"Advanced Analytics. Smart Decisions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/decidesoluciones.es\\\/en\\\/#\\\/schema\\\/person\\\/32588ceebc29d8a0dd7beba78454c7b3\",\"name\":\"Manuel del Barrio de Pablos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g\",\"caption\":\"Manuel del Barrio de Pablos\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Challenge #SEPT014: The risk of meeting a Werewolf - Decide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/","og_locale":"en_US","og_type":"article","og_title":"Challenge #SEPT014: The risk of meeting a Werewolf - Decide","og_description":"After discover this funny problem in this post we&#8217;ve solved it by creating a Decision Service under IBM ODM 8.6 technology. Although it&#8217;s clear that it&#8217;s not a realistic stuff (we all know that werewolves don&#8217;t live int graveyards) is a good example that shows how to define the calculation of a risk. This is&hellip;","og_url":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/","og_site_name":"Decide","article_published_time":"2014-09-30T16:25:14+00:00","article_modified_time":"2020-03-27T13:27:33+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg","type":"image\/jpeg"}],"author":"Manuel del Barrio de Pablos","twitter_card":"summary_large_image","twitter_creator":"@canaldecide","twitter_site":"@canaldecide","twitter_misc":{"Written by":"Manuel del Barrio de Pablos","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#article","isPartOf":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/"},"author":{"name":"Manuel del Barrio de Pablos","@id":"https:\/\/decidesoluciones.es\/en\/#\/schema\/person\/32588ceebc29d8a0dd7beba78454c7b3"},"headline":"Challenge #SEPT014: The risk of meeting a Werewolf","datePublished":"2014-09-30T16:25:14+00:00","dateModified":"2020-03-27T13:27:33+00:00","mainEntityOfPage":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/"},"wordCount":948,"image":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#primaryimage"},"thumbnailUrl":"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/","url":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/","name":"Challenge #SEPT014: The risk of meeting a Werewolf - Decide","isPartOf":{"@id":"https:\/\/decidesoluciones.es\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#primaryimage"},"image":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#primaryimage"},"thumbnailUrl":"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg","datePublished":"2014-09-30T16:25:14+00:00","dateModified":"2020-03-27T13:27:33+00:00","author":{"@id":"https:\/\/decidesoluciones.es\/en\/#\/schema\/person\/32588ceebc29d8a0dd7beba78454c7b3"},"breadcrumb":{"@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#primaryimage","url":"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg","contentUrl":"https:\/\/decidesoluciones.es\/wp-content\/uploads\/2014\/09\/whiteboard-849810_1920.jpg","width":1920,"height":1280},{"@type":"BreadcrumbList","@id":"https:\/\/decidesoluciones.es\/en\/el-riesgo-de-encontrarse-a-un-hombre-lobo-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/decidesoluciones.es\/en\/decide-2\/"},{"@type":"ListItem","position":2,"name":"Challenge #SEPT014: The risk of meeting a Werewolf"}]},{"@type":"WebSite","@id":"https:\/\/decidesoluciones.es\/en\/#website","url":"https:\/\/decidesoluciones.es\/en\/","name":"Decide","description":"Advanced Analytics. Smart Decisions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/decidesoluciones.es\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/decidesoluciones.es\/en\/#\/schema\/person\/32588ceebc29d8a0dd7beba78454c7b3","name":"Manuel del Barrio de Pablos","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4963f43c27c6a1e09def713bb1f7f58dde31b84878b3416f5decc81c1a8ee36f?s=96&d=mm&r=g","caption":"Manuel del Barrio de Pablos"}}]}},"_links":{"self":[{"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/posts\/12666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/comments?post=12666"}],"version-history":[{"count":2,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/posts\/12666\/revisions"}],"predecessor-version":[{"id":19709,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/posts\/12666\/revisions\/19709"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/media\/19707"}],"wp:attachment":[{"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/media?parent=12666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/categories?post=12666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/decidesoluciones.es\/en\/wp-json\/wp\/v2\/tags?post=12666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}