{"id":11805,"date":"2020-10-28T13:10:37","date_gmt":"2020-10-28T12:10:37","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/?p=11805"},"modified":"2021-12-23T16:43:41","modified_gmt":"2021-12-23T15:43:41","slug":"genetic-algorithms-life-hacking","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/","title":{"rendered":"Want to Learn about Genetic Algorithms? Start Life Hacking"},"content":{"rendered":"\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-864e4874      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#the-motivation-for-the-life-hacking-algorithm\" class=\"uagb-toc-link__trigger\">The motivation for the life hacking algorithm<\/a><li class=\"uagb-toc__list\"><a href=\"#what-is-a-genetic-algorithm\" class=\"uagb-toc-link__trigger\">What is a genetic algorithm?\u00a0<\/a><li class=\"uagb-toc__list\"><a href=\"#what-tools-did-you-use\" class=\"uagb-toc-link__trigger\">What tools did you use?\u00a0\u00a0<\/a><li class=\"uagb-toc__list\"><a href=\"#how-to-begin-learning-about-genetic-algorithms\" class=\"uagb-toc-link__trigger\">How to begin learning about genetic algorithms?<\/a><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<p class=\"eplus-O8aKnc\">It\u2019s often hard to motivate ourselves to learn new tech &#8211; whether <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/big-data-analyst\/learn-cobol-mainframe\/\">a new coding language<\/a> or algorithm &#8211; when it\u2019s not essential to our <span id=\"urn:enhancement-6da7b37f\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/employment\">job<\/span>. Tech not only moves fast, but it\u2019s easy to get overwhelmed by the plethora of documentation, tutorials, and videos. But what if your motivation was to hack your own life? Mey Beisaron did just that, <strong>coding a <span id=\"urn:enhancement-7711c35c\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithm<\/span> from scratch<\/strong> and using it to generate a weekly schedule and to create a smart diet planner.&nbsp;<\/p>\n\n\n\n<p class=\"eplus-JgCi1c\">Mey is a Backend <span id=\"urn:enhancement-c621157\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/software_developer\">Developer<\/span> at Appsflyer and also a mentor for helping <a href=\"https:\/\/www.codemotion.com\/magazine\/articles\/stories\/junior-next-moving-on-from-the-junior-development-mindset\/\">junior devs<\/a> land their first <span id=\"urn:enhancement-7f80ee77\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/employment\">job<\/span>, as well as support women to become conference speakers. I spoke to her about her life hacking algorithm aspiring speakers, aspiring women speakers, or also I&#8217;m also a mentor for junior <span id=\"urn:enhancement-e4c459da\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/software_developer\">developers<\/span> to land their first <span id=\"urn:enhancement-44c058d7\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/employment\">job<\/span>. I spoke to her prior to her presentation at <a href=\"https:\/\/events.codemotion.com\/conferences\/online\/2020\/online-tech-conference-spanish-edition#home\"><em>Codemotion\u2019s online conference: The Spanish edition.&nbsp;<\/em><\/a><\/p>\n\n\n\n<h2 class=\"eplus-XD4NQV wp-block-heading\" id=\"h-the-motivation-for-the-life-hacking-algorithm\">The motivation for the life hacking algorithm<\/h2>\n\n\n\n<p class=\"eplus-CzJ6DT\">According to Mey, using her own life was a great way to <strong>teach herself about <span id=\"urn:enhancement-b8dcc821\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithms<\/span><\/strong>. She notes:<\/p>\n\n\n\n<p class=\"eplus-T8jaon\">&nbsp;\u201cI figured out that the best way to focus on the algorithm is by actually <strong>taking a very simple problem<\/strong>, because if you take a very complicated problem, then you have two things that you need to focus on: you need to understand the solution to the problem, and you need to understand the problem itself. And the whole definition of the problem may take some time until you get to actually <span id=\"urn:enhancement-ea97ceec\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/implementation\">implement<\/span> the solution and the algorithm. So by taking on simple problems, like arranging your timetable, or arranging your diet, that enabled me to focus on the algorithm.\u201d&nbsp;<\/p>\n\n\n\n<p class=\"eplus-EAoSdu\">Specifically, Mey focused on the problem of nutrition: \u201c You have a few things in your fridge, and they have nutritional values. And what I wanted was to know how much I should eat of each one of them per day in order to maintain my diet. And so this meant that I answered to the algorithm, the products that I have in the fridge. And then I also insert the constraints, which are like how many carbs and how much fat and how much protein I want to eat per day. And then I got results detailing the amounts that I should eat of each product per day.&nbsp;<\/p>\n\n\n\n<h2 class=\"eplus-6MZUeY wp-block-heading\" id=\"h-what-is-a-genetic-algorithm\">What is a genetic algorithm?&nbsp;<\/h2>\n\n\n\n<div class=\"wp-block-image eplus-gjDQXx\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/07\/hitesh-choudhary-t1PaIbMTJIM-unsplash-1024x575.jpg\" alt=\"AI (artificial intelligence) developer\" class=\"wp-image-6517\"\/><\/figure><\/div>\n\n\n\n<p class=\"eplus-XBj8ws\">A <strong><span id=\"urn:enhancement-35ae9648\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithm<\/span><\/strong> is a heuristic <span id=\"urn:enhancement-15678c40\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/search_algorithm\">search<\/span> method used in artificial intelligence and computing. As we discussed in a <a href=\"https:\/\/www.codemotion.com\/magazine\/dev-hub\/machine-learning-dev\/genetic-algorithms\/\">previous article<\/a>, <span id=\"urn:enhancement-4d6594a7\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithms<\/span> are used for finding optimized solutions to <span id=\"urn:enhancement-8033969e\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/search_algorithm\">search<\/span> for problems based on the theory of natural selection and evolutionary biology. Mey asserts:&nbsp;<\/p>\n\n\n\n<p class=\"eplus-zLpbdW\">\u201cWhat I love about <span id=\"urn:enhancement-a1bb2bf4\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithms<\/span> is that it&#8217;s <strong>easy to explain, but not that easy to <span id=\"urn:enhancement-f509b86f\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/implementation\">implement<\/span><\/strong>. There are a few steps that need to be taken. And it means that you have a set of solutions that you take, and each time you have a function that checks if these sets of solutions are good enough. To determine if the solution is good enough, you establish a pre-determined grade. And then, if these solutions are not good enough, then you shuffle the solutions between themselves and you create new solutions out of the existing ones.&nbsp;<\/p>\n\n\n\n<p class=\"eplus-Ls8X5s\">&nbsp;It\u2019s like <strong>evolutionary <span id=\"urn:enhancement-a013330e\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/computation\">computation<\/span><\/strong> in that it takes the <span id=\"urn:enhancement-4ee03644\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/principle\">principle<\/span> of natural selection to create a new solution out of what already existed.&nbsp; I love the idea of taking stuff from nature and implementing it. It\u2019s not the first or only algorithm that does this, it was just the easiest one for me to start with.\u201d<\/p>\n\n\n\n<h2 class=\"eplus-mfNJZa wp-block-heading\" id=\"h-what-tools-did-you-use\">What tools did you use?&nbsp;&nbsp;<\/h2>\n\n\n\n<p class=\"eplus-g5n2QF\">Mey didn\u2019t use any specific <a href=\"https:\/\/www.codemotion.com\/magazine\/articles\/news\/14-open-source-tools-to-make-the-most-of-machine-learning\/\">tools<\/a> or libraries, \u201cbecause I implemented everything from scratch. So it involved a lot of reading. And there&#8217;s a lot of material on that topic out there. So it was fairly easy to find information on how to do things.\u201d<\/p>\n\n\n\n<h2 class=\"eplus-ivIihX wp-block-heading\" id=\"h-how-to-begin-learning-about-genetic-algorithms\">How to begin learning about genetic algorithms?<\/h2>\n\n\n\n<p class=\"eplus-513Vtq\">Mey asserts that this is a great project for everyone, especially beginners.<\/p>\n\n\n\n<p class=\"eplus-9Zvwu7\">&nbsp;\u201c It doesn&#8217;t matter your level of <span id=\"urn:enhancement-baf10161\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/expert\">expertise<\/span>. Even If you&#8217;ve never done anything with algorithms, it&#8217;s really easy to understand the concept. And once you <span id=\"urn:enhancement-28bf7f17\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/understanding\">understand<\/span> a concept, you can start asking yourself questions as to how you would implement it.&nbsp;<\/p>\n\n\n\n<p class=\"eplus-Eg3ORN\">Just like if I&#8217;ll tell you that there is a PacMan game, you <span id=\"urn:enhancement-fe48b351\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/understanding\">understand<\/span> that there is the Pac Ma the eats the pellets, So then, if you know that, then you can start asking questions that will help you implement the algorithm. So you should start by reading about this algorithm, understanding the <span id=\"urn:enhancement-56801c76\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithm<\/span>, and try to <span id=\"urn:enhancement-d6714e88\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/understanding\">understand<\/span> the different steps of the algorithm, and the purpose of each step. From there it becomes fairly easy to go and start implementing, beginning with trial and error.\u201d<\/p>\n\n\n\n<p class=\"eplus-Y5ouI1\">Mey notes that <strong><span id=\"urn:enhancement-b070d67b\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithms<\/span> are also used in <span id=\"urn:enhancement-64ff0d0b\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/video_game\">gaming<\/span><\/strong>, particularly with the evolution of game characters. \u201cSo using <span id=\"urn:enhancement-b2c37e48\" class=\"textannotation disambiguated wl-thing\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/genetic_algorithm\">genetic algorithm<\/span> in games, it means that you try to stretch the personal attributes and capabilities of a game character. Imagine a player in a game that starts to do the things that it&#8217;s supposed to do in the game. And you see how this player depending on whether it&#8217;s good or not can evolve into a whole different player until it gets to the point where it&#8217;s a very good fit. You didn&#8217;t even have to do anything, you just sit there and you watch how your player is getting better and better at doing whatever it is that you wanted to do in the game. I don&#8217;t know why it&#8217;s fun, but it&#8217;s really fun.\u201d<\/p>\n\n\n\n<div class=\"wp-block-image eplus-J5E8yP\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-1024x576.jpg\" alt=\"\" class=\"wp-image-11825\" srcset=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-1024x576.jpg 1024w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-300x169.jpg 300w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-768x432.jpg 768w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-896x504.jpg 896w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming-400x225.jpg 400w, https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/ai-gaming.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p class=\"eplus-J2wUFe\">Mey\u2019s talk will include code examples and she\u2019ll go through the different stages of the algorithm and understand how they affect the algorithm\u2019s solutions. You\u2019ll discover a new way to solve your everyday problems.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s often hard to motivate ourselves to learn new tech &#8211; whether a new coding language or algorithm &#8211; when it\u2019s not essential to our job. Tech not only moves fast, but it\u2019s easy to get overwhelmed by the plethora of documentation, tutorials, and videos. But what if your motivation was to hack your own&#8230; <a class=\"more-link\" href=\"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/\">Read more<\/a><\/p>\n","protected":false},"author":85,"featured_media":11824,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":4,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[35],"tags":[78,7214],"collections":[],"class_list":{"0":"post-11805","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-machine-learning","8":"tag-codemotion-madrid","9":"tag-machine-learning","10":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Want to Learn about Genetic Algorithms? Start Life Hacking - Codemotion<\/title>\n<meta name=\"description\" content=\"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Want to Learn about Genetic Algorithms? Start Life Hacking\" \/>\n<meta property=\"og:description\" content=\"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/\" \/>\n<meta property=\"og:site_name\" content=\"Codemotion Magazine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Codemotion.Italy\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-28T12:10:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-23T15:43:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cate Lawrence\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:site\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cate Lawrence\" \/>\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:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/\"},\"author\":{\"name\":\"Cate Lawrence\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/df32323fd62dc47fa8892426677a2cc1\"},\"headline\":\"Want to Learn about Genetic Algorithms? Start Life Hacking\",\"datePublished\":\"2020-10-28T12:10:37+00:00\",\"dateModified\":\"2021-12-23T15:43:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/\"},\"wordCount\":992,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/genetic-algorithm.jpg\",\"keywords\":[\"Codemotion Madrid\",\"Machine Learning\"],\"articleSection\":[\"Machine Learning\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/\",\"name\":\"Want to Learn about Genetic Algorithms? Start Life Hacking - Codemotion\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/genetic-algorithm.jpg\",\"datePublished\":\"2020-10-28T12:10:37+00:00\",\"dateModified\":\"2021-12-23T15:43:41+00:00\",\"description\":\"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/genetic-algorithm.jpg\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/genetic-algorithm.jpg\",\"width\":1200,\"height\":675,\"caption\":\"genetic algorithms AI\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/genetic-algorithms-life-hacking\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI\\\/ML\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Machine Learning\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/ai-ml\\\/machine-learning\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Want to Learn about Genetic Algorithms? Start Life Hacking\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"name\":\"Codemotion Magazine\",\"description\":\"We code the future. Together\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\",\"name\":\"Codemotion\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"width\":225,\"height\":225,\"caption\":\"Codemotion\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Codemotion.Italy\\\/\",\"https:\\\/\\\/x.com\\\/CodemotionIT\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/df32323fd62dc47fa8892426677a2cc1\",\"name\":\"Cate Lawrence\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g\",\"caption\":\"Cate Lawrence\"},\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/author\\\/cate-lawrence\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Want to Learn about Genetic Algorithms? Start Life Hacking - Codemotion","description":"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.","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:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/","og_locale":"en_US","og_type":"article","og_title":"Want to Learn about Genetic Algorithms? Start Life Hacking","og_description":"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.","og_url":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2020-10-28T12:10:37+00:00","article_modified_time":"2021-12-23T15:43:41+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg","type":"image\/jpeg"}],"author":"Cate Lawrence","twitter_card":"summary_large_image","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Cate Lawrence","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/"},"author":{"name":"Cate Lawrence","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1"},"headline":"Want to Learn about Genetic Algorithms? Start Life Hacking","datePublished":"2020-10-28T12:10:37+00:00","dateModified":"2021-12-23T15:43:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/"},"wordCount":992,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg","keywords":["Codemotion Madrid","Machine Learning"],"articleSection":["Machine Learning"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/","url":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/","name":"Want to Learn about Genetic Algorithms? Start Life Hacking - Codemotion","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg","datePublished":"2020-10-28T12:10:37+00:00","dateModified":"2021-12-23T15:43:41+00:00","description":"In preparation for the upcoming Codemotion online conference: The Spanish edition, Mey Beisaron shares how she learnt how to use genetic algorithms.","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg","width":1200,"height":675,"caption":"genetic algorithms AI"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/genetic-algorithms-life-hacking\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"AI\/ML","item":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/"},{"@type":"ListItem","position":3,"name":"Machine Learning","item":"https:\/\/www.codemotion.com\/magazine\/ai-ml\/machine-learning\/"},{"@type":"ListItem","position":4,"name":"Want to Learn about Genetic Algorithms? Start Life Hacking"}]},{"@type":"WebSite","@id":"https:\/\/www.codemotion.com\/magazine\/#website","url":"https:\/\/www.codemotion.com\/magazine\/","name":"Codemotion Magazine","description":"We code the future. Together","publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codemotion.com\/magazine\/#organization","name":"Codemotion","url":"https:\/\/www.codemotion.com\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","width":225,"height":225,"caption":"Codemotion"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Codemotion.Italy\/","https:\/\/x.com\/CodemotionIT"]},{"@type":"Person","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/df32323fd62dc47fa8892426677a2cc1","name":"Cate Lawrence","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2dbf9850a6e06e402d71247f79a76d6a5adad553ed6aab558a29a4107e5e83b1?s=96&d=mm&r=g","caption":"Cate Lawrence"},"url":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-600x400.jpg","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-600x600.jpg","author_info":{"display_name":"Cate Lawrence","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg",1200,675,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-150x150.jpg",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-300x169.jpg",300,169,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-768x432.jpg",768,432,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg",1200,675,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg",1200,675,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm.jpg",100,56,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-180x128.jpg",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-896x504.jpg",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-400x225.jpg",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-600x400.jpg",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2020\/10\/genetic-algorithm-600x600.jpg",600,600,true]},"uagb_author_info":{"display_name":"Cate Lawrence","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/cate-lawrence\/"},"uagb_comment_info":0,"uagb_excerpt":"It\u2019s often hard to motivate ourselves to learn new tech &#8211; whether a new coding language or algorithm &#8211; when it\u2019s not essential to our job. Tech not only moves fast, but it\u2019s easy to get overwhelmed by the plethora of documentation, tutorials, and videos. But what if your motivation was to hack your own&#8230;&hellip;","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=11805"}],"version-history":[{"count":7,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11805\/revisions"}],"predecessor-version":[{"id":16835,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/11805\/revisions\/16835"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/11824"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=11805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=11805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=11805"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=11805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}