We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b611e5f commit 37443a1Copy full SHA for 37443a1
md/Random-Forest.md
@@ -1,3 +1,23 @@
1
-#Random Forest
+# Random Forest
2
3
-##function ##
+__function__ RANDOMFOREST( S,F ) __return__ solution:
4
+  __input__ S --> training set consisting of (Xi,Yi)
5
+   F --> No. of features
6
+   H <-- null
7
+
8
+  for __each__ i 1,..B(no.of trees) __do__
9
+    h(i) --> RANDOMISEDTREE( S(i),F )
10
+    H <-- H U {h(i)}
11
+    __return__ H
12
13
+__function__ RANDOMISEDTREE(S,F) __return__ learnt_tree :
14
15
+  for each node of the tree do
16
+    f <-- Randomised subset of F
17
+    Split and choose best feature in f
18
19
20
21
22
23
0 commit comments