课程一(Neural Networks and Deep Learning),第二周(Basics of Neural Network programming)—— 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.

---------------------------------------------------中文翻译--------------------------------------

请注意, 当你正在进行的编程练习, 你会发现评论说, "# GRADED FUNCTION: functionName"。不要编辑该注释。该代码块中的函数将被分级。
1) 什么是 Jupyter 笔记本?
Jupyter 笔记本是一个文档, 它允许您在同一网页中具有可执行代码和文本。使用 Jupyter 笔记本, 您不必在计算机上下载任何内容来进行编程练习。一切都是为您提供在线。当您向下滚动网页而不需要在不同的文件之间跳转时, 您将完成该练习。
 
2) 什么是 coursera  hub?
coursera hub是包含笔记本、助手文件、数据集和图像的工作区。要转到hub, 您应该首先在笔记本中:
Click on File ==> Open as shown below:
这将引导您到一个具有所有编程练习和数据集的环境。你应该去那里看看我们为你提供的任何帮助函数。
 
3) 如何提交我的作业?

 若要提交作业, 请单击上面的 "Submit Assignment" 图标上的蓝色按钮。

4) 如何运行cell?

 若要运行cell, 请单击该cell并按 Shift +Enter。您还可以通过进入cell并选择其中一个选项来运行cell (或cells):

5) 什么是kernel?

你可以把kernel看成是 Jupyter 笔记本操作系统的核心。有时, 如果笔记本阻塞, 或者您想清除所有变量并重新开始, 而不是退出笔记本并再次打开它, 您可以:

如果您意外地在某种无限循环中结束, 请重新启动内核并清除输出。

6) 为什么每次运行同一单元格(cell)时都得到不同的结果?

 在运行更新某些变量的单元格 (eg x:x+1) 时, x 的结果会不同, 因为它不断递增。请确保您没有修改现有变量。

7) 我被一个任务难住了。我该怎么办?

在讨论论坛中, 每个星期都有一个专门的论坛。你可以张贴问题, 并得到答案, 他们在那里。请务必遵守课程荣誉代码。

8) 如何保存我的进度?

Click on File ==> Save and Checkpoint


9) 如果我的jupyter notebook本死机了, 我该怎么办?

 只需单击Kernel ==> Restart,l就能重新启动内核。

 ----------------------------------------------------------------------------------------------------------------------

注:部分图片原网页不能不能显示。

原文地址:https://www.cnblogs.com/hezhiyao/p/7811374.html