Lesson 7: Random Forest from Scratch implementation question

Hello all,

After searching through the forums and copying the exact notebook, I cannot seem to figure out why the code is breaking.

This is the error I receive.

It seems for some reason, the code stops at the function find_varsplit.

It does not go past if is_leaf: return.

Does anyone know why?

@jeremy would love for your input :slight_smile: