COMP9414代写、Python,c++编程代写

COMP9414 23T2
Artificial Intelligence
Assignment 2 - Multi-layer neural networks
Due: Week 10, Monday, 31 July 2023, 11:55 PM
1 Problem description
We want to model the evolution of biomass in a bioprocess, which is periodically fed with a compound A, resulting in an increase in the mass of living
matter (biomass) and a decrease - as it grows - in the existing substrate
(food). A schematic of the bioprocess can be seen in Figure 1.
When the bioprocess receives compound A, it increases the mass of living
matter and decreases the existing substrate as it grows. The dynamics of the
variables can be observed in Figure 2.
The problem, then, consists of using a multi-layer neural network to approximate the bioprocess, where compound A and substrate are considered
as inputs to the network and biomass as its output. To achieve this, the basic
rules of data preprocessing, neural network design, training, and validation
must be followed.
Three data files representing the inputs and the target are available, as
shown in Table 1.
1
Compound A
- Concentration of biomass
- Substrate
Figure 1: Bioprocess fed with compound A, which affects the concentration
of biomass and the existing substrate.
Compound A
Biomass
Substrate
grams
t
Figure 2: Dynamics of the process among the variables: compound A, substrate, and biomass.
2
Table 1: Files provided with the data.
File Bioprocess’s
meaning
Neural model’s
meaning
compoundA.txt Compound A First input
substrate.txt Substrate Second input
biomass.txt Biomass Output
2 Activities
2.1 Data preprocessing
In this section, it is expected you analyse the provided data and perform
any required preprocessing. 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 bioprocess.
(c) In case outliers are detected correct the data accordingly. For instance,
as we are dealing with variables measured in grams, no value should
be less than zero. A simple correction is to replace such values with a
zero value.
(d) Split the data into two subsets: training and test.
2.2 Design of the neural network
In this section, it is expected you select and design a neural architecture for
biomass estimation. Consider the following steps.
(a) Design the multi-layer neural network. Given the number of training
samples, propose a neural architecture taking into account Ni – number
of inputs, Nh – number of units in the hidden layer, and No – number
of outputs.
(b) Decide the number of layers and their respective activation functions.
3
(c) Remember it’s recommended your network accomplish the maximal
number of parameters Nw < (number of samples)/10.
(d) Create the neural network using Keras and TensorFlow.
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
(a) Assess your results plotting the network response for the test inputs
against the test targets. For instance, Figure 3 shows the results for
400 points.
(b) Compute error indexes to complement the visual analysis. Use IA,
RMS, and RSD.
Figure 3: Real biomass and estimated biomass with a neural network.
• N: number of data samples.
• om: observations’ mean value.
• o

i = oi − om
• p

i = pi − om
3 Testing and discussing your code
As in the previous assignment, your code will be tested by tutors along with
you in a discussion session carried out in the last tutorial session in week 10.
You are expected to propose and build a multi-layer neural network to
estimate biomass in a bioprocess. The minimal output we expect to see is
a plot showing the real and estimated biomass for your test set (as shown if
Fig. 3) and a plot with the loss of the training and test sets. You will receive
2 marks for each of these plots. Additionally, you should compute the
error indexes for the test set. 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 for simulating your
neural model with a generalisation set we have saved apart for that purpose.
Therefore, during the discussion, you should be ready to make some modifications to your code in order to run the test. These modifications to the
5
code might include loading new files, preparing the data as input for your
proposed neural network, plotting the simulation results against targets, and
computing the error indexes for the data provided.
As you need to compute IA, RMS, and RSD as output, we will test these
indexes with the generalisation set. You will receive 2 marks for each
index as follows: IA > 0.9, RMS < 0.1, and RSD < 0.3.
4 Submitting your assignment
You can do the assignment either individually or working in a couple with
a classmate. If you decide to work in a couple with a classmate in another
tutorial section, you need the approval of one of these two tutors, who will
conduct the discussion with you and your classmate. However, the other
tutor still needs to be informed by the student.
Your submission should be done by Moodle and consist of only one .py
file. If you work in a couple, only one person is required to submit the file.
However, the file should indicate on top as a comment the full name and
zID of the students. It is your responsibility to indicate the names, we will
not add people to a work after the deadline if you forget to include the names.
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 assessment deadline, after that students cannot submit the assignment.
5 Deadline and questions
Deadline: Week 10, Monday 31st of July 2023, 11:55pm. Please use the
forum on Moodle to ask questions related to the project. However, you should
not share your code to avoid making it public and possible plagiarism.
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.
 

热门主题

课程名

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
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图