Fix numpy deprecation warning in `2_hidden_layers_neural_network.py` (#10424)
* updating DIRECTORY.md
* updating DIRECTORY.md
* updating DIRECTORY.md
* updating DIRECTORY.md
* Fix deprecation warning in 2_hidden_layers_neural_network.py
Fix numpy deprecation warning:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> T
Tianyi Zheng committed
b6b45eb1cee564e3c563966244f124051c28b8e7
Parent: e6aae1c
Committed by GitHub <[email protected]>
on 10/15/2023, 11:41:45 PM