HELP with Exercise 4

HELP with Exercise 4: Evaluating logistic regression

ERROR:
File “”, line 32
p[i] = f_wb >= 0.5
^
IndentationError: unindent does not match any outer indentation level

Hey @asimkhada,
I guess the error here is pretty self-explicable. The error lies in the indentation of your code. If you are unaware about the significance of indentation in python, then please check out 07 of this thread.

P.S. - Posting solution code publicly is strictly against the community guidelines. Please refrain from doing so in the future.

Cheers,
Elemento

Thank you @Elemento the problem is solved.

Hey @asimkhada,
I am glad I could help. If you don’t mind, can you please edit your posts to remove the solution code from them.

Cheers,
Elemento