From a81cc6772f544ae974fb497c86b67ffff38ba136 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 15 May 2018 13:57:23 +0200 Subject: added an mpost --- assets/resources/sl-vs-ml.png | Bin 0 -> 150277 bytes microposts/random-forests.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 assets/resources/sl-vs-ml.png create mode 100644 microposts/random-forests.md diff --git a/assets/resources/sl-vs-ml.png b/assets/resources/sl-vs-ml.png new file mode 100644 index 0000000..11ad6a8 Binary files /dev/null and b/assets/resources/sl-vs-ml.png differ diff --git a/microposts/random-forests.md b/microposts/random-forests.md new file mode 100644 index 0000000..de2757c --- /dev/null +++ b/microposts/random-forests.md @@ -0,0 +1,14 @@ +--- +date: 2018-05-15 +--- + +### Notes on random froests + +[Stanford Lagunita's statistical learning course](https://lagunita.stanford.edu/courses/HumanitiesSciences/StatLearning/Winter2016/info) has some excellent lectures on random forests. It starts with explanations of decision trees, followed by bagged trees and random forests, and ends with boosting. From these lectures it seems that: + +1. The term "predictors" in statistical learning = "features" in machine learning. +2. The main idea of random forests of dropping predictors for individual trees and aggregate by majority or average is the same as the idea of dropout in neural networks, where a proportion of neurons in the hidden layers are dropped temporarily during different minibatches of training, effectively averaging over an emsemble of subnetworks. Both tricks are used as regularisations, i.e. to reduce the variance. The only difference is: in random forests, all but a square root number of the total number of features are dropped, whereas the dropout ratio in neural networks is usually a half. + +By the way, here a comparison between statistical learning and machine learning from the slides of the Statistcal Learning course: + +SL vs ML -- cgit v1.2.3