{"id":8908,"date":"2021-01-13T23:02:38","date_gmt":"2021-01-13T23:02:38","guid":{"rendered":"https:\/\/www.thecoderschool.com\/?p=8908"},"modified":"2022-10-13T20:49:53","modified_gmt":"2022-10-13T20:49:53","slug":"what-is-swapping-and-why-is-it-vital-for-coding","status":"publish","type":"post","link":"https:\/\/www.thecoderschool.com\/blog\/what-is-swapping-and-why-is-it-vital-for-coding\/","title":{"rendered":"What is Swapping and Why is it Vital For Coding?"},"content":{"rendered":"<p><strong>By Noor H., Age 15<\/strong><\/p>\n<div class=\"\"><span class=\"x_-1299178261font\"><span class=\"x_-1299178261size\">\u00a0 \u00a0 \u00a0Often online shoppers will encounter \u201crecommended for you\u201d when buying items online at sites like Amazon, music services, and even news articles.\u00a0 How do they decide which items to target and which ads to use? Word suggestion in texting and typing is also common form technology that people encounter every day. How does the program know what word you are trying to type? The answer is machine learning.<\/span><\/span><\/div>\n<div><\/div>\n<div class=\"\"><span class=\"x_-1299178261font\"><span class=\"x_-1299178261size\">\u00a0 \u00a0 \u00a0Many people confuse artificial intelligence with machine learning, but they are not the same thing.\u00a0 Artificial intelligence is merely programming a machine. Most conventional programs use artificial intelligence.\u00a0 However, machine learning goes a step further allows the code to be able to respond to new input and stimuli to create new and different responses.\u00a0 Machine learning is more common in professional uses than mere artificial intelligence because it\u2019s higher applicability. For example, robots are an example of artificial intelligence but not machine learning because they don\u2019t really respond to new input, they just run their existing code.\u00a0 On the other hand, Apple\u2019s \u201cSiri\u201d and Amazon\u2019s \u201cAlexa\u201d use machine learning in both speech recognition and language processing to understand the input of what owners are asking of them.\u00a0<\/span><\/span><\/div>\n<div><\/div>\n<div class=\"\"><span class=\"x_-1299178261font\"><span class=\"x_-1299178261size\">\u00a0 \u00a0 \u00a0The basic summary machine learning is programming a machine to learn.\u00a0 There are several ways of doing this. One of the most basic and often used for teaching purposes is the genetic algorithm, which is creating several miniature programs, putting them through tests, then making more programs based on which miniature one did the best on the tests and destroying the mini programs that didn\u2019t perform as well.\u00a0 This is designed to mimic genetics in real life.\u00a0\u00a0<\/span><\/span><\/div>\n<div><\/div>\n<div class=\"\"><span class=\"x_-1299178261font\"><span class=\"x_-1299178261size\">\u00a0 \u00a0 \u00a0Another way of programming machine learning is neural networks.\u00a0 These try to mimic the human brain inside a computer by replicating individual neurons and their connections.\u00a0 This is used for predicting and extrapolating from databases. For example, it will group a lot of products by seeing which items are frequently bought together and placing those items items in the same group.\u00a0 If a consumer buys one item in the group, it can recommend other products in the group.\u00a0\u00a0<\/span><\/span><\/div>\n<p><span class=\"x_-1299178261font\"><span class=\"x_-1299178261size\">\u00a0 \u00a0 \u00a0Artificial intelligence and machine learning are important for the future because they are much faster ways to allow programmers to make high-level prediction algorithms for a variety of areas.\u00a0 For example, doctors can look at symptoms of new patients and match them with the symptoms of patients that have already been diagnosed to match with the type of disease that they have for faster diagnoses in health care.\u00a0 Machine learning will also be used in self-driving cars to recognize traffic signs and signals and adapt to increased traffic patterns during rush hours.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Noor H., Age 15 \u00a0 \u00a0 \u00a0Often online shoppers will encounter \u201crecommended for you\u201d when buying items online at sites like Amazon, music services, and even news articles.\u00a0 How do they decide which items to target and which ads to use? Word suggestion in texting and typing is also common form technology that people &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thecoderschool.com\/blog\/what-is-swapping-and-why-is-it-vital-for-coding\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What is Swapping and Why is it Vital For Coding?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[69,65],"class_list":["post-8908","post","type-post","status-publish","format-standard","hentry","category-coder-blog","tag-student-showcase","tag-tips-tricks","entry"],"_links":{"self":[{"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/posts\/8908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8908"}],"version-history":[{"count":2,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/posts\/8908\/revisions"}],"predecessor-version":[{"id":11835,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/posts\/8908\/revisions\/11835"}],"wp:attachment":[{"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thecoderschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}