当前位置:主页 > Assignment代做 > Assignment学科 > CS/IT代写 >

Python代写Programming作业_Python作业代写

发布时间:2020-12-04

CS代写、计算机作业代写,java代写,python代写,c/c++代写


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?

DueEssay论文代写