第二周:神经网络的编程基础----------2编程作业常见问题与答案(Programming Assignment FAQ)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了第二周:神经网络的编程基础----------2编程作业常见问题与答案(Programming Assignment FAQ)相关的知识,希望对你有一定的参考价值。
Please note that when you are working on the programming exercise you will find comments that say "# GRADED FUNCTION: functionName". Do not edit that comment. The function in that code block will be graded.
1) What is a Jupyter notebook?
A Jupyter notebook is a document that allows you to have executable code and text in the same web-page. With Jupyter notebooks you do not have to download anything on your computer to do the programming exercises. Everything is provided for you online. You will be completing the exercise as you scroll down the webpage without having to jump between different files.
2) What is the coursera hub?
The coursera hub is the workspace which contains the notebook, helper files, data sets, and images. To go to the hub, you should first be in the notebook:
Click on File ==> Open as shown below:
This will lead you to an environment that has all your programming exercises and datasets. You should go there to check out any helper functions that we have provided for you.
3) How do I submit my assignment?
To submit the assignment, click on the blue button in the above image labelled "Submit Assignment."
4) How do I run a cell?
To run a cell, click on the cell and press Shift & Enter. You could also run the cell (or cells) by going to Cell and selecting one of the options:
5) What is a kernel?
You could think of the kernel as the core of the Jupyter notebook‘s operating system. Sometimes if the notebook blocks or if you want to clear all the variables and start all over again, rather than quitting the notebook and opening it again, you could:
Restart the kernel and clear the output if you accidentally end up in some sort of infinite loop.
6) Why do I get different results every time I run the same cell?
When you run a cell that updates some variable (e.g x: x+1), you will get different results for x as it keeps incrementing. Make sure you are not modifying your existing variables.
7) I got stuck on an assignment; what do I do?
In the Discussion Forums, there is a dedicated forum for each week of the course. You can post questions and get answers to them there. Please be sure to abide by the course Honor Code.
8) How do I save my progress?
Click on File ==> Save and Checkpoint
9) What should I do if my jupyter notebook froze?
Just restart the kernel by clicking on Kernel ==> Restart.
---------------------------------------------------中文翻译--------------------------------------
若要提交作业, 请单击上面的 "Submit Assignment" 图标上的蓝色按钮。
若要运行cell, 请单击该cell并按 Shift +Enter。您还可以通过进入cell并选择其中一个选项来运行cell (或cells):
你可以把kernel看成是 Jupyter 笔记本操作系统的核心。有时, 如果笔记本阻塞, 或者您想清除所有变量并重新开始, 而不是退出笔记本并再次打开它, 您可以:
如果您意外地在某种无限循环中结束, 请重新启动内核并清除输出。
6) 为什么每次运行同一单元格(cell)时都得到不同的结果?
在运行更新某些变量的单元格 (eg x:x+1) 时, x 的结果会不同, 因为它不断递增。请确保您没有修改现有变量。
7) 我被一个任务难住了。我该怎么办?
在讨论论坛中, 每个星期都有一个专门的论坛。你可以张贴问题, 并得到答案, 他们在那里。请务必遵守课程荣誉代码。
8) 如何保存我的进度?
Click on File ==> Save and Checkpoint
9) 如果我的jupyter notebook本死机了, 我该怎么办?
只需单击Kernel ==> Restart,l就能重新启动内核。
----------------------------------------------------------------------------------------------------------------------
注:部分图片原网页不能不能显示。
以上是关于第二周:神经网络的编程基础----------2编程作业常见问题与答案(Programming Assignment FAQ)的主要内容,如果未能解决你的问题,请参考以下文章
第二周:神经网络的编程基础----------2编程作业常见问题与答案(Programming Assignment FAQ)
第二周:神经网络的编程基础----------3Python Basics with numpy (optional)