I am fairly new to R and data mining concepts and am trying to understand the rpart package in R. I am a bit confused about the role of priors and loss in the making of a decision tree. I am referring to the http://cran.r-project.org/web/packages/rpart/vignettes/longintro.pdf document and would appreciate any explanation on this topic.
To be more specific , what does it mean by "prior probabilities of each class"? Does it mean that the tree has been built already and now we are trying to reduce the risk or loss?