愚かな質問、私はAndrew Ngの最新のDeep Learningコースの3週間目を控え、かなり単純なNumpy関数に悩まされています。Numpy-深い学習、トレーニングの例
練習では、いくつの訓練例があるのかを見つけることです。
Numpyの機能は、事前にロードされたトレーニングの例のサイズを調べるためのものです。
ありがとうございます!
shape_X = X.shape
shape_Y = Y.shape
m = ?
print ('The shape of X is: ' + str(shape_X))
print ('The shape of Y is: ' + str(shape_Y))
print ('I have m = %d training examples!' % (m))
これはすばらしい説明です!どうもありがとうございます! – kyttcar