What are Machine Learning Tasks? (part 2)
Tags: machinelearning, datascience
Published: 2020-12-22 02:09:47

<!-- wp:paragraph -->
<p>You can find the Part 1 of this post here:<br><a href="https://reinforcement-learning4.fun/2020/11/30/machine-learning-tasks-part-1/">https://reinforcement-learning4.fun/2020/11/30/machine-learning-tasks-part-1/</a></p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Unsupervised Learning</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Unsupervised Learning aims to find patterns like similarity, structure, or correlation among our data. Thus, we don't need to select an attribute of our dataset as a target output. Typical Unsupervised Learning tasks include clustering, dimensionality reduction, and association rules discovery.</p>
<!-- /wp:paragraph -->

<!-- wp:more -->
<!--more-->
<!-- /wp:more -->

<!-- wp:heading {"level":3} -->
<h3>Clustering</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Clustering is an unsupervised learning task that groups instances from a dataset according to their similarity. In clustering, we don't need to provide examples of the group of a sample. However, depending on the chosen clustering algorithm, we need to set parameters like the number of clusters to be found and the similarity criteria used to compare the instances.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Clustering has many real-world applications. Marketing uses it to find groups of customers who share interests and preferences. Data mining uses clustering to find groups of documents and how to group them in similar topics. These applications can extend to preparation tasks, like exploratory data analysis or sampling. Whenever we don't have a clear expected output, clustering helps us gain insights about our dataset.&nbsp; &nbsp;&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3>Dimensionality Reduction</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>We call high dimension datasets the ones that have an increased number of attributes. As the number of a dataset's dimensions increases, the dataset's analysis and processing become harder, making many learning algorithms inefficient. This phenomenon is known as the curse of dimensionality.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Dealing with the curse of dimensionality involves reducing the number of attributes of a dataset. However, manually selecting the most representatives attributes of a high-dimensional dataset is impractical. Thus we can use dimensionality reduction algorithms to rank the most significant dimensions of a dataset automatically. Once we sorted the attributes by their rank, we can select the most important ones and reduce our dataset's dimensionality.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Reinforcement Learning</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In Reinforcement Learning, we train an agent to interact with an environment. Typical reinforcement learning applications are autonomous vehicles, intelligent game players, and recommender systems.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In general, the Reinforcement Learning paradigm is useful when training data is not available. Instead of feeding our training algorithm with training data, we run many simulations where the agent performs actions that alter the environment's state. Based on the action and the new state, the environment returns a reward signal to indicate if the action was positive, negative, or neutral.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>An exciting characteristic of Reinforcement Learning algorithms is that they can learn not just immediate rewards but also future ones. This capability is especially interesting for environments that require strategic planning. For example, it's common practice in chess games to give up pieces in exchange for a better position or victory. Another good example is stock trading. Often we need to support some temporary losses to achieve higher profits in the long term. Reinforcement Learning algorithms are suitable for these cases because the reward for an action propagates to the previous ones so that the agent is capable of making long-term decisions.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Conclusion</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Choosing the correct Machine Learning paradigm is crucial for the success of your project. We can solve the same business problem using different approaches or even a combination of them. Thus, we need to understand each paradigm's details and have a deep comprehension of the business problem we need to solve to make the right choice.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>References</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Introduction to Reinforcement Learning: the Frozen Lake&nbsp;Example:<br><a href="http://reinforcement-learning4.fun/2019/06/09/introduction-reinforcement-learning-frozen-lake-example/">http://reinforcement-learning4.fun/2019/06/09/introduction-reinforcement-learning-frozen-lake-example/</a></p>
<!-- /wp:paragraph -->