Output shown in interactive terminal is wrong

When we click on “Run” it shows unexpected/wrong output as per the content. The plot should show “1” with 100% probability but it shows ~50% in both “0” and “1” cases.

But if we run this locally in a notebook, it works as expected i.e. it does show 100% probability.

Check the screenshot added below:

Type your question above this line.


Hello @Sagar_Sonawane,

Thanks for highlighting this issue. We are fixing it. We will let you know soon once it is fixed.

Hi @Sagar_Sonawane ,
We have updated the code. Now it is working fine as expected. Please free to highlight any other issue you face in this course.


1 Like