{"id":3854,"date":"2024-10-11T16:49:23","date_gmt":"2024-10-11T19:49:23","guid":{"rendered":"https:\/\/loxias.ai\/?p=3854"},"modified":"2026-10-24T09:32:49","modified_gmt":"2026-10-24T08:32:49","slug":"machines-learn-exploring-types-of-machine-learning","status":"publish","type":"post","link":"https:\/\/loxias.ai\/es\/blog\/machines-learn-exploring-types-of-machine-learning\/","title":{"rendered":"How Machines Learn: Exploring Types of Machine Learning and Their Applications"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\"><strong>Machine learning<\/strong>\u00a0is the backbone of <strong><a href=\"https:\/\/loxias.ai\/es\/blog\/everything-you-need-to-know-about-artificial-intelligence-ai\/\">Inteligencia Artificial<\/a> (AI)<\/strong> because it is through this subfield of AI that machines can learn. All other subfields: <strong>natural language Processing (NLP)<\/strong>,<strong> robotics<\/strong> y <strong>computer vision<\/strong> and their respective applications <strong>use<\/strong> <strong>algoritmos de machine learning<\/strong>.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">That\u2019s why Machine Learning is considered the engine behind the great revolutions we\u2019re seeing in Artificial Intelligence (AI), allowing AI systems to do extraordinary things, like recognizing faces in photos, suggesting songs you\u2019ll love, or even generating stunning images and texts that look like they were created by humans.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">But how exactly do machines learn? And why is this so important for the evolution of AI, especially generative AI, which creates new content from existing data? To answer this, we need to understand the different types of machine learning: <\/span><b>supervised<\/b><span style=\"font-weight: 400;\">, <\/span><b>unsupervised<\/b><span style=\"font-weight: 400;\">, and <\/span><b>reinforcement<\/b><span style=\"font-weight: 400;\">. Each of these types is like a different learning method that machines can follow to learn from data and become increasingly intelligent.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Tipos de Aprendizaje Autom\u00e1tico<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Aprendizaje Supervisado<\/strong>: In this type, a machine learns from labeled examples, much like a student learning with guidance from a teacher. The <span style=\"font-weight: 400;\">child learning to read and the teacher shows examples of different fruits and how to spell each one. <\/span><\/li>\n\n\n\n<li><strong>Aprendizaje No Supervisado<\/strong>: Unlike supervised learning, here\u00a0<span style=\"font-weight: 400;\">the machine explores the data on its own, discovering patterns without clear instructions or examples. In this case, it is as if the child were alone and, when shown images of fruits, the child (without any examples), groups similar fruits together and writes their names.<\/span><\/li>\n\n\n\n<li><strong>Aprendizaje por Refuerzo<\/strong>: Machines learn by interacting with an environment,<span style=\"font-weight: 400;\">\u00a0the machine is rewarded or penalized for its actions. Imagine that a child is playing a video game and earns points for each fruit he manages to write correctly and is punished when he writes it wrong.<\/span><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"555\" src=\"http:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-150221_11zon-1024x555-1.webp\" alt=\"\" class=\"wp-image-20612\" srcset=\"https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-150221_11zon-1024x555-1.webp 1024w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-150221_11zon-1024x555-1-600x325.webp 600w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-150221_11zon-1024x555-1-300x163.webp 300w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-150221_11zon-1024x555-1-768x416.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Now that the concept of machine learning types has been explained, let\u2019s understand a little more technically how they work and how they can be applied.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Supervised Learning Applications<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Supervised learning is guided by known results (outputs). The machine uses features and labeled data in training and, based on this, defines a relationship between these data. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">For example, the machine can be taught to recognize images of apples by providing images of apples and non-apples, each of which must be labeled. Once the relationship in the data has been identified, a model is generated to reproduce the relationship that was learned with new data, as illustrated in the figure below.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"493\" src=\"http:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-153915_11zon-1024x493-1.webp\" alt=\"\" class=\"wp-image-20614\" srcset=\"https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-153915_11zon-1024x493-1.webp 1024w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-153915_11zon-1024x493-1-600x289.webp 600w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-153915_11zon-1024x493-1-300x144.webp 300w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-153915_11zon-1024x493-1-768x370.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-weight: 400;\">This type of learning has the following applications:<\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Regresi\u00f3n<span style=\"font-weight: 400;\">: <\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Studies the relationships between numerical variables and is used in various predictive analyses, such as demand forecasting, price and sales estimation. <\/span><b>Regresi\u00f3n Lineal<\/b><span style=\"font-weight: 400;\"> y <\/span><b>Polynomial Regression<\/b><span style=\"font-weight: 400;\"> are very popular regression algorithms.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\"> Imagine that instead of an image of an apple, the regression algorithm receives financial indicators (input) and instead of the label \u201capple\u201d it receives the \u201cstock value\u201d (output) of a certain financial company. During the training process, the algorithm finds a relationship between the financial indicators and the stock values \u200b\u200bso that a model is generated. Based on new values \u200b\u200bof the financial indicators that are passed as input, the model will be able to predict the stock value.<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Clasificaci\u00f3n<span style=\"font-weight: 400;\">: <\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Indicates which class\/category an object or data belongs to, and can be used to classify images, customer retention (churn rate), among other options. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><b>Regresi\u00f3n Log\u00edstica<\/b><span style=\"font-weight: 400;\">, <\/span><b>Decision Tree<\/b><span style=\"font-weight: 400;\"> y <\/span><b>Random Forest<\/b><span style=\"font-weight: 400;\"> are examples of algorithms that can be applied to data classification. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Aprendizaje No Supervisado<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">In <\/span><b>unsupervised learning<\/b><span style=\"font-weight: 400;\">, there are no previously known patterns to serve as a basis for training the model. In this case, the machine learning algorithm must find patterns on its own. In this type of learning, there is no response, that is, the data has no labels and the result (output) is unknown, since it is the algorithm itself that will identify patterns within the data set. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">One of the great advantages of unsupervised learning is precisely the discovery of unknown patterns and the synthesis of a large volume of data. For example, you can pass several images of fruit to a clustering algorithm without providing any labels. All you need to indicate is how many data <a href=\"https:\/\/loxias.ai\/es\/blog\/understanding-clusters-and-outliers\/\">clusters<\/a> you want. By providing this amount, the algorithm will calculate the similarity between the fruit images, labeling those that are similar with the same cluster number. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">The figure below summarizes this learning process:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"446\" src=\"http:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-154911_11zon-1024x446-1.webp\" alt=\"\" class=\"wp-image-20616\" srcset=\"https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-154911_11zon-1024x446-1.webp 1024w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-154911_11zon-1024x446-1-600x261.webp 600w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-154911_11zon-1024x446-1-300x131.webp 300w, https:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Captura-de-tela-2024-10-10-154911_11zon-1024x446-1-768x335.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-weight: 400;\">This type of learning has the following applications:<\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Clustering<span style=\"font-weight: 400;\">: <\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">In this case, data is grouped according to its similarity. It is widely used in marketing to perform data segmentation. <\/span><b>K-Means<\/b><span style=\"font-weight: 400;\"> is one of the best-known unsupervised algorithms.<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Association<span style=\"font-weight: 400;\">:<\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\"> This method consists of finding frequent patterns of associations between the attributes of a data set. It is often used to identify rules that describe large parts of the data, such as people who buy X also tend to buy Y.<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Summarization<span style=\"font-weight: 400;\">:<\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">This method used to optimize points, paths, spaces or to perform dimensionality reduction and topic modeling. Here at Loxias, we are experimenting with the use of LLMs, such as <\/span><b>BERT<\/b><span style=\"font-weight: 400;\"> and its derivatives, to perform topic modeling, that is, to summarize large volumes of data from social media mentions, with the aim of identifying relevant content\/topics.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Unfortunately, there is some confusion between classification and clustering that needs to be clarified. <strong>Clasificaci\u00f3n<\/strong> is a task that requires<strong> supervised learning<\/strong>, that is, it is necessary to know in advance which class a given data record belongs to. <strong>Clustering<\/strong>, on the other hand, is an <strong>unsupervised learning<\/strong> type, where it is not necessary for the data to be labeled. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">The Kaggle GIF below illustrates this difference well: <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"479\" src=\"http:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Clusteringclasification-Animales.gif\" alt=\"\" class=\"wp-image-20617\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">in classification, it is necessary to know in advance who each of the animals is so that a model can be generated to classify them (duck, rabbit, etc.). Clustering, on the other hand, does not need to know the result in advance, as it is a task that uses unsupervised learning, it can group the animals on its own, based on the similarities and differences between them (if it has feathers, wings and two legs, it groups them as being in the same group, if it has four legs and no wings, it marks them as being in another group).<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Aprendizaje por Refuerzo<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><b>Reinforcement learning<\/b><span style=\"font-weight: 400;\"> is based on feedback from previous interactions. This type of learning continually improves the model. It uses the concept of reward and punishment. A reward is given if a response is correct and a punishment is given if a response is incorrect. It is widely used in models that learn from games, decision-making systems, and robot navigation.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"181\" src=\"http:\/\/loxias.ai\/wp-content\/uploads\/2024\/10\/Imagens-blog-No-Artigo-1_11zon-e1728671980452-300x181-1.webp\" alt=\"\" class=\"wp-image-20618\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><b>Q-Learning<\/b><span style=\"font-weight: 400;\"> is an example of an algorithm used in reinforcement learning. In this type of learning, it is necessary to define who the agent is, what the environment is, the actions, and the status.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">An example of an app that uses reinforcement learning that everyone knows is ChatGPT\u2019s like button. When you write a prompt and like the answer provided so much that you click the \u201clike button\u201d, you are giving a reward to the model used by ChatGPT, in which case the model understands that the result returned was a correct action. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">On the other hand, if the answer provided is not adequate and you do not like it and click the \u201cdislike button\u201d, the model will receive a punishment and learn that the answer provided was not a satisfactory action.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Speaking of ChatGPT, it is worth noting that the training process of the GPT (Generative Pre-trained Transformer) LLM model used by ChatGPT considered the<strong> three types of Machine Learning <\/strong>described above. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">First, <strong>unsupervised training<\/strong> was performed considering a massive scale of textual data, including books, articles, web pages, and other sources of natural language text, the objective of which was to find a pattern in this data. Then, <strong>supervised training<\/strong> was applied, where several examples of prompts and responses were passed to the model. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Next, the model was trained with <strong>adaptation tasks<\/strong>, which allow the model to adapt to different contexts and natural language domains using a reinforcement learning algorithm that encourages the model to maximize a reward according to a specific task. Finally, the model was refined using the <strong>reinforcement learning<\/strong> from human feedback technique. Basically, this technique combines human supervision with machine learning to improve the quality of the outputs generated by the model.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Therefore, it is worth highlighting that the three types of machine learning described in this article are fundamental to the evolution of AI because they allow machines to acquire knowledge and skills in varied and flexible ways. This not only accelerates the development of intelligent systems, but also opens the door to the creation of new technologies, such as generative AI, which can create new and innovative content. <\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Imagine a machine that, by learning, is able to create music, art or even write stories \u2014 not just copying what already exists, but creating something entirely new. This is the power of machine learning.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Enjoying our content? Sign up for our newsletter and be the first to receive our latest articles. Stay informed on data analytics insights, business intelligence trends, marketing strategies, and the latest advancements in artificial intelligence.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machine learning&nbsp;is the backbone of Artificial Intelligence (AI) because it is through this subfield of AI that machines can learn. All other subfields: natural language Processing (NLP), robotics and computer vision and their respective applications use machine learning algorithms. That&#8217;s why Machine Learning is considered the engine behind the great revolutions we&#8217;re seeing in Artificial [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":20610,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[48],"tags":[49,71,72,51,73,74,75,76,77],"class_list":["post-3854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","tag-artificial-intelligence","tag-deep-learning","tag-language-processing","tag-machine-learning","tag-natural","tag-nlp","tag-reinforcement-learning","tag-supervised-learning","tag-unsupervised-learning"],"acf":[],"_links":{"self":[{"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/posts\/3854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/comments?post=3854"}],"version-history":[{"count":2,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/posts\/3854\/revisions"}],"predecessor-version":[{"id":22875,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/posts\/3854\/revisions\/22875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/media\/20610"}],"wp:attachment":[{"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/media?parent=3854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/categories?post=3854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loxias.ai\/wp-json\/wp\/v2\/tags?post=3854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}