首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
R编程设计调试、辅导Java程序语言、讲解Java,R编程 讲解SPSS|解析Haskell程序
项目预算:
开发周期:
发布时间:
要求地区:
Distributed Computing and Problem
Solving: 7 5hp
Assignment 1
3th November 2020
Innehåll
Part 1 Rules ............................................................................................................................................. 3
Timelimit............................................................................................................................................. 3
Aid....................................................................................................................................................... 3
Submitting ........................................................................................................................................... 3
Presentation ......................................................................................................................................... 3
Grades.................................................................................................................................................. 4
For the grade 3p:.............................................................................................................................. 4
For grade 4p: ................................................................................................................................... 4
For grade 5p: ................................................................................................................................... 4
For the grade U:............................................................................................................................... 4
How do I refer to a source? ................................................................................................................. 5
Part 2 Hands on ....................................................................................................................................... 6
Aim...................................................................................................................................................... 6
The Assignment, the coding!............................................................................................................... 6
Data ................................................................................................................................................. 6
For grade 3 .......................................................................................................................................... 6
For grade 4p: ....................................................................................................................................... 8
For grade 5p: ....................................................................................................................................... 9
References ............................................................................................................................................. 9
Part 1 Rules
Timelimit
Se information in learn.
Aid
This assignment can be solved individually or in pairs but I recommend in pairs. Watch out for
plagiarism.
Plagiarism is the shortness to hand in on someone else's work as their own. Obviously, if it is a
couple's work, then you will have the same solution, but both names need to be on the solution. In
many cases, plagiarism, this can happen unconsciously, and that is why you have to read the
instructions.
Submitting
When submitting apply all options:
Choose to whether write in English or Swedish (don’t mix).
Name your zip file with your username and the grade your aiming for. For example: h16kriha_4.zip in
learn. The submission time will be automatically registered when you submit. Late submissions can’t
grade a higher grade then G(3p) so be careful with the deadlines!
When in a group all need to do individually submission because there is a oral presentation that is
individual even when working in group.
The submission will include one zipfile containing: A report (with answers, sources and a use case
UML), a coding project and a video/videolink with the oral presentation.
Presentation
Everyone in the group needs to:
Add their name to all the documents (in code add all the names as comments, there should not be any
questions regarding who wrote the code). THIS IS VERY IMPOERTANT. Hand in the submission
into the folder in learn before deadline has passed. Late submissions will not be graded higher then G
(3p) and will be examined when the teacher has time for it, it is not guaranteed that it will be graded in
the same time as the ones that handed in “in time”.
The code need to be runnable, make sure to test and check that all you needed to have included is
included in the zip file.
Also everyone in the group need to individually do a presentation that should not succeed 15
minutes (MAX 15 minutes!). You can choose a recording software but its not allowed to have
background music in the recording, your voice needs to be clear. Hand in the link to your video in
your submission. The oral presentation should include:
• Explanation of the code and keywords for each grade, marked with a * in the part 2 Hands on
• Explanation of the solutions and if you hade any problems (how did you overcome them).
• Do a real time run of the code and explain the results that is showing.
Grades
This hand in have four grades U (failed) 3p, 4p and 5p. All the tasks need to be complete and finished
to get a point/grade, there is no subpoints, its Boolean.
For the grade 3p:
All tasks for grade 3p need to be solved, completely solved. Its Boolean, either it works or it does not.
• Create a report where you (can be done in a group):
o Describe the data that you choose to use.
o Discuss the problems and solutions that has come up. (was it hard or easy, did you
find other ways to solve it?)
o Explain the program, what does it do and use at least one source to your explanation,
example a peer-reviewed article or a book.
o Your answers and your source need to be relevant to the task. (see more detailed
information of what is needed in the report and code in part 2 Hands on)
o All your answers and comments must make sense, the teacher should not need to
reread to understand what you wrote.
o Create a use-case UML diagram, se example in figure 2, and include it in the report.
• Solve the coding task, se more information in part 2 Hands on (can be done in a group).
• Do a individual oral presentation (a video).
For grade 4p:
All the tasks in grade 3p need to be completed AND all for grade 4. Its Boolean, either it works, or it
does not. Also, the hand in is submitted in time in learn, se deadlines and time limits in learn.
• Everything for the grade 3 and…
• Do the extra tasks in the coding (se Part 2 Hands on for more information)
• In the report write about the “new” agent from the coding task for grade 4p in Part 2 Hands
on. And also explain Recall and F1 score.
• You need to refer to at least two different sources and at least one needs to be peer-reviewed.
For grade 5p:
All the tasks in grade 3p and 4p need to be completed AND all for grade 5. Its Boolean, either it
works, or it does not. Also, the hand in is submitted in time in learn, see deadlines and time limits in
learn.
• Everything for the grade 3p and 4p and…
• In the report add a section where you write about the algorithm: Naive Bayes for classification.
• Do the extra tasks in the coding (se Part 2 Hands on for more information)
• You need to refer to at least three different sources and at least two needs to be peerreviewed.
For the grade U:
If any of the demands for grade 3p is not fulfilled.
How do I refer to a source?
Literature references that supports your text can be taken from:
Chapter one and two in the course literature Russel and Norvis Atrificial Intelligence: A modern
Approach (3,ed), 2010
Peer-review articles from ACM Digital Library, log on with your school username and password.
Peer-review articles from ScienceDirect (Elsivier Journals), log on with your school username and
password.
Use APA-reference style. It can look like this:
… the Otsu thresholding method (Otsu, 1979) was used ….
And in the reference list it can look like this:
Otsu, N. (1979). A threshold selection method from gray-level histograms.
Automatica, 11(285.296), 23-27
OBS! All articles you quoted must be fully downloaded in this assignment, saved and enclosed in
your submission. (This to simplify and fast the correction procedure)
Part 2 Hands on
Aim
You have come far into your education and has experiences in how to study and how to do
problemsolving. This task can be a challenge but its also a good training for how far you have come.
Some parts come from courses earlier in the program, some parts from this course and some part could
be new. The assignment is fairly open so hence your creativity will be in focus, there is not only one
way to solve this.
The aim is:
Gain insight in how agents communicate with each other (including transferring data) based on a
asynchronous massage passing paradigm. Hence, you should implement the communication part by
making use of the FIPA Agent Communication Language (ACL) Specifications. An ACL Message
contains a number of fields including these four:
• The sender
• The receiver
• The communication Act
• The message content
Grimshaw, 2010.
You should after this know how agents can send data between each other and the act of transmitting
data.
The Assignment, the coding!
Data
Use one or both of these datasets for your machine learning.
• winequality-white.csv - https://archive.ics.uci.edu/ml/machine-learning-databases/winequality/winequality-white.csv
• Students knowledge about direct current systems -
https://archive.ics.uci.edu/ml/datasets/User+Knowledge+Modeling
Often, you must clean and setup the data according to the predetermined rules, which will
suit the computer system. E.g since Excel files carry a lot of meta data, you might want to
transform all files to *.csv, you might want to determine which decimal separator you want
to use, i.e ',', or '.' etc etc.
For grade 4p and 5p in the target column in each file, you must add the string "target". This string
should later be recognized by an agent, who determines if this dataset should be conducted by using
supervised or unsupervised learning.
For grade 3
Create a multi-agent system MAS (Using JADE) where in at least two agents are active.
See description of the suggested architecture in figure 1, where n>2. Since there is more
than one agent, communication must take place in between them. For this reason, one class
out of several useful classes for this is the jade.lang.acl.ACLMessage.
1. Create a USE-CASE Uml diagram to show how you are going to set up your
MAS, which agent should be doing what and is responsible for what. Work
iteratively with this one and update it as something maybe changes in your
approach. This paper might give you an indication on how to do a use-case uml
diagram. Bauer and Odell , UML 2.0 and Agents: How to Build Agent-based
Systems, 2005, but do not over-do the modeling part. One example is shown in
figure 2.
2. The data agent in figure 2 should sense its environment and cache streaming data.
Note in this case there is no sensor, the agent should instead be able to read text
files of type *.csv, *.txt. It should act as a simple reflex agent and should be able
to distribute data/information to other agents. In your documentation you must
describe the content of the data. To keep the complexity level in a more
reasonable fashion the data will not be streamed. Use the datafiles from the data
part above in this instruction report.
3. The classification agent should possess knowledge of supervised learning and
more specifically classification by usage of k-NN. Depending on the incoming data
from the other agent and additional information it must be able to be normalized
or standardized before the classification of test and training takes part. The
classification agent need connection to R via Rserve. So the agent get
data/information from the data agent, connects to R and do the performance
measures.
The ones needed for grade 3p is:
• Preform data validation, use K-fold cross validation* and use the results to compute:
o Confusion matrix*
o Accuracy*
o Precision (exactness of a mode)*
(* means explain these in the oral presentation, what they do and how you interpret their results)
And then present/displays the results back in the Java ouput (in netbeans or
eclipse).
To get started you can go back and check the bookseller example, perhaps there is
key concepts there you can reuse for this assignment. Check out where the buyer
agent compares and selects the cheapest book. This might be a place to insert
something more intelligent like classifying data, i.e. contact R via RServe.
Figure 1 Description of the suggested system
Figure 2 Example of agent skills and dependencies
For grade 4p:
All of grade 3p tasks need to be working.
1. One of your agents has already been developed for performing supervised learning by using
the kNN-algorithm i.e. the Classification Agent. Now, develop another new agent who should
possess the ability to perform unsupervised learning /clustering, by making use of k-Means
clustering. The clustering agents' knowledge and abilities are realized by connecting the agent
to a R via Rserve. The data agent should (as before) forward its' processed data, but since
there are now two agents it depends on the content and structure of the data. This new
clustering agent should only be invoked if and only if there is not a label (i.e a target class like
in supervised learning) containing the string "target" as its column name. The agent should
receive data/info. from the data agent. (See the use case UML below)
2. One of the receiving/analyzing agents should be able to produce and display graphical plots.
The agents' ability is realized by connecting the agent to a R via Rserve and use the script in
and as mentioned above the data is provided from the data agent.
3. Do more performance measures then for grade 3 in addition to those also explain and
use/compute the following concepts on your results (they need to be included in the code, the
oral presentation and the report): Recall (completeness) of a mode* & the F1 Score*.
Environment Data
Agent
Data Acquiring
Extract,
Transform, and
Load data
Classification
Agent
Transmits
data
Rserve
Presents analysis
Environment Data
Agent Extract,
Transform
, and
Load data
Transmits
data Classification
Agent
OR
Data Acquiring
Rserve
Clustering
Agent
Presents results of analysis
Rserve
For grade 5p:
All of grade 3p and 4p tasks need to be working.
1. There are a lot of algorithms for supervised classification and regression learning. Using the
same data set as in grade 3p demonstrate the algorithm Naive Bayes for classification (in the
code). Since this is (probably) a new algorithm for you, start with some examples in the
section References (you find literature there). ln your presentation: Display and present the
code and its execution when you run the code and also explain the classification* oral and in
the report.
References
JADE Tutorial and Primer
Rserve Java APl documentation
Naive Bayes Algorithm
Naive Bayes in R example lris Data
Naive Bayes classification in R using the Titanic data set
Random Forest Algorithm
Random Forest - Fun and Easy Machine Learning (8min)
Random Forests in R I Random Forest Classifier (41min)
Random Forest Tutorial I Random Forest in R (1h 7min)
Good luck
Kristin (Titti) Hane khe@du.se
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
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
软件定制开发网!