国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代做6CCS3AIN MDP-solver

時間:2023-11-26  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



1 Introduction

Coursework
This coursework exercise asks you to write code to create an MDP-solver to work in the Pacman environment that we used for the practical exercises.
Read all these instructions before starting. This exercise will be assessed.
2 Getting started
You should download the file pacman-cw.zip from KEATS. This contains a familiar set of files that implement Pacman, and version 6 of api.py which defines the observability of the environment that you will have to deal with, and the same non-deterministic motion model that the practicals used.
Version 6 of api.py, further extends what Pacman can know about the world. In addition to knowing the location of all the objects in the world (walls, food, capsules, ghosts), Pacman can now see what state the ghosts are in, and so can decide whether they have to be avoided or not.
3 What you need to do 3.1 Write code
This coursework requires you to write code to control Pacman and win games using an MDP-solver. For each move, you will need to have the model of Pacman’s world, which consists of all the elements of a Markov Decision Process, namely:
• A finite set of states S;
• A finite set of actions A;
• A state-transition function P (s′ |s, a); • A reward function R;
• A discount factor γ ∈ [0, 1];
Following this you can then compute the action to take, either via Value Iteration, Policy Iteration or Modified Policy Iteration. It is expected that you will correctly implement such a solver and optimize the choice of the parameters. There is a (rather familiar) skeleton piece of code to take as your starting point in the file mdpAgents.py. This code defines the class MDPAgent.
There are two main aims for your code:
 1 Mallmann-Trenn / McBurney / 6ccs3ain-cw

(a) Win hard in smallGrid
(b) Win hard in mediumClassic
To win games, Pacman has to be able to eat all the food. In this coursework, for these objectives, “winning” just means getting the environment to report a win. Score is irrelevant.
3.1.1 Getting Excellence points
There is a difference between winning a lot and winning well. This is why completing aim (a) and (b) from previous section allows you to collect up to 80 points in the Coursework. The remaining 20 points are obtained by having a high Excellence Score Difference in the mediumClassic layout, a metric that directly comes from having a high average winning score. This can be done through different strategies, for example through chasing eatable ghosts.
A couple of things to be noted. Let W be the set of games won, i.e., |W | ∈ [0, 25]. For any won game i ∈ W define sw(i) to be the score obtained in game/run i.
• ∆Se in the marksheet is the Excellence Score Difference. You can use the following formula to calculate it when you test your code and compare the result against the values in Table 3
∆Se = 􏰀(sw(i) − 1500) (1) i∈W
Losses count as 0 score and are not considered. If ∆Se < 0, we set it to 0 (you cannot have a negative excellence score difference).
• Because smallGrid does not have room for score improvement, we will only look at the mediumClassic layout
• You can still get excellence points if your code performs poorly in the number of wins; marking points are assigned independently in the two sections
• Note however that marking points are assigned such that it is not convenient for you to directly aim for a higher average winning score without securing previous sections’s aims (a) and (b) first
• We will use the same runs in mediumClassic to derive the marks for Table 2 and Table 3.
3.2 Things to bear in mind
Some things that you may find helpful:
(a) We will evaluate whether your code can win games in smallGrid by running: python pacman.py -q -n 25 -p MDPAgent -l smallGrid
-l is shorthand for -layout. -p is shorthand for -pacman. -q runs the game without the interface (making it faster).
(b) We will evaluate whether your code can win games in mediumClassic by running: python pacman.py -q -n 25 -p MDPAgent -l mediumClassic
The -n 25 runs 25 games in a row.
 2 Mallmann-Trenn / McBurney / 6ccs3ain-cw

(c) The time limit for evlauation is 25 minute for mediumClassic and 5 minutes for small grid. It will run on a high performance computer with 26 cores and 192 Gb of RAM. The time constraints are chosen after repeated practical experience and reflect a fair time bound.
(d) When using the -n option to run multiple games, the same agent (the same instance of MDPAgent.py) is run in all the games.
That means you might need to change the values of some of the state variables that control Pacman’s behaviour in between games. You can do that using the final() function.
(e) There is no requirement to use any of the methods described in the practicals, though you can use these if you wish.
(f) If you wish to use the map code I provided in MapAgent, you may do this, but you need to include comments that explain what you used and where it came from (just as you would for any code that you make use of but don’t write yourself).
(g) You can only use libraries that are part of a the standard Python 2.7 distribution. This ensures that (a) everyone has access to the same libraries (since only the standard distribution is available on the lab machines) and (b) we don’t have trouble running your code due to some library incompatibilities.
(h) You should comment your code and have a consistent style all over the file.
3.3 Limitations
There are some limitations on what you can submit.
(a) Your code must be in Python 2.7. Code written in a language other than Python will not be marked.
Code written in Python 3.X is unlikely to run with the clean copy of pacman-cw that we will test it against. If is doesn’t run, you will lose marks.
Code using libraries that are not in the standard Python 2.7 distribution will not run (in particular, NumPy is not allowed). If you choose to use such libraries and your code does not run as a result, you will lose marks.
(b) Your code must only interact with the Pacman environment by making calls through func- tions in Version 6 of api.py. Code that finds other ways to access information about the environment will lose marks.
The idea here is to have everyone solve the same task, and have that task explore issues with non-deterministic actions.
(c) You are not allowed to modify any of the files in pacman-cw.zip except mdpAgents.py.
Similar to the previous point, the idea is that everyone solves the same problem — you can’t change the problem by modifying the base code that runs the Pacman environment. Therefore, you are not allowed to modify the api.py file.
(d) You are not allowed to copy, without credit, code that you might get from other students or find lying around on the Internet. We will be checking.
This is the usual plagiarism statement. When you submit work to be marked, you should only seek to get credit for work you have done yourself. When the work you are submitting is code,
 3 Mallmann-Trenn / McBurney / 6ccs3ain-cw

(e) (f) (g)
4
you can use code that other people wrote, but you have to say clearly that the other person wrote it — you do that by putting in a comment that says who wrote it. That way we can adjust your mark to take account of the work that you didn’t do.
Your code must be based on solving the Pacman environment as an MDP. If you don’t submit a program that contains a recognisable MDP solver, you will lose marks.
The only MDP solvers we will allow are the ones presented in the lecture, i.e., Value iteration, Policy iteration and Modified policy iteration. In particular, Q-Learning is unacceptable.
Your code must only use the results of the MDP solver to decide what to do. If you submit code which makes decisions about what to do that uses other information in addition to what the MDP-solver generates (like ad-hoc ghost avoiding code, for example), you will lose marks.
This is to ensure that your MDP-solver is the thing that can win enough games to pass the functionality test.
What you have to hand in
Your submission should consist of a single ZIP file. (KEATS will be configured to only accept a single file.) This ZIP file must include a single Python .py file (your code).
The ZIP file must be named:
cw <lastname> <firstname>.zip
so my ZIP file would be named cw mallmann-trenn frederik.zip.
Remember that we are going to evaluate your code by running your code by using variations on
     python pacman.py -p MDPAgent
(see Section 5 for the exact commands we will use) and we will do this in a vanilla copy of the pacman-cw folder, so the base class for your MDP-solving agent must be called MDPAgent.
To streamline the marking of the coursework, you must put all your code in one file, and this file must be called mdpAgents.py,
Do not just include the whole pacman-cw folder. You should only include the one file that includes the code you have written.
Submissions that do not follow these instructions will lose marks. That includes submissions which are RAR files. RAR is not ZIP.
5 How your work will be marked
See cw-marksheet.pdf for more information about the marking. There will be six components of the mark for your work:
(a) Functionality
We will test your code by running your .py file against a clean copy of pacman-cw.
As discussed above, the number of games you win determines the number of marks you get. Since we will check it this way, you may want to reset any internal state in your agent using
 4 Mallmann-Trenn / McBurney / 6ccs3ain-cw

final() (see Section 3.2). For the excellence marks, we will look at the winning scores for the mediumClassic layout.
Since we have a lot of coursework to mark, we will limit how long your code has to demonstrate that it can win. We will terminate the run of the 25smallGrid games after 5 minutes, and will terminate the run of the 25 mediumClassic games after 25 minutes. If your code has failed to win enough games within these times, we will mark it as if it lost. Note that we will use the -q command, which runs Pacman without the interface, to speed things up.
Code not written in Python will not be marked.
(b) Style There are no particular requirements on the way that your code is structured, but it should follow standard good practice in software development and will be marked accordingly.
Remember that your code is only allowed to interact with the Pacman environment through version 6 of api.py. Code that does not follow this rule will lose marks.
(c) Documentation
All good code is well documented, and your work will be partly assessed by the comments you provide in your code. If we cannot understand from the comments what your code does, then you will lose marks. At the same time, comments are not intended to be paragraph-long, but brief sentences. Good code should explain itself for the most part.
A copy of the marksheet, which shows the distribution of marks across the different elements of the coursework, will be available from KEATS.
 5 Mallmann-Trenn / McBurney / 6ccs3ain-cw
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代做CSc 360、代寫A Simple File程序
  • 下一篇:&#160;代做EEE226、java,c++編程代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人免费福利在线| 久久精品国产久精国产一老狼| 亚洲国产日韩欧美| 中文字幕久久一区| 国产精品日日做人人爱| 国产成人精品在线| 精品国产一区二区三区久久| 久久精品男人天堂| 国产激情美女久久久久久吹潮| 国产一区二区三区小说| 欧美日韩精品久久| 欧美福利精品| 精品视频导航| 国产美女主播在线播放| 成人精品在线观看| 97精品伊人久久久大香线蕉| 久久视频这里有精品| 7777精品久久久久久| 久久久精品动漫| 久久久这里只有精品视频| 国产精品18毛片一区二区| 国产成人精品久久亚洲高清不卡| 久久精品日产第一区二区三区精品版| 国产高清自拍99| 日韩视频欧美视频| 美女精品久久久| 日日噜噜噜噜夜夜爽亚洲精品| 欧美亚洲一二三区| 国产久一道中文一区| 91.com在线| 国产精品视频免费一区二区三区| 精品免费国产| 性高潮久久久久久久久| 欧美综合一区第一页| 精品少妇人妻av一区二区| 国产精品综合不卡av| 久久男人资源视频| 国产精品九九九| 午夜精品久久久久久久男人的天堂 | 黄色免费视频大全| 二级片在线观看| 久久av免费一区| 精品国产一区二区三区久久久久久 | 91精品啪aⅴ在线观看国产| 国产成人精品视| 国产精品成av人在线视午夜片| 亚州国产精品久久久| 国产在线一区二区三区| 国产脚交av在线一区二区| 国产精品国产三级国产专区51 | 日本免费成人网| 国产原创精品| 久久99九九| 亚洲欧美影院| 国产色综合天天综合网| 久久国产色av免费观看| 欧美激情xxxx性bbbb| 欧美一区二区中文字幕| 91好吊色国产欧美日韩在线| 久久综合网hezyo| 日韩av在线一区二区三区| 国产偷人视频免费| 国产精品日韩高清| 色噜噜狠狠色综合网| 高清国语自产拍免费一区二区三区 | 久久av免费一区| 亚洲国产精品久久久久爰色欲 | av动漫在线免费观看| 国产精品成人免费电影| 欧美午夜精品久久久久久蜜| 久久偷窥视频| 亚洲www在线观看| dy888夜精品国产专区| 久久亚洲欧美日韩精品专区| 欧美激情一级二级| 午夜精品三级视频福利| 欧美不卡福利| 久久久噜久噜久久综合| 亚洲精品日韩av| 国产视频一区二区三区在线播放| 成人中文字幕在线播放| www.日韩免费| 日本成人中文字幕在线| 久久综合九色综合网站| 欧美一区二区视频在线| 91免费福利视频| 亚洲综合国产精品| 国产精品香蕉视屏| 九九精品在线观看| 蜜桃传媒视频第一区入口在线看 | 亚洲欧美日产图| 国产精品专区在线| 久久成人av网站| 国产日韩三区| 欧美日本在线视频中文字字幕| 精品欧美日韩| 国产精品入口免费视频一| 欧美精品中文字幕一区二区| 精品国产一区二区三区在线观看| 日韩欧美在线观看强乱免费| 久久国产精品一区二区三区 | 黄色一级视频播放| 久久精品中文字幕一区| 欧美极品一区| 国产精品久久久久久久午夜| 国产一区二中文字幕在线看| 国产aaa精品| 久久精品在线免费视频| 无码人妻aⅴ一区二区三区日本 | 日韩在线视频观看正片免费网站| 日韩精品久久久毛片一区二区| 日韩中文字幕不卡视频| 妓院一钑片免看黄大片| 欧美黄网免费在线观看| 97人人模人人爽人人喊38tv| 婷婷久久青草热一区二区| 精品国产一区二区三区久久久狼 | 久久精品国产99精品国产亚洲性色| 日韩av一二三四区| 久久精品久久久久久| 国产日韩精品一区二区| 亚洲色图自拍| 久久精品成人一区二区三区 | 国产高清在线一区| 国内精品中文字幕| 亚洲色欲久久久综合网东京热| 国产xxxxx视频| 精品一区二区久久久久久久网站| 久久91精品国产91久久久| 97免费视频在线| 青青草成人免费在线视频| 欧美精品少妇videofree| 97久久精品国产| 欧美午夜欧美| 亚洲影院在线看| 国产精品视频精品| 91九色国产视频| 欧美国产日韩激情| 亚洲啪啪av| 国产精品久久7| 久久亚裔精品欧美| 国产伊人精品在线| 日本a级片在线观看| 久久综合国产精品台湾中文娱乐网| 99热国产免费| 欧美韩国日本精品一区二区三区| 亚洲一区亚洲二区亚洲三区| 久久九九精品99国产精品| 91成人免费观看| 国产伦理久久久| 欧美高清性xxxxhd| 日日摸日日碰夜夜爽无码| 国产99久久精品一区二区 夜夜躁日日躁 | 国产在线视频欧美| 午夜免费福利小电影| 精品国产av无码一区二区三区| 69国产精品成人在线播放| 国产一区二区在线免费| 日韩精品第1页| 亚洲最大福利视频网站| 国产精品吊钟奶在线| 久久久中文字幕| 成人免费在线网址| 国产视色精品亚洲一区二区| 精品日本一区二区| 欧美性在线观看| 日本电影一区二区三区| 亚洲精品成人三区| 一区二区三区欧美成人| 操日韩av在线电影| 国产精品免费一区二区三区都可以 | 精品嫩模一区二区三区| 日韩在线国产| 亚洲高清资源综合久久精品| 欧美精品日韩三级| 久久国产精品电影| 国产精品免费看久久久香蕉 | 亚洲啊啊啊啊啊| 亚洲熟妇无码一区二区三区导航| 久久亚洲综合国产精品99麻豆精品福利 | 在线不卡日本| 精品久久久久久乱码天堂| 国产精品国产三级国产专区53| 久久久国产精品x99av| 日韩中文综合网| 日韩中文字幕网| 久久黄色免费看| 久久久久久久久网站| 久久久久五月天| 日韩视频免费在线观看| 久久精品久久久久久| 国产精品视频在线免费观看| 国产精品久久久久久影视| 国产精品视频自拍| 久久天堂av综合合色| 国产成人免费av| www.精品av.com| 国产精品久久久久久久7电影| 国产精品成av人在线视午夜片| 精品国产_亚洲人成在线|