A-Plus Homework Help
For College Students

# Machine Learning Decision Tree

Document Type:Research Paper

Subject Area:Computer Science

Document 1

Different branches that have unique extensions are developed. The purpose of a decision tree is to exhaust the dynamics of the existing data into the tiniest tree. The idea of decreasing the size of the tree is based on the logic that the smallest available description for a group of concepts is preferred. Besides, it is easier to look, interpret, and decisions faster when using small trees compared when larger trees are used. Several approaches are applied to explore the depth of a decision tree. In machine learning, nodes are used to represent data, which results in the formation of a classification tree. Every branch is made up of features that are linked to a given class that is captured at the tip. These class rules are also referred to as decision rules and can be expressed using the if-then phrase. Thus, each data value has a clause attached to it. In most cases, a decision tree is perceived to be optimal where a lot of information used to produce a small number of questions. Some of the algorithms developed to establish optimized decisions trees include the following; ID3/4/5 and CART (Tulabandhula & Rudin, 2014). Equally, it is possible to create a decision tree by constructing similarity rules and ensuring the targeted variable is at the right-hand side. All methods that are applied have the duty of uncovering the best alternative to divide the data at every step. Various techniques measure the information gain and the Gini impurity while choosing the best way of splitting the information.

How to Build the Model of a Decision Tree The most common algorithm utilized in making decision trees is the ID3, which was developed by J. R. Quinlan. The approach applies a top-down search technique throughout the entire process capturing all the branches while avoiding backtracking. J. R. It is easy to understand their identity because they are built from the data therein. The purity of the subdivisions becomes optimized every time a new node is established. Thus, when constructing the tree comes to an end, a clear and conclusive answer is obtained (Dangeti, 2017). The figure below shows how the division of data takes place. Blue crosses indicate a distinct feature from the one explored by the red rings. Appropriate additions are conducted to attain the total entropy for each subset (Mitchell, 2010).

The outcome of the subsequent entropy is always subtracted from the earlier sets. The reduced entropy is what is referred to as the information gain. Third, the attribute with the highest information gain is identified and considered as the decision node (Powell & Ryzhov, 2012). The dataset is then split using its branches and the earlier procedure repeated. If the data that was correctly categorized is added to the one that was incorrectly classified, the percentage should indicate the sample space. Equally, it is significant to determine whether the approach divides the positive and negative items in the required manner. The procedure is vital in helping to identify whether the framework provides an accurate or inaccurate prediction. Strengths Decision tree model has various strengths, which include the following; first, the decision tree model is comparatively cheap because its cost of predicting information reduces as a level of data added.

Second, the approach is useful in both the numerical or categorical information thereby exhaustive because it captures every kind of data (Dangeti, 2017). First, they came with predictive factors that showed how the number of deaths was attached to the Nosocomial infections. Then they created an algorithm that showed the risk of infections, which was used as a reference for the recommendations made to better the healthcare services provided by the hospitals. Their findings showed that patients that used two or more antibiotics and those that suffered from invasive procedures had a shorter time to live after they were infected. Equally, the decision tree model that was employed showed that two different groups that depicted high rates of deaths were created. In the first group, deaths were certain in less than 11 days.