好文档 - 专业文书写作范文服务资料分享网站

资料:第4周 编程作业

天下 分享 时间: 加入收藏 我要投稿 点赞

编程作业3: 医院质量 **请注意: 没有宽限期**: Instructions

简介

第4个编程作业将通过下述提交脚本进行评分。

详细说明

请下载此文档以了解作业的详细说明:

?

数据

可以在此下载包含此作业数据的zip文件:

? [832K]

rprog-data-ProgAssignment3-data.zip

针对此作业,你需要在工作目录将此文件解压缩。

评分

此作业将使用通过你计算机上运行的提交脚本执行的单元测试进行评分。要获得提交脚本,请使用R运行以下代码:

source(\3.R\

或者你可以 到你的工作目录 (注意:你可能需要将脚本重命名为“submitscript3.R”)。随

后通过

submitscript3.R

source(\

对文件进行本地寻源 首次运行提交脚本时,系统会提示你输入提交登录帐户和密码。可以在“编程作业”页面顶部找到这些内容。要执行提交脚本,请在控制台提示符上输入

模板资料 资源共享

submit()

(在为文件寻源之后)。 注意,你必需连接到互联网,才能正常提交脚本。在R中执行脚本提交时,你会看到以下菜单(在输入提交登录电子邮件和密码之后):

[1] 'best' part 1 [2] 'best' part 2 [3] 'best' part 3

[4] 'rankhospital' part 1 [5] 'rankhospital' part 2 [6] 'rankhospital' part 3 [7] 'rankhospital' part 4 [8] 'rankall' part 1 [9] 'rankall' part 2 [10] 'rankall' part 3 [1-10] 你要提交哪一部分?

输入1到10之间的数字会执行作业的相应部分。我们会将你的函数输出与正确输出进行比较。每次通过测试,你都会在“作业列表”页面上获得特定的分数。

Introduction

This fourth programming assignment will be graded via a submit script which is described below.

Detailed Instructions

Please download this document for detailed instructions about the assignment:

Data

The zip file containing the data for this assignment can be downloaded

here: [832K] For this assignment you will need to unzip this file in your working directory.

Grading

模板资料 资源共享

This assignment will be graded using unit tests executed via the submit script that you run on your computer. To obtain the submit script, run the following code in R:

source(\3.R\

Or you can to your working directory (NOTE: You may need to rename the script to be \

source(\

The first time you run the submit script it will prompt you for your Submission login and Submission password. These can be found at the top of the Programming Assignments page. To execute the submit script, type

submit()

at the console prompt (after source-ing the file). NOTE that the submit script

requires that you be connected to the Internet in order to work properly. When you execute the submit script in R, you will see the following menu (after typing in your submission login email and password):

[1] 'best' part 1 [2] 'best' part 2 [3] 'best' part 3

[4] 'rankhospital' part 1 [5] 'rankhospital' part 2 [6] 'rankhospital' part 3 [7] 'rankhospital' part 4 [8] 'rankall' part 1 [9] 'rankall' part 2 [10] 'rankall' part 3

Which part are you submitting [1-10]?

Entering a number between 1 and 10 will execute the corresponding part of the homework. We will compare the output of your functions to the correct output. For each test passed you receive the specified number of points on the Assignments List web page.

模板资料 资源共享

9335x163lc44p5c1cp2i5zpak1cssx00de5
领取福利

微信扫码领取福利

微信扫码分享