日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做CNSCC.361、代寫MATLAB編程設計

時間:2024-05-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CW Assignment CNSCC.361
AI
CNSCC.361 Artificial Intelligence Coursework
Introduction:
Marking Scheme
20% of the mark for the CNSCC.361 module is based on the coursework.
At the end of this document, there is an Appendix providing suggestions for a well written
report.
Submission
Put your codes in separate folders (“cw_task1” for task1 and “cw_task2” for task2)
and call the overall zipped file “cw_lastname_firstname.zip” (replace lastname and
firstname with your names). Submit your “cw_lastname_firstname.zip” file and your
report on Moodle.
The length of the report should not exceed 5 pages (the format is specified at the
end of this document – two column, minimum font size 10pt). It is important to
note that we do not want separate reports. There has to be one report.
CW Assignment CNSCC.361
AI
Task 1
This task of the assignment requires you to perform pre-processing of the real climate data
set (temperature and wind speed) measured in Manchester, UK for the period 2010–2015
provided in the file “ClimateData.csv”. This data is a subset of publically available (from
http://www.worldweatheronline.com) data about climate at Manchester which contain 938
records and five features (i.e., five dimensional vectors) of data from the Summer and the
Winter seasons of the period from 2010 to 2014. The meaning of each column of data is
listed below:
Temperature, oC Wind speed, mph Wind direction, deg Precipitation, mm Humidity, %
Recall from the Lectures and the Lab sessions, the main pre-processing steps:
i) normalization,
ii) standardization,
iii) anomaly detection.
Explain clearly the work of the algorithms, analyze their advantages and disadvantages,
provide the code that you developed (do not use downloaded code from elsewhere and be
aware about the plagiarism policy of the University) and the results.
From the literature you may find other pre-processing algorithms (e.g. recursive density
estimation, PCA, etc.) which you can also mention in your analysis and/or use. For these
additional (optional) algorithms you can use available code assuming you correctly make a
reference to it; however, demonstrating the understanding of it is necessary. These
additional/optional algorithms are for distinguishing between good, average and excellent
reports.
Task 2
The Traveling Salesman Problem (TSP) is one of the most famous problems in computer
science. Here we describe the problem and you will implement a Genetic Algorithm (GA)
to find a solution, and show and analyse your results. These are to be done in MATLAB.
GA has been introduced and discussed as part of a lecture. There was also a lab about
GA to give you an initial understanding of the GA approach, but this Task will be applying
GA to a different problem than the one in the lab.
TSP consists of attempting to find the shortest complete tour through a series of points
(cities), starting and ending with the same point (see Figure 1). Finding the shortest route
that visits a set of locations is an exponentially difficult problem: finding the shortest path
for 20 cities is much more than twice as hard as 10 cities. An exhaustive search of all
possible paths would be guaranteed to find the shortest, but is computationally intractable
for all but small sets of locations. For larger problems, optimization techniques, such as
GA, are needed to intelligently search the solution space and find near-optimal solutions.
CW Assignment CNSCC.361
AI
Mathematically, traveling salesman problem can be represented as a graph, where the
locations are the nodes and the edges (or arcs) represent direct routes between the nodes.
The weight of each edge is the distance between the nodes. It is a minimization problem
starting and finishing at a specified vertex after having visited each other vertex exactly
once. The goal is to find the path with the shortest sum of weights. Below, we see a simple
five-node graph:
Figure ** Shortest route example: the problem lies in finding a minimal path passing from all vertices once. For
example the path Path1 {A, B, C, D, E, A} and the path Path2 {A, B, C, E, D, A} pass all the vertices but Path1 has a
total length of 24 and Path2 has a total length of 31.
In this task, you will be given the (x,y) location of 100 cities in “xy.mat” file. So, each
population member (chromosome) will have 100 gens.
Finding a solution to the travelling salesman problem requires that you set up a genetic
algorithm in a specialized way. For instance, a valid solution need to represent a route
where every location is included at least once and only once. If a route contain a single
location more than once, or missed a location out completely it would not be valid. To
ensure the genetic algorithm does indeed meet this requirement special types of mutation
and crossover methods are needed. Firstly, the mutation method should only be capable
of shuffling the route, it shouldn't ever add or remove a location from the route, and
otherwise it would risk creating an invalid solution. Question: What type of mutation? For
each selected population member, try three different mutation operators (Swap, Flip and
Slide) to generate three new population members. With swap mutation two location in the
route are selected at random then their positions are simply swapped. For example, if we
apply swap mutation to the following list, [1,2,3,4,5,6,7,8,9] we might end up with,
[1,2,5,4,3,6,7,8,9]. Here, positions 3 and 5 were switched creating a new list with exactly
the same values, just a different order. Because swap mutation is only swapping preexisting values, it will never create a list which has missing or duplicate values when
compared to the original, and that's exactly what we want for the traveling salesman
problem. With Flip mutation two locations in the route are selected at random, and then,
the positions between two locations are simply flipped. For example, given two randomly
selected locations 3 and 7, if we apply swap mutation to the following list [1,2,3,4,5,6,7,8,9],
we end up with [1,2,7,6,5,4,3,8,9]. Moreover, if we apply slide mutation to the list
[1,2,3,4,5,6,7,8,9], we end up with [1,2,4,5,6,7,3,8,9]. You also need to pick a crossover
method which can enforce the same constraint. What type of crossover? Ordered
crossover.
CW Assignment CNSCC.361
AI
Implement Genetic Algorithm
Your main task is to implement with MATLAB a genetic algorithm that attempts to find a
near-optimal solution. You cannot use MATLAB's “ga” function, so you have to implement
something similar to what you did in the lab.
Your algorithm should make use of crossover and mutation as described above. Begin
with an initial population of at least 50 members and then increase to 200 members (start
with 50 members, then try 100, 150 and 200 members). Run your algorithm for at least
1000 generations/iterations and then increase to 10000 (start with 1000 generations, then
try 2000, 4000, 6000, 8000, and 10000 generations/iterations). Choose the best ones.
You will need to make many design decisions on how to implement the algorithm and what
parameter values to use. For example, you could try different selection methods including
roulette-wheel selection, ranking selection and tournament selection to see which one is
better. Submit the best algorithm. Your mark will depend not only on the code that you
write but also on how well you document your design decisions. In your report, you should
also answer the following questions:
What was the fitness score of the most-fit individual in the first generation? What was
the fitness score of the most-fit individual in the last generation? Plot the fitness score of
the most-fit individual in each generation.
What path did the most-fit individual in the final generation take through the cities? Run the
following code to visualize the path of the most-fit individual in the last generation.
figure('Name','TSP_GA | Results','Numbertitle','off');
subplot(2,2,1);
pclr = ~get(0,'DefaultAxesColor');
plot(xy(:,1),xy(:,2),'.','Color',pclr);
title('City Locations'); subplot(2,2,2);
rte = optRoute([1:100 1]);
plot(xy(rte,1),xy(rte,2),'r.-');
title(sprintf('Total Distance = %1.4f',minDist));
Note that “xy” variable is a 100 × 2 matrix consisting of the (x,y) location of 100 cities
and optRoute variable (integer array) is the best route found by the algorithm (i.e., the
most-fit individual in the final generation). optRoute is 1 × 100 vector. This code will show
a figure as shown below but the connections between cities and total distance might be
different.
CW Assignment CNSCC.361
AI
What was the string of 100 digits of the most-fit individual in the final generation?
Run the algorithm 10 times. Does the fitness score of the most-fit individual in the last
generation change? If so, why?
Run the algorithm using tournament selection, without cross-over operator and using all
three mutation operators (swap, flip and slide) with population of 100 members. Run your
algorithm for 10000 generations/iterations. What was the fitness score of the most-fit
individual in the last generation? Run the above mentioned code to visualize the path of
the most-fit individual in the last generation.
The coursework will be marked based on:
• Code efficiency
• Code commenting and writing style
• Presentation and writing of the report
• Critical Understanding
• Research and Results
• Use of Literature
• Conclusion and Analysis
CW Assignment CNSCC.361
AI
Appendix
Requirements for a Well Written Report
The report should contain:
1. Title, name, student number, course, etc., followed by an abstract.
2. Main part: Introduction, review of the state of the art. The description of the
algorithm and how it performs, including showing results with images. For instance:
“This report describes development and application of the k-means clustering
algorithm to image processing data…” Give the software code that you used to
obtain the results in an Appendix. A very important part of your report is the
analysis of the results. For instance, what are the advantages and limitations of the
algorithms that you used? How can you characterize the results? Are they
accurate?)
3. Conclusions: should describe briefly what has been done, with a summary of
the main results and outline of the possible future work.
The objective of the assignment is to conduct data analysis on a set of data, and present
conclusions on the results.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當前頁
  • 上一篇:代寫CPT206、代做Java編程設計
  • 下一篇:COMP3013代做、代寫Python設計編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        欧美日韩在线观看一区二区| 久久久久国产精品麻豆ai换脸| 亚洲一区二区日本| 国产一区二区三区在线观看视频| 久久九九国产精品怡红院| 欧美日韩在线视频一区| 亚洲欧美日韩国产一区| 欧美在线视频二区| 亚洲一区三区在线观看| 亚洲一区在线直播| 亚洲视频网站在线观看| 亚洲欧美国产一区二区三区| 亚洲欧洲一区二区在线观看| 狠狠狠色丁香婷婷综合久久五月| 欧美另类极品videosbest最新版本| 亚洲一区二区三区色| 美女在线一区二区| 在线观看欧美成人| 欧美日韩精品在线播放| 国产日韩精品入口| 亚洲一区二区三区在线播放| 亚洲国产成人不卡| 浪潮色综合久久天堂| 狠狠久久亚洲欧美专区| 亚洲精品一区中文| 欧美日韩视频一区二区| 在线观看亚洲精品| 中文av字幕一区| 欧美一区二区三区免费大片| 欧美视频在线观看视频极品| 亚洲人人精品| 亚洲久久视频| 久久天堂成人| 久久精品一级爱片| 香蕉久久精品日日躁夜夜躁| 黄色在线成人| 香蕉久久一区二区不卡无毒影院| 免费成人黄色av| 麻豆国产va免费精品高清在线| 欧美日韩在线视频首页| 99av国产精品欲麻豆| 国产精品成人午夜| 国产区日韩欧美| 欧美三日本三级少妇三99| 午夜精品一区二区三区在线播放| 99这里只有精品| 香蕉国产精品偷在线观看不卡| 在线精品亚洲一区二区| 先锋影音一区二区三区| 久久精品在线| 欧美v国产在线一区二区三区| 欧美成人亚洲| 国产午夜精品一区二区三区视频| 欧美搞黄网站| 欧美日韩在线免费| 伊人久久婷婷色综合98网| 蜜桃伊人久久| 黄色国产精品一区二区三区| 韩日欧美一区| 欧美插天视频在线播放| 国产精品久在线观看| 激情一区二区三区| 欧美一区二粉嫩精品国产一线天| 欧美人成免费网站| 欧美性色综合| 亚洲精品视频中文字幕| 亚洲一区欧美一区| 亚洲黄色一区| 久久久久久9999| 亚洲免费福利视频| av不卡在线| 欧美午夜精品久久久久久浪潮| 日韩午夜在线| 中文亚洲视频在线| 在线亚洲免费视频| 亚洲欧洲日夜超级视频| 亚洲午夜精品一区二区| 99视频+国产日韩欧美| 国产精品入口麻豆原神| 国产一区二区在线观看免费| 欧美一区亚洲| 亚洲国产精品成人久久综合一区| 欧美日韩和欧美的一区二区| 亚洲精品一区久久久久久| 亚洲精品韩国| 亚洲欧洲综合| 亚洲综合精品四区| 亚洲欧美视频在线观看| 欧美日韩调教| 亚洲欧美成人在线| 国产人成精品一区二区三| 免费不卡中文字幕视频| 亚洲精品乱码久久久久久按摩观| 亚洲精品影院| 国产一区二区三区黄| 欧美日韩第一区| 一区二区三区高清视频在线观看| 亚洲影视九九影院在线观看| 日韩午夜中文字幕| 欧美一区二区三区在线播放| 在线观看视频一区二区| 亚洲神马久久| 欧美性做爰猛烈叫床潮| 亚洲福利在线视频| 一本色道久久综合亚洲精品不| 亚洲一区二区三区精品视频| 午夜精品久久久久久久久久久久| 欧美日韩网站| 99精品免费| 一区二区三区我不卡| 国产伪娘ts一区| 久久久久久夜精品精品免费| 欧美深夜影院| 欧美精品日韩www.p站| 亚洲精品国产系列| 日韩亚洲欧美在线观看| 欧美日韩免费一区二区三区| 久久gogo国模裸体人体| 在线观看日韩av先锋影音电影院| 国产精品久久九九| 99riav1国产精品视频| 欧美一区三区三区高中清蜜桃| 久久噜噜亚洲综合| 久久天天躁夜夜躁狠狠躁2022| 激情成人av| 免费亚洲网站| 欧美日韩高清在线一区| 久热这里只精品99re8久| 欧美日韩精品二区| 欧美电影免费| 欧美精品自拍| 欧美少妇一区二区| 亚洲午夜激情在线| 在线观看亚洲视频啊啊啊啊| 欧美劲爆第一页| 国内精品写真在线观看| 亚洲美女毛片| 小处雏高清一区二区三区| 久久国产免费看| 激情综合色综合久久| 欧美成人免费在线| 国产综合久久| 亚洲国产精品美女| 免费视频一区| 韩国一区二区在线观看| 国产亚洲精品福利| 亚洲国产成人高清精品| 国产视频一区三区| 一区二区日韩精品| 中文av一区特黄| 亚洲精品之草原avav久久| 亚洲精品午夜| 葵司免费一区二区三区四区五区| 在线亚洲伦理| 国产日产高清欧美一区二区三区| 亚洲成人资源| 极品少妇一区二区三区精品视频| 黄色日韩网站视频| 在线天堂一区av电影| 国产日韩一区二区三区| 中文在线资源观看网站视频免费不卡| 亚洲在线观看免费视频| 亚洲欧美日韩综合国产aⅴ| 91久久精品国产91性色tv|