xingxinghuang / deeplearning.ai Goto Github PK
View Code? Open in Web Editor NEWThe notes of Adrew Ng's coursera course: deeplearning.ai. Glad to answer any related questions, just email me.
The notes of Adrew Ng's coursera course: deeplearning.ai. Glad to answer any related questions, just email me.
你好,看到你Readme上写着已经把答案删除,为什么我下载的文件中还包含着答案,请问怎么才能下到没有答案的版本
In NeuralNetwork&DeepLearning___Week2(Logistic+Regression+with+a+Neural+Network+mindset),
"from lr_utils import load_dataset“ failed,No module named 'lr_utils' .
Anyone help me out? Many Thanks.
Huangxingxing您好,
我试着在Coursera Notebook server上浏览整个目录结构,能够看到整个课程的资源。 但是只能选中,删除,没有下载链接。 请问您是如何都下载下来的呢?
多谢~
第四课的课后作业怎么打开?是打开saved_resource.html文件吗?我用浏览器打开这个文件没有内容。(windows7、qq浏览器)
你好,
看到你的这个仓库里包含第5课的内容,第5课已经开始了吗?
但是我在coursera.ai上面没看到如何内容呢?
您好,开始做第一课第三周的作业时遇到一个问题:
运行
plt.scatter(X[0, :], X[1, :], c=Y, s=40, cmap=plt.cm.Spectral);
这一部分代码会报一长串错误,最后的是
ValueError: c of shape (1, 400) not acceptable as a color sequence for x with size 400, y with size 400
然后也画不出花的形状,请问这个问题是什么情况,该如何解决啊?感激~
Thanks "up-zhu"~~~
I found the Sigmoid.png couldn't display.
I found the code is
<img src="images/Sigmoid.png" style="width:500px;height:228px;"
I think it should be
<img src="Sigmoid.png" style="width:500px;height:228px;"
or move the pitcure to the images folder.
TypeError Traceback (most recent call last)
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\colors.py in to_rgba(c, alpha)
131 try:
--> 132 rgba = _colors_full_map.cache[c, alpha]
133 except (KeyError, TypeError): # Not in cache, or unhashable.
TypeError: unhashable type: 'numpy.ndarray'
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\axes_axes.py in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, **kwargs)
3985 # must be acceptable as PathCollection facecolors
-> 3986 colors = mcolors.to_rgba_array(c)
3987 except ValueError:
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\colors.py in to_rgba_array(c, alpha)
232 for i, cc in enumerate(c):
--> 233 result[i] = to_rgba(cc, alpha)
234 return result
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\colors.py in to_rgba(c, alpha)
133 except (KeyError, TypeError): # Not in cache, or unhashable.
--> 134 rgba = _to_rgba_no_colorcycle(c, alpha)
135 try:
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\colors.py in _to_rgba_no_colorcycle(c, alpha)
188 if len(c) not in [3, 4]:
--> 189 raise ValueError("RGBA sequence should have length 3 or 4")
190 if len(c) == 3 and alpha is None:
ValueError: RGBA sequence should have length 3 or 4
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in ()
----> 1 train_X, train_Y, test_X, test_Y = load_2D_dataset()
~\Desktop\deeplearning.ai_JupyterNotebooks-master\deeplearning.ai_JupyterNotebooks-master\2_Improving Deep Neural Networks Hyperparameter tuning, Regularization and Optimization\week1\2_Regularization\reg_utils.py in load_2D_dataset()
332 test_Y = data['yval'].T
333
--> 334 plt.scatter(train_X[0, :], train_X[1, :], c=train_Y, s=40, cmap=plt.cm.Spectral);
335
336 return train_X, train_Y, test_X, test_Y
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\pyplot.py in scatter(x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, hold, data, **kwargs)
3376 vmin=vmin, vmax=vmax, alpha=alpha,
3377 linewidths=linewidths, verts=verts,
-> 3378 edgecolors=edgecolors, data=data, **kwargs)
3379 finally:
3380 ax._hold = washold
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib_init_.py in inner(ax, *args, **kwargs)
1715 warnings.warn(msg % (label_namer, func.name),
1716 RuntimeWarning, stacklevel=2)
-> 1717 return func(ax, *args, **kwargs)
1718 pre_doc = inner.doc
1719 if pre_doc is None:
c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\matplotlib\axes_axes.py in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, verts, edgecolors, **kwargs)
3989 msg = ("c of shape {0} not acceptable as a color sequence "
3990 "for x with size {1}, y with size {2}")
-> 3991 raise ValueError(msg.format(c.shape, x.size, y.size))
3992 else:
3993 colors = None # use cmap, norm after collection is created
ValueError: c of shape (1, 211) not acceptable as a color sequence for x with size 211, y with size 211
Thank you for sharing!
I met a problem when I run the Gradient+Checking.ipynb.
There is a mistake in the backward propagation! difference = 0.333333347899
But the expected output is difference = 0.285093156781.
I want to know whether the error is normal?
one more thing, I couldn't find the bug in the function of backward_propagation_n.
Could you help me?
您好,我是小白一枚,想问一下您的quiz答案例如4_week1.html在github上面打开是代码形式的,想问一下查看的时候需要clone下来查看吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.