Recursive Partitioning Supervised Machine Learning Algorithm

Recursive Partitioning Supervised Machine Learning Algorithm
Loading the math board and drawing, please wait…
2020-07-10 19:06
This example demonstrates the recursive partitioning algorithm in supervised machine learning. Key mathematical concepts include recursion, partitioning, and supervised learning. It utilizes commands such as Polygon, PointIn, CountIf, Line, Intersect, Segment, and If in GeoGebra. Suitable for high school or university statistics and machine learning courses.

GeoGebra Commands & Parameters

  1. Polygon((0, 0), (100, 0), (100, 9), (0, 9)) → q1, g, h, i, j
  2. PointIn(q1) → A
  3. CountIf(x(XYZ) > x(A), XYZ, l1) → a
  4. CountIf(x(XYZ) > x(A), XYZ, allData) → p
  5. Line(A, A - (7, 2)) → f
  6. CountIf(x(XYZ) > x(A), XYZ, l2) → b
  7. CountIf(x(XYZ) > x(A), XYZ, l3) → d
  8. Intersect(eq1, g) → E
  9. Intersect(eq1, i) → F
  10. Segment(E, F) → k
  11. Polygon({(0, 0), E, F, (0, 9)}) → q2
  12. Polygon({(100, 0), E, F, (100, 9)}) → q3
  13. If(p ≠ 0, b / p, 0) → e
  14. If(p ≠ 0, a / p, 0) → c
  15. If(p ≠ 0, d / p, 0) → l
  16. If(q ≠ 0, (Length[l2] - b) / q, 0) → o
  17. If(q ≠ 0, (Length[l1] - a) / q, 0) → m
  18. If(q ≠ 0, (Length[l3] - d) / q, 0) → n
  19. Polygon((0, 0), (100, 0), (100, 9), (0, 9)) → q1_1, g_1, h_1, i_1, j_1
  20. PointIn(q1_1) → A_1
  21. CountIf(x(CLIPBOARDmagicSTRINGXYZ) > x(A_1), CLIPBOARDmagicSTRINGXYZ, l1_1) → a_1
  22. CountIf(x(CLIPBOARDmagicSTRINGXYZ) > x(A_1), CLIPBOARDmagicSTRINGXYZ, l2_1) → b_1
  23. CountIf(x(CLIPBOARDmagicSTRINGXYZ) > x(A_1), CLIPBOARDmagicSTRINGXYZ, l3_1) → d_1