首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
BUSS6002代做、代写Python程序设计
项目预算:
开发周期:
发布时间:
要求地区:
BUSS6002 Assignment
October 10, 2023
Instructions
• Due: at 23:59 on Friday, October 27, 2023 (end of week 12).
• You must submit a written report (in PDF) with the following filename format, replacing
STUDENTID with your own student ID: BUSS6002 STUDENTID.pdf.
• You must also submit a Jupyter Notebook (.ipynb) file with the following filename format,
replacing STUDENTID with your own student ID: BUSS6002 STUDENTID.ipynb.
• There is a limit of 6 A4-pages for your report (including equations, tables, and captions).
• All plots, computational tasks, and results must be completed using Python.
• Each section of your report must be clearly labelled with a heading.
• Do not include any Python code as part of your report.
• All figures must be appropriately sized and have readable axis labels and legends (where
applicable).
• The submitted .ipynb file must contain all the code used in the development of your report.
• The submitted .ipynb file must be free of any errors, and the results must be reproducible.
• You may submit multiple times but only your last submission will be marked.
• A late penalty applies if you submit your assignment late without a successful special consideration. See the Unit Outline for more details.
• Generative AI tools (such as ChatGPT) may be used for this assignment but you must add a
statement at the end of your report specifying how generative AI was used. E.g., Generative
AI was used only used for editing the final report text.
• Hint! It is highly recommended that you finish the week 10 tutorial before starting this
assignment.
1
Description
In this assignment, you are conducting a study that compares the empirical performance between
two families of basis functions for linear basis function (LBF) models: polynomial basis functions
and radial basis functions. The aim is to investigate which family of basis functions is better suited
for approximating highly nonlinear relationships between two scalar-valued variables.
More specifically, you are given four benchmark datasets: A, B, C, and D. Each dataset contains 5,000 observations of the the response and predictor variables, which are named y and x,
respectively. A scatter plot of each dataset is shown in Figure 1. Your task is to compare the performance between polynomial and radial basis function regression models on each of the datasets.
Figure 1: Benchmark Datasets
The LBF model being considered in your study is given by
y = ϕ(x)
⊤β + ε,
where ϕ(x) := [1, ϕ1(x), . . . , ϕp(x)]⊤, β := [β0, β1, . . . , βp]
⊤, and ε is a random noise. For the
set of basis functions {ϕi}
p
i=1, two choices are being investigated: the first choice is the family of
polynomial basis functions,
ϕi(x) := x
i
,
and the second choice is the family of radial basis functions,
ϕi(x) := exp (
−
(x −
i
p+1 )
2
2s
2
)
.
2
Before comparing the two basis function families, you must set the value of p for the polynomial regression model, as well as the values of p and s for the radial basis function regression model. These
hyperparameter values should be selected for each dataset, using a validation set, by minimising
the validation mean squared error (MSE).
In your study, the optimal value of p (for each basis function family) should be selected by
exhaustively searching through an equally-spaced grid from 1 to 10, with a spacing of 1:
P := {1, 2, 3, . . . , 10}.
For the radial basis functions, in addition to selecting p, you should also select the optimal value
of s by exhaustively searching through another equally-spaced grid from 0.1 to 1, with a spacing
of 0.1:
S := {0.1, 0.2, 0.3, . . . , 1}.
That is, for each dataset, the optimal values must be determined for three hyperparameters in
total: ppol ∈ P, prad ∈ P, and s ∈ S, where ppol denotes the number of polynomial basis functions
(i.e., the degree of the polynomial) and prad denotes the numbers of radial basis functions.
Once the optimal values of the hyperparameters are chosen for both basis function families,
you will be able to compare the performance between the two using a test set (i.e., by comparing
the test MSE between the two optimally selected models).
The files containing the datasets are listed in Table 1, which can be downloaded from the unit’s
Canvas site. In each file, the dataset is organised as comma separated values, with each row being
an observation and each column being a variable. The response values are on the first column and
the corresponding predictor values on are the second column.
File Description
dataset-a.csv Benchmark dataset A
dataset-b.csv Benchmark dataset B
dataset-c.csv Benchmark dataset C
dataset-d.csv Benchmark dataset D
Table 1: Files Provided
3
Report Structure
Your report must contain the following four sections:
1 Introduction (0.5 pages)
– Provide a brief project background so that the reader of your report can understand
the general problem that you are solving.
– Motivate your research question.
– State the aim of your project.
– Provide a short summary of each of the rest of the sections in your report (e.g., “The
report proceeds as follows: Section 2 presents . . . ”).
2 Methodology (2 pages)
– Define and describe the LBF model.
– Define and describe the two choices of basis function families being investigated.
– Describe how the parameter vector β is estimated given the hyperparameter value(s).
Mention any potential numerical issues associated with the estimation procedure.
– Describe how the hyperparameter value(s) can be determined automatically from data
(as opposed to manually setting the hyperparameters to arbitrary values).
– Describe how the performance of the two families of basis functions is compared given
the optimal hyperparameter value(s).
3 Empirical Study (2.5 pages)
– Describe the benchmark datasets used in your study.
– Describe in detail the procedure that you followed to obtain the empirical results, including any computational challenges that you may have encountered. You may refer
to details in Section 2 to avoid repetition in your writing.
– Present (in a table) the optimal hyperparameter values selected for each dataset and
for each basis function family.
– Discuss the table of selected hyperparameters.
– Visually present (using plots) the predicted response values under each basis function
family for each dataset.
– Discuss the plots of predicted values.
– Present (in a table) the test MSE under each basis function family for each dataset.
– Discuss the table of test MSE values.
4 Conclusion (0.5 pages)
– Discuss your overall findings / insights.
– Discuss any limitations of your study.
– Suggest potential directions of extending your study.
4
Rubric
This assignment is worth 30% of the unit’s marks. The assessment is designed to test your computational skills in implementing algorithms and conducting empirical experiments, as well as your
communication skills in writing a concise and coherent report presenting your approach and results.
The mark allocation across assessment items is given in Table 2.
Assessment Item Goal Marks
Section 1 Introduction 4
Section 2 Methodology 10
Section 3 Empirical Study 16
Section 4 Conclusion 3
Overall Presentation Clear, concise, coherent, and correct 5
Jupyter Notebook Reproducable results 2
Total 40
Table 2: Assessment Items and Mark Allocation
5
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写dts207tc、sql编程语言代做
2024-12-25
cs209a代做、java程序设计代写
2024-12-25
cs305程序代做、代写python程序...
2024-12-25
代写csc1001、代做python设计程...
2024-12-24
代写practice test preparatio...
2024-12-24
代写bre2031 – environmental...
2024-12-24
代写ece5550: applied kalman ...
2024-12-24
代做conmgnt 7049 – measurem...
2024-12-24
代写ece3700j introduction to...
2024-12-24
代做adad9311 designing the e...
2024-12-24
代做comp5618 - applied cyber...
2024-12-24
代做ece5550: applied kalman ...
2024-12-24
代做cp1402 assignment - netw...
2024-12-24
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!