# HG changeset patch # User testtool # Date 1507903832 14400 # Node ID 6169ba9ed42abf76779aa3c544c10bd9c173a7ec # Parent a3a8499f0f955c21d96781515c204a3e08c912d7 Uploaded diff -r a3a8499f0f95 -r 6169ba9ed42a accuracy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/accuracy.xml Fri Oct 13 10:10:32 2017 -0400 @@ -0,0 +1,56 @@ + + model creation and accuracy estimation + + r-caret + + + Rscript '$__tool_directory__/accuracy.R' '$input' '$p' '$output1' '$output2' + + + + + + + + + + + + + + + + + + + + + + + +Tool allow us to build 5 different models to predict e.g. species from flower measurements. +In the end we can select the best model for further analysis. + +Let’s evaluate 5 different algorithms: + +**Linear Discriminant Analysis (LDA)** +**Classification and Regression Trees (CART).** +**k-Nearest Neighbors (kNN).** +**Support Vector Machines (SVM) with a linear kernel.** +**Random Forest (RF)** + +This is a good mixture of simple linear (LDA), nonlinear (CART, kNN) and complex nonlinear methods (SVM, RF). +We reset the random number seed before reach run to ensure that the evaluation of each algorithm is performed +using exactly the same data splits. It ensures the results are directly comparable. + + + + https://CRAN.R-project.org/package=caret + +