What’s shown below is abstracted from Andrew Moore’s lab tutorials, thanks to him!

Information Gain

Classification

Decision Tree

如果输入是实数而不是布尔型等其他类型: