我们提供专属的CS程序代写服务,代写各类程序语言:C语言代写, C++代写, 算法作业代写, 数据结构代写, AI代写, python代写, java代写, matlab代写, 汇编代写, scala代写, GO代写,Haskell代写,opengl代写,php代写,SQL/Database代写, racket代写, 安卓/Android代写, IOS/swift代写, racket代写, 网络代写, web代写, OS/操作系统代写, R代写等.专业CS程序/CS作业代写, C/C++/JAVA/python/assignmen,提供CS全领域编程, 包括Java 编程, C++编程, R语言编程, 数据库编程, Python 编程。IT 工程师团队。
MSBD5015作业代做、代写Programming作业、Python编程语言作业调试、Python作业代写。
MSBD5015 2020 Fall Semester Assignment #1
Date assigned: Wednesday, Sep 23, 2020
Due time: 23:59pm on Wednesday, Oct 7, 2020
How to submit it: Submit your written answers as a pdf file on canvas.ust.hk. Submit
your code for the last three programming questions as a zip file named YourStudentID.zip
Penalties on late papers: 20% off each day (anytime after the due time is considered
late by one day)
Problem 1. (10%) Consider a 10x10 grid without any obstacles, and a robot with the
same specification as our boundary following robot: eight sensors and four actions. Design a
reactive production system to control the robot to go to one of the four corners, wherever its
initial position is. Write a production system just for this task without calling the boundary
following production system in the lecture note.
Problem 2. (10%) Which boolean function does the following TLU implement? The
TLU has five inputs. Its weight vector is (1.1, 3.1, ?1, ?2, 0.5), and the threshold is 1.
Problem 3. (Programming) (30%) Design and implement a genetic programming
system to evolve some perceptrons that match well with a given training set. A training set
is a collection of tuples of the form (x1, ..., xn, l), where xi
’s are real numbers and l is either
1 (positive example) or 0 (negative example). So for your genetic programming system, a
“program” is just a tuple (w1, ..., wn, θ) of numbers (weights and the threshold). Answer
the following questions:
1. What’s your fitness function?
2. What’s your crossover operator?
3. What’s your copy operator?
4. What’s your mutation operator, if you use any?
5. What’s the size of the initial generation, and how are programs generated?
6. When do you stop the evolution? Evolve it up to a fixed iteration, when it satisfies a
condition on the fitness function, or a combination of the two?
7. What’s the output of your system for the provided training set gp-training-set.csv
in assign1-data.zip?