I am on the very last step of the lab, but the hint is as follows:
If you’re still stuck, check out the hints below.
<details>
<summary><font size="2" color="darkblue"><b> Hint to calculate info_gain</b></font></summary>
<code>info_gain = compute_information_gain(X, y, node_indices, feature)</code>
</details>
<details>
<summary><font size="2" color="darkblue"><b>Hint to update the max_info_gain and best_feature</b></font></summary>
<code>max_info_gain = info_gain</code><br>
<code>best_feature = feature</code>
</details>
I’m not sure what to do now because I don’t know what exactly I have to set best_feature to, and figured the hints would help.