狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

COMP9414代做、代寫Java/c++編程語言

時(shí)間:2024-06-15  來源:  作者: 我要糾錯(cuò)



COMP9414 24T2
Artificial Intelligence
Assignment 1 - Artificial neural networks
Due: Week 5, Wednesday, 26 June 2024, 11:55 PM.
1 Problem context
Time Series Air Quality Prediction with Neural Networks: In this
assignment, you will delve into the realm of time series prediction using neural
network architectures. You will explore both classification and estimation
tasks using a publicly available dataset.
You will be provided with a dataset named “Air Quality,” [1] available
on the UCI Machine Learning Repository 1. We tailored this dataset for this
assignment and made some modifications. Therefore, please only use the
attached dataset for this assignment.
The given dataset contains 8,358 instances of hourly averaged responses
from an array of five metal oxide chemical sensors embedded in an air qual-
ity chemical multisensor device. The device was located in the field in a
significantly polluted area at road level within an Italian city. Data were
recorded from March 2004 to February 2005 (one year), representing the
longest freely available recordings of on-field deployed air quality chemical
sensor device responses. Ground truth hourly averaged concentrations for
carbon monoxide, non-methane hydrocarbons, benzene, total nitrogen ox-
ides, and nitrogen dioxide among other variables were provided by a co-
located reference-certified analyser. The variables included in the dataset
1https://archive.ics.uci.edu/dataset/360/air+quality
1
are listed in Table 1. Missing values within the dataset are tagged
with -200 value.
Table 1: Variables within the dataset.
Variable Meaning
CO(GT) True hourly averaged concentration of carbon monoxide
PT08.S1(CO) Hourly averaged sensor response
NMHC(GT) True hourly averaged overall Non Metanic HydroCar-
bons concentration
C6H6(GT) True hourly averaged Benzene concentration
PT08.S2(NMHC) Hourly averaged sensor response
NOx(GT) True hourly averaged NOx concentration
PT08.S3(NOx) Hourly averaged sensor response
NO2(GT) True hourly averaged NO2 concentration
PT08.S4(NO2) Hourly averaged sensor response
PT08.S5(O3) Hourly averaged sensor response
T Temperature
RH Relative Humidity
AH Absolute Humidity
2 Activities
This assignment focuses on two main objectives:
? Classification Task: You should develop a neural network that can
predict whether the concentration of Carbon Monoxide (CO) exceeds
a certain threshold – the mean of CO(GT) values – based on historical
air quality data. This task involves binary classification, where your
model learns to classify instances into two categories: above or below
the threshold. To determine the threshold, you must first calculate
the mean value for CO(GT), excluding unknown data (missing values).
Then, use this threshold to predict whether the value predicted by your
network is above or below it. You are free to choose and design your
own network, and there are no limitations on its structure. However,
your network should be capable of handling missing values.
2
? Regression Task: You should develop a neural network that can pre-
dict the concentration of Nitrogen Oxides (NOx) based on other air
quality features. This task involves estimating a continuous numeri-
cal value (NOx concentration) from the input features using regression
techniques. You are free to choose and design your own network and
there is no limitation on that, however, your model should be able to
deal with missing values.
In summary, the classification task aims to divide instances into two cat-
egories (exceeding or not exceeding CO(GT) threshold), while the regression
task aims to predict a continuous numerical value (NOx concentration).
2.1 Data preprocessing
It is expected you analyse the provided data and perform any required pre-
processing. Some of the tasks during preprocessing might include the ones
shown below; however, not all of them are necessary and you should evaluate
each of them against the results obtained.
(a) Identify variation range for input and output variables.
(b) Plot each variable to observe the overall behaviour of the process.
(c) In case outliers or missing data are detected correct the data accord-
ingly.
(d) Split the data for training and testing.
2.2 Design of the neural network
You should select and design neural architectures for addressing both the
classification and regression problem described above. In each case, consider
the following steps:
(a) Design the network and decide the number of layers, units, and their
respective activation functions.
(b) Remember it’s recommended your network accomplish the maximal
number of parameters Nw < (number of samples)/10.
(c) Create the neural network using Keras and TensorFlow.
3
2.3 Training
In this section, you have to train your proposed neural network. Consider
the following steps:
(a) Decide the training parameters such as loss function, optimizer, batch
size, learning rate, and episodes.
(b) Train the neural model and verify the loss values during the process.
(c) Verify possible overfitting problems.
2.4 Validating the neural model
Assess your results plotting training results and the network response for the
test inputs against the test targets. Compute error indexes to complement
the visual analysis.
(a) For the classification task, draw two different plots to illustrate your
results over different epochs. In the first plot, show the training and
validation loss over the epochs. In the second plot, show the training
and validation accuracy over the epochs. For example, Figure 1 and
Figure 2 show loss and classification accuracy plots for 100 epochs,
respectively.
Figure 1: Loss plot for the classifica-
tion task
Figure 2: Accuracy plot for the clas-
sification task
4
(b) For the classification task, compute a confusion matrix 2 including True
Positive (TP), True Negative (TN), False Positive (FP), and False Neg-
ative (FN), as shown in Table 2. Moreover, report accuracy and pre-
cision for your test data and mention the number of tested samples as
shown in Table 3 (the numbers shown in both tables are randomly cho-
sen and may not be consistent with each other). For instance, Sklearn
library offers a various range of metric functions 3, including confusion
matrix 4, accuracy, and precision. You can use Sklearn in-built met-
ric functions to calculate the mentioned metrics or develop your own
functions.
Table 2: Confusion matrix for the test data for the classification task.
Confusion Matrix Positive (Actual) Negative (Actual)
Positive (Predicted) 103 6
Negative (Predicted) 6 75
Table 3: Accuracy and precision for the test data for the classification task.
Accuracy Precision Number of Samples
CO(GT) classification 63% 60% 190
(c) For the regression task, draw two different plots to illustrate your re-
sults. In the first plot, show how the selected loss function varies for
both the training and validation through the epochs. In the second
plot, show the final estimation results for the validation test. For in-
stance, Figure 3 and Figure 4 show the loss function and the network
outputs vs the actual NOx(GT) values for a validation test, respec-
tively. In Figure 4 no data preprocessing has been performed, however,
as mentioned above, it is expected you include this in your assignment.
(d) For the regression task, report performance indexes including the Root
Mean Squared Error (RMSE), Mean Absolute Error (MAE) (see a
discussion on [2]), and the number of samples for your estimation of
2https://en.wikipedia.org/wiki/Confusion matrix
3https://scikit-learn.org/stable/api/sklearn.metrics.html
4https://scikitlearn.org/stable/modules/generated/sklearn.metrics.confusion matrix.html
5
Figure 3: Loss plot for the re-
gression task.
Figure 4: Estimated and actual NOx(GT)
for the validation set.
NOx(GT) values in a table. Root Mean Squared Error (RMSE) mea-
sures the differences between the observed values and predicted ones
and is defined as follows:
RMSE =

1
n
Σi=ni=1 (Yi ? Y?i)2, (1)
where n is the number of our samples, Yi is the actual label and Y?i
is the predicted value. In the same way, MAE can be defined as the
absolute average of errors as follows:
MAE =
1
n
Σi=ni=1 |Yi ? Y?i|. (2)
Table 4 shows an example of the performance indexes (all numbers are
randomly chosen and may not be consistent with each other). As men-
tioned before, Sklearn library offers a various range of metric functions,
including RMSE5 and MAE 6. You can use Sklearn in-built metric func-
tions to calculate the mentioned metrics or develop your own functions.
Table 4: Result table for the test data for the regression task.
RMSE MAE Number of Samples
90.60 50.35 55
5https://scikit-learn.org/stable/modules/generated/sklearn.metrics.root mean squared error.html
6https://scikit-learn.org/stable/modules/generated/sklearn.metrics.mean absolute error.html
6
3 Testing and discussing your code
As part of the assignment evaluation, your code will be tested by tutors along
with you in a discussion session carried out in the tutorial session in week 6.
The assignment has a total of 25 marks. The discussion is mandatory and,
therefore, we will not mark any assignment not discussed with tutors.
You are expected to propose and build neural models for classification
and regression tasks. The minimal output we expect to see are the results
mentioned above in Section 2.4. You will receive marks for each of these
subsection as shown in Table 5, i.e. 7 marks in total. However, it’s fine if
you want to include any other outcome to highlight particular aspects when
testing and discussing your code with your tutor.
For marking your results, you should be prepared to simulate your neural
model with a generalisation set we have saved apart for that purpose. You
must anticipate this by including in your submission a script ready to open
a file (with the same characteristics as the given dataset but with fewer data
points), simulate the network, and perform all the validation tests described
in Section 2.4 (b) and (d) (accuracy, precision, RMSE, MAE). It is recom-
mended to save all of your hyper-parameters and weights (your model in
general) so you can call your network and perform the analysis later in your
discussion session.
As for the classification task, you need to compute accuracy and precision,
while for the regression task RMSE and MAE using the generalisation set.
You will receive 3 marks for each task, given successful results. Expected
results should be as follows:
? For the classification task, your network should achieve at least 85%
accuracy and precision. Accuracy and precision lower than that will
result in a score of 0 marks for that specific section.
? For the regression task, it is expected to achieve an RMSE of at least
280 and an MAE of 220 for unseen data points. Errors higher than the
mentioned values will be marked as 0 marks.
Finally, you will receive 1 mark for code readability for each task, and
your tutor will also give you a maximum of 5 marks for each task depending
on the level of code understanding as follows: 5. Outstanding, 4. Great,
3. Fair, 2. Low, 1. Deficient, 0. No answer.
7
Table 5: Marks for each task.
Task Marks
Results obtained with given dataset
Loss and accuracy plots for classification task 2 marks
Confusion matrix and accuracy and precision tables for classifi-
cation task
2 marks
Loss and estimated NOx(GT) plots for regression task 2 marks
Performance indexes table for regression task 1 mark
Results obtained with generalisation dataset
Accuracy and precision for classification task 3 marks
RMSE and MAE for regression task 3 marks
Code understanding and discussion
Code readability for classification task 1 mark
Code readability for regression task 1 mark
Code understanding and discussion for classification task 5 mark
Code understanding and discussion for regression task 5 mark
Total marks 25 marks
4 Submitting your assignment
The assignment must be done individually. You must submit your assignment
solution by Moodle. This will consist of a single .ipynb Jupyter file. This file
should contain all the necessary code for reading files, data preprocessing,
network architecture, and result evaluations. Additionally, your file should
include short text descriptions to help markers better understand your code.
Please be mindful that providing clean and easy-to-read code is a part of
your assignment.
Please indicate your full name and your zID at the top of the file as a
comment. You can submit as many times as you like before the deadline –
later submissions overwrite earlier ones. After submitting your file a good
practice is to take a screenshot of it for future reference.
Late submission penalty: UNSW has a standard late submission
penalty of 5% per day from your mark, capped at five days from the as-
sessment deadline, after that students cannot submit the assignment.
8
5 Deadline and questions
Deadline: Week 5, Wednesday 26 June of June 2024, 11:55pm. Please
use the forum on Moodle to ask questions related to the project. We will
prioritise questions asked in the forum. However, you should not share your
code to avoid making it public and possible plagiarism. If that’s the case,
use the course email cs9414@cse.unsw.edu.au as alternative.
Although we try to answer questions as quickly as possible, we might take
up to 1 or 2 business days to reply, therefore, last-moment questions might
not be answered timely.
6 Plagiarism policy
Your program must be entirely your own work. Plagiarism detection software
might be used to compare submissions pairwise (including submissions for
any similar projects from previous years) and serious penalties will be applied,
particularly in the case of repeat offences.
Do not copy from others. Do not allow anyone to see your code.
Please refer to the UNSW Policy on Academic Honesty and Plagiarism if you
require further clarification on this matter.
References
[1] De Vito, S., Massera, E., Piga, M., Martinotto, L. and Di Francia, G.,
2008. On field calibration of an electronic nose for benzene estimation in an
urban pollution monitoring scenario. Sensors and Actuators B: Chemical,
129(2), pp.750-757.
[2] Hodson, T. O. 2022. Root mean square error (RMSE) or mean absolute
error (MAE): When to use them or not. Geoscientific Model Development
Discussions, 2022, 1-10.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp







 

標(biāo)簽:

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:代做COMP9021、代寫python語言編程
  • 下一篇:代寫指標(biāo)選股公式 代做公式指標(biāo) 通倚天劍戰(zhàn)法
  • 無相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗(yàn)證碼平臺(tái) 幣安官網(wǎng)下載 歐冠直播 WPS下載

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    成年人视频在线免费| 一本二本三本亚洲码| 成人在线看视频| 国产精品视频黄色| 波多野结衣 作品| 免费观看成人网| 欧美视频在线第一页| 日本黄色三级大片| 在线播放免费视频| 日本精品www| 欧美 日韩 国产 在线观看| 久久久噜噜噜www成人网| 一区二区久久精品| 国产又粗又猛又爽又黄的网站| 我的公把我弄高潮了视频| 北条麻妃在线视频观看| 奇米影音第四色| 成人一区二区免费视频| 色播五月激情五月| 粉嫩虎白女毛片人体| 五月天激情图片| www.欧美日本| 蜜臀视频一区二区三区| 久久久999免费视频| 国产精品久久久久久久乖乖| 色哟哟免费网站| 女女同性女同一区二区三区按摩| 午夜dv内射一区二区| 欧美s码亚洲码精品m码| 性一交一乱一伧国产女士spa| 三级av免费看| 日本免费成人网| 91黄色在线看| 亚洲国产成人精品无码区99| 波多野结衣av一区二区全免费观看| 手机在线国产视频| 中文字幕在线导航| 日韩福利视频在线| 天天操,天天操| 精品亚洲视频在线| 亚洲综合在线一区二区| 亚洲精品mv在线观看| 乱熟女高潮一区二区在线| 操人视频免费看| 久久出品必属精品| 亚洲色婷婷久久精品av蜜桃| 日本大片免费看| 国产精品宾馆在线精品酒店| 中国黄色片免费看| www.com污| 欧美aaa在线观看| 黄色国产一级视频| av免费一区二区| 日韩精品久久一区二区| 噼里啪啦国语在线观看免费版高清版| 欧美色图色综合| 亚洲精品mv在线观看| 91女神在线观看| 亚洲美女爱爱视频| 少妇大叫太大太粗太爽了a片小说| 免费一级特黄毛片| 国产精品久久..4399| 91视频免费版污| 999热精品视频| 日韩国产小视频| 日韩精品视频久久| 欧美伦理片在线看| 亚洲国产成人精品无码区99| 欧美日韩亚洲自拍| 九九九九九伊人| 青春草国产视频| 久久国产色av免费观看| av五月天在线| 欧美日韩理论片| 天天影视综合色| av片在线免费| 两性午夜免费视频| 国产精品无码av无码| 国产人妻互换一区二区| 久久久精品高清| 邪恶网站在线观看| 91在线视频观看免费| 无码人妻少妇伦在线电影| 91丝袜超薄交口足| 在线观看日本www| 2022中文字幕| 久久久久久久午夜| 欧美老熟妇喷水| 国产精品欧美激情在线观看| 欧美交换配乱吟粗大25p| 999一区二区三区| 日本三区在线观看| 日韩激情免费视频| 国产在线拍揄自揄拍无码| av一区二区三区免费观看| 成人毛片一区二区| 人人爽人人爽av| 国产又大又长又粗又黄| 亚洲天堂av一区二区| 欧美激情亚洲天堂| 欧美自拍小视频| 91国视频在线| 欧美a级免费视频| 只有这里有精品| 污网站在线免费| 国产精品天天av精麻传媒| 日本高清久久久| 日本黄色三级大片| 岳毛多又紧做起爽| 成人在线免费在线观看| 韩国无码av片在线观看网站| av 日韩 人妻 黑人 综合 无码| 欧美黄色一级片视频| 日韩视频第二页| 一本久道中文无码字幕av| 色婷婷综合久久久久中文字幕| 欧美一级视频免费看| 欧美日韩性生活片| 欧美一级黄色片视频| gai在线观看免费高清| 吴梦梦av在线| 欧美 日韩 国产在线观看| 久久久性生活视频| 天堂视频免费看| 麻豆tv在线播放| 五月婷婷丁香综合网| 91pony九色| 欧美aⅴ在线观看| 一路向西2在线观看| 亚洲色成人www永久在线观看| 成人午夜免费在线| 中文字幕在线中文| 成人性生生活性生交12| 免费日韩在线观看| 国产成人美女视频| 日本精品免费视频| av在线播放亚洲| 一本色道久久亚洲综合精品蜜桃| 少妇性l交大片| 精品久久久久av| 亚洲精品乱码久久久久久自慰| 国内自拍第二页| 天天色天天干天天色| 亚洲欧美在线精品| 91免费视频黄| 熟妇熟女乱妇乱女网站| 天天成人综合网| 18视频在线观看娇喘| 国产激情在线看| 人妻熟女一二三区夜夜爱| 欧美在线观看成人| 黄色免费网址大全| 亚洲一区二区中文字幕在线观看| 青青草原播放器| 中文字幕av导航| 成人毛片100部免费看| 99久久免费观看| av污在线观看| 日本福利视频一区| 日本人69视频| 欧美日韩在线一| 青青视频免费在线| 邪恶网站在线观看| 日本午夜激情视频| 日本一二三区在线| jizzzz日本| 国产人妻777人伦精品hd| 亚洲黄色av片| 国产精品丝袜久久久久久消防器材| 国产三级三级看三级| 丁香花在线影院观看在线播放| 欧美日韩亚洲一| 免费看黄色a级片| 色一情一乱一伦一区二区三区日本| 中文字幕第一页在线视频| 草草草在线视频| 高清在线观看免费| 亚洲 欧美 日韩 国产综合 在线| 欧美 另类 交| 成人一级生活片| 男人添女人下部高潮视频在观看| 成人手机在线播放| 日本网站在线看| 国产又粗又猛又爽又黄的网站| 亚洲国产精品女人| 97成人在线观看视频| 免费观看成人网| 欧洲金发美女大战黑人| 丁香色欲久久久久久综合网| 一本久道高清无码视频| 波多野结衣乳巨码无在线| 福利在线一区二区三区| 国产av第一区| 波多野结衣50连登视频| 色播五月激情五月| jizz欧美性11| 亚洲在线观看网站| 成年人三级黄色片| 中文字幕国产高清| 欧美日韩一区二区三区电影|