Logistic Regression programming assignment exercise 2

Know someone what is bad?

It is the same issue as on your other recent thread: where is np defined? It is in the very first “import” code cell in the notebook. But you have to actually run that cell, right? Try “Cell → Run All Above” and then try your sigmoid cell again.