Machine Learning Honor Code
机器学习的荣誉代码
We strongly encourage students to form study groups, and discuss the lecture videos (including in-video questions). We also encourage you to get together with friends to watch the videos together as a group. However, the answers that you submit for the review questions should be your own work. For the programming exercises, you are welcome to discuss them with other students, discuss specific algorithms, properties of algorithms, etc.; we ask only that you not look at any source code written by a different student, nor show your solution code to other students.
我们强烈鼓励学生组成学习小组,讨论讲座视频(包括视频内的问题)。我们也鼓励你和朋友们聚在一起,作为一个小组一起看视频。然而,你提交的复习问题的答案应该是你自己的工作。对于编程练习,欢迎您与其他同学讨论,讨论具体算法、算法的性质等;我们只要求您不要查看其他学生编写的任何源代码,也不要向其他学生显示您的解决方案代码。
Guidelines for Posting Code in Discussion Forums
Scenario 1: Code to delete
Learner Question/Comment: "Here is the code I have so far, but it fails the grader. Please help me fix it."
在讨论区张贴程式码的指引
场景1:要删除的代码
学习者问题/评论:“这是我目前使用的代码,但是没有通过评测。请帮我修好它。”
Why Delete?: The reason is that if there is a simple fix provided by a student, a quick copy and paste with a small edit will provide credit without individual effort.
为什么删除?:原因是,如果有一个学生提供了一个简单的解决方案,只需快速复制并粘贴一个小的编辑就可以获得学分,而不需要个人努力。
Learner Question: A student substitutes words for the math operators, but includes the variable names (or substitutes the equivalent greek letters (θ for 'theta', etc). This student also provides a sentence-by-sentence, line by line, description of exactly what their code implements. "The first line of my script has the equation "hypothesis equals theta times X", but I get the following error message...".
学习者的问题:学生使用替代词代替数学运算符,但包括变量名(或替代词相当于希腊字母(θ,θ,等等)。该学生还逐句逐行地描述了代码实现的具体内容。我的脚本的第一行的方程是“假设=θ * X”,但是我得到了以下错误信息……
Why Delete?: This should be deleted. “Spelling out” the code in English is the same as using the regular code.
为什么删除?:这个应该删除。用英语“拼写”代码与使用常规代码相同。
Scenario 2: Code not to delete
Learner Question: How do I subset a matrix to eliminate the intercept?
场景2:代码不能删除
学习问题:我如何子集一个矩阵来消除截距?
Mentor Response: This probably would be okay, especially if the person posting makes an effort to not use familiar variable names, or to use a context which has nothing to do with the contexts in the assignments.
导师回答:这可能是可以的,特别是当发帖者努力不使用熟悉的变量名,或者使用与作业上下文无关的上下文时。
It is clearly ok to show examples of Octave code to demonstrate a technique. Even if the technique itself is directly applicable to a programming problem at hand. As long as what is typed cannot be "cut and pasted" into the program at hand.
很明显,用Octave的代码来演示一种技术是可以的。即使该技术本身直接适用于手头的编程问题。只要输入的内容不能“剪切粘贴”到手头的程序中。
E.g. how do I set column 1 of a matrix to zero? Try this in your Octave work area:
例如,如何将矩阵的第一列设为零?在你的Octave工作区域试试这个:
>> A = magic(3)
>> A(:,1) = 0
The above is always acceptable (in my understanding). Demonstrating techniques and learning the language/syntax are important Forum activities.
以上情况(在我的理解中)总是可以接受的。演示技术和学习语言/语法是重要的论坛活动。
网友评论