日韩精品一区二区三区高清_久久国产热这里只有精品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>
        嫩草成人www欧美| 欧美在线1区| 欧美日韩免费高清一区色橹橹| 一区二区三区.www| 亚洲欧美激情一区| 欧美精品麻豆| 麻豆国产精品一区二区三区| 久久精品午夜| 国产欧美日韩亚洲一区二区三区| 国产一区二区看久久| 欧美亚洲午夜视频在线观看| 国产精品素人视频| 欧美久久电影| 欧美精品精品一区| 欧美日韩视频在线一区二区观看视频| 亚洲日本理论电影| 久久丁香综合五月国产三级网站| 国产精自产拍久久久久久蜜| 久久精品首页| 国产精品黄页免费高清在线观看| 欧美精品一区二区三区蜜臀| 91久久亚洲| 欧美在线电影| 欧美精品久久天天躁| 国语精品中文字幕| 美日韩免费视频| 国产精品区一区二区三区| 国产精品久久久久999| 免费一级欧美片在线播放| 一区二区三区日韩精品视频| 欧美精品aa| 国产一区二区三区高清在线观看| 经典三级久久| 亚洲欧美日韩国产一区二区三区| 欧美精品一区二区精品网| 亚洲精品乱码久久久久久按摩观| 亚洲国产欧美一区二区三区同亚洲| 亚洲性图久久| 久久夜色精品国产亚洲aⅴ| 国产精品亚洲不卡a| 国产精品久久国产三级国电话系列| 日韩亚洲一区在线播放| 蜜桃久久精品乱码一区二区| 一本色道久久综合亚洲91| 国产丝袜一区二区| 一本大道av伊人久久综合| 国产欧亚日韩视频| 原创国产精品91| 久久人体大胆视频| 国产精品一级久久久| 欧美日韩亚洲高清| 1024亚洲| 中文在线一区| 亚洲一区二区三区视频| 销魂美女一区二区三区视频在线| 欧美偷拍另类| 亚洲精品一区二区三区婷婷月| 国产精品mm| 亚洲第一成人在线| 1024欧美极品| 欧美午夜宅男影院在线观看| 亚洲欧美日韩电影| 久久不射网站| 性色av一区二区三区红粉影视| 99re66热这里只有精品3直播| 欧美激情91| 国产午夜精品美女毛片视频| 欧美性片在线观看| 久久露脸国产精品| 国产精品高潮呻吟久久| 99成人精品| 国产精品极品美女粉嫩高清在线| 激情欧美丁香| 久久久91精品国产一区二区精品| 国产精品久久久一本精品| 欧美成人日韩| 国产精品三区www17con| 国产日韩一区二区三区在线播放| 欧美日韩成人在线视频| 欧美一级精品大片| 亚洲精品在线电影| 亚洲激情自拍| 亚洲视频网在线直播| 国产美女精品视频免费观看| 亚洲尤物影院| 亚洲网站在线| 麻豆成人在线播放| 欧美偷拍一区二区| 亚洲久久一区二区| 国产伦一区二区三区色一情| 欧美色另类天堂2015| 国产精品高清一区二区三区| 在线日韩成人| 国产美女精品人人做人人爽| 久久久久久久激情视频| 欧美一区二区视频免费观看| 国产日本精品| 精品成人a区在线观看| 一二三区精品福利视频| 久久精品国产综合| 亚洲视频在线播放| 国产一区二区视频在线观看| 欧美国产三级| 韩国福利一区| 午夜亚洲福利| 欧美国产亚洲精品久久久8v| 午夜激情综合网| 亚洲一区亚洲| 欧美一区二区视频观看视频| 欧美亚洲成人精品| 国产精品二区在线观看| 久久gogo国模啪啪人体图| 亚洲欧洲av一区二区三区久久| 国产午夜精品视频免费不卡69堂| 亚洲在线观看免费| 国产精品久久久久久妇女6080| 久久xxxx精品视频| 免费看亚洲片| 亚洲区第一页| 欧美无乱码久久久免费午夜一区| 亚洲天堂男人| 亚洲欧洲久久| 性一交一乱一区二区洋洋av| 亚洲专区欧美专区| 欧美日韩国产不卡| 国产欧美日韩在线视频| 国产精品专区h在线观看| 在线日本欧美| 国产精品大片wwwwww| 性做久久久久久免费观看欧美| 亚洲国产成人在线| 欧美性理论片在线观看片免费| 久久精品一区| 香蕉久久夜色精品国产使用方法| 制服丝袜亚洲播放| 国产亚洲欧美日韩美女| 欧美日韩一区在线| 久久男人av资源网站| 亚洲少妇一区| 加勒比av一区二区| 亚洲高清不卡在线观看| 久久一二三四| 亚洲韩国精品一区| 永久久久久久| 狠狠色综合网站久久久久久久| 免费观看日韩av| 亚洲福利视频网站| 欧美午夜激情小视频| 欧美日韩一区不卡| 影音先锋日韩精品| 久久久精品免费视频| 在线观看欧美日韩| 亚洲电影一级黄| 亚洲电影在线免费观看| 在线午夜精品| 国产亚洲精品资源在线26u| 欧美日韩免费精品| 欧美色视频日本高清在线观看| 欧美激情视频一区二区三区免费| 亚洲精品欧美专区| 欧美性一区二区| 在线视频精品一| 亚洲另类春色国产| 欧美一区二区久久久|