Course-2 Week-4 Last Assignment problem



After passing all the local tests it failed the global test due to this error. After debugging it due the left_entropy =None because left_indices is empty list

Hi @Muhammad_iftikhar ,

The problem is likely to be in compute_entropy(). How does this function handle empty list?