![]() ![]() The package "party" has the function ctree() which is used to create and analyze decison tree. You also have to install the dependent packages if any. Use the below command in R console to install the package. The R package "party" is used to create decision trees. For new set of predictor variable, we use this model to arrive at a decision on the category (yes/No, spam/not spam) of the data. R has packages which are used to create and visualize decision trees. Then a set of validation data is used to verify and improve the model. Generally, a model is created with observed data also called training data. ![]() It is mostly used in Machine Learning and Data Mining applications using R.Įxamples of use of decision tress is − predicting an email as spam or not spam, predicting of a tumor is cancerous or predicting a loan as a good or bad credit risk based on the factors in each of these. ![]() The nodes in the graph represent an event or choice and the edges of the graph represent the decision rules or conditions. Decision tree is a graph to represent choices and their results in form of a tree.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |