COMPREHENSIVE ANALYSIS OF HEART DISEASE PREDICTION USING SCIKIT-LEARN

Page 7

e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:03/Issue:03/March-2021

Impact Factor- 5.354

www.irjmets.com

Figure 4: K-Nearest Neighbor The confusion Matrix of the dataset obtained from the K-Nearest Neighbors is shown below which provides all the necessary measures of the choice:

5.0 Extra Trees Classifier Extra Trees Classifier is another kind of ensemble learning technique that combine the results of multiple decorrelated trees collected in a forest to output its result. It is very similar to a Random Forest algorithm but only differs from constructing a vast number of decision trees in the forest. Each Tree in the Extra Trees Forest is built from the original training instances. Then, at each test node, each decision tree is provided with a random piece of 'k features' from the feature-set. Each decision tree must select the best available feature to split the data based on some criteria (e.g. Gini Index). This arbitrary sample of features leads to the creation of multiple de-correlated decision trees.

Figure 5: Extra Tree Classifier www.irjmets.com

@International Research Journal of Modernization in Engineering, Technology and Science

[73]


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.