{"id":1766,"date":"2020-07-13T13:51:22","date_gmt":"2020-07-13T13:51:22","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1766"},"modified":"2020-07-13T13:51:22","modified_gmt":"2020-07-13T13:51:22","slug":"tidyx-episode-18-random-forests","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-episode-18-random-forests\/","title":{"rendered":"TidyX Episode 18: Random Forests"},"content":{"rendered":"<p>In this weeks episode of TidyX, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and breakdown the code that <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/NSilbiger\/status\/1280662329537908736\">Dr. Nyssa Silbiger<\/a><\/strong><\/span> wrote to produce some lollipop plots with little coffee beans at the end of each one in order to get int the theme of the coffee rating data set provided by the <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/rfordatascience\/tidytuesday\">TidyTuesday Project<\/a><\/span><\/strong> this week.<\/p>\n<p>After that, we discuss Random Forests and,\u00a0using the {<span style=\"color: #0000ff;\"><strong>randomForest<\/strong><\/span>} package in R, we create a Random Forest classifier to classify the coffee ratings of each cup based on a number of features. We walk through:<\/p>\n<p>1. Data prep\/cleaning<br \/>\n2. Exploratory analysis with visualizations<br \/>\n3. Random splitting of data into training and testing sets<br \/>\n4. Model building<br \/>\n5. Model testing and evaluation<\/p>\n<p>If you&#8217;d like to watch the full screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=2-7r8nzVxIg\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>For the code we used in the analysis, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/018-Coffee_and_Random_Forests\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this weeks episode of TidyX, Ellis Hughes and breakdown the code that Dr. Nyssa Silbiger wrote to produce some lollipop plots with little coffee beans at the end of each one in order to get int the theme of the coffee rating data set provided by the TidyTuesday Project this week. After that, we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1766","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"predecessor-version":[{"id":1767,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1766\/revisions\/1767"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}