Policy Iteration, Value Iteration, and Linear Programming

Size: px
Start display at page:

Download "Policy Iteration, Value Iteration, and Linear Programming"

Transcription

1 Dynamic Programming and Optimal Control (Fall 2018) Programming Exercise Topic: Infinite Horizon Problems Issued: Nov 22, 2018 Due: Dec 19, 2018 Rajan Weixuan November 25, 2018 Policy Iteration, Value Iteration, and Linear Programming The goal of this programming exercise is to help a paparazzi take a picture of a celebrity in minimum time. For this purpose the paparazzi enters a celebrity s estate (see Fig. 1) and tries to sneak up to the celebrity s mansion in order to get a good picture. Unfortunately, there are various security cameras installed on the property. If caught on camera, the paparazzi will be brought to the entrance gate by the security guards and has to restart. In addition, there are various obstacles such as trees, bushes, ponds and pools on the property. The trees and bushes can be used by the paparazzi to hide from the cameras, but he cannot move through them. The ponds and pools can be crossed by the paparazzi, but this costs extra time and they do not offer any sight protection. North (N,M) m (1,2) (1,1) (2,1) n Figure 1: Bird s eye view of a celebrity s estate with trees, bushes, ponds and a pool. Figure 2: Example map of the celebrity s estate. The black cells represent trees and bushes, the blue cells ponds and pools, the grey cells the mansion, the red cells security cameras and the yellow cell the entrance gate. Problem set up The celebrity s property is discretized into N M cells (see Fig. 2), where N is the width of the estate (from west to east) and M the length (from south to north), respectively. At each time step, the paparazzi can move north, west, south, east or stay at his current position and try to take a picture. The paparazzi s position is described by x = (n, m), n {1,..., N}, m {1,..., M}.

2 The map of the estate is described by a M N-matrix, where positive values indicate obstacles that are inaccessible (e.g. trees, bushes, mansion, other cameras, etc.) and negative values indicate ponds or pools. If the paparazzi decides to move into a pond or pool, it takes him four time steps. Leaving the pool or taking a picture from inside the pool only takes one time step. The positions of the mansion, which is always rectangular, is given by a F 2-matrix, where each row indicates a cell of the map that is part of the mansion. The positions of the security cameras are given by a H 3-matrix, where each row indicates the cell of the camera position (first two columns) and the camera s image quality (third column). The cameras can film in all four cardinal directions, but not diagonal nor through obstacles. If the paparazzi moves to a cell that is in line of sight of a camera, the probability of being detected by this camera is γ i / d pc, where γ i denotes the camera s image quality and d pc the current distance between the paparazzi and the camera (measured in number of cells). In case the paparazzi is caught on camera, he will be brought to the entrance gate which costs an additional six time steps. The position of the entrance gate is given by a 1 2-matrix indicating the cell of the map where the gate is located. In each time step, the paparazzi can take a picture instead of moving around. The minimum probability of successfully taking picture is p c = 0.001, which represents the rare case when the celebrity walks into the picture outside of the mansion. If any cell of the mansion is in the field of view of the paparazzi (all four cardinal directions, not diagonal or through trees or bushes), the probability of successfully taking a picture is max{p c, γ p / d pm }, with γ p = 0.5 and d pm being the current distance between the paparazzi and the corresponding cell of the mansion. Note: The order of events during a time step is the following: First, the paparazzi moves to a new cell or takes a picture. If he successfully took a picture of the celebrity, the task is over. In all other cases, the security cameras try to spot the paparazzi and if caught on camera, the paparazzi is escorted to entrance gate by the security guards. If the paparazzi moves into a pond or pool cell, the security cameras have four attempts to film the paparazzi and hence the probability of the paparazzi being detected increases.

3 Tasks Find the policy minimizing the expected number of time steps required to successfully take a picture by a) creating a transition probability matrix P R K K L, where K is the number of possible states and L is the number of control inputs 1. For creating P, the state space is created by assigning a unique state index i = 1, 2,..., K to all accessible cells of the estate (see main.m). Use the provided file ComputeTransitionProbabilities.m as a template for your implementation. This part counts 30% towards the grade. b) creating a stage cost matrix 2 G R K L. Use the provided file ComputeStageCosts.m as a template for your implementation. This part counts 25% towards the grade. c) applying Value Iteration 3, Policy Iteration and Linear Programming 4 to compute J R K and the optimal policy µ(i), i = 1,..., K, that solves the stochastic shortest path problem. Use the provided files ValueIteration.m, PolicyIteration.m and LinearProgramming.m as a template for your implementation. Each algorithm makes up for 15% of the grade. 1 Set the transition probabilities to 0 for infeasible moves. 2 Set the expected stage cost to inf for infeasible moves. 3 You can terminate the algorithm if all J(i), i = 1,..., K, do not change by more than 10 5 within one iteration step. 4 In your implementation of the file LinearProgramming.m, you may use the MATLAB function linprog to solve the linear program.

4 Provided Matlab files A set of MATLAB files is provided on the class website. Use them for solving the above problem. Strictly follow the structure. Grading is automated using MATLAB 2018b. You can add functions to the template files, but each file should be self-contained, i.e. not depend on any external custom function. main.m GenerateMap.p PlotMap.m PlotMap3.m ComputeTransitionProbabilities.m ComputeStageCosts.m ValueIteration.m PolicyIteration.m LinearProgramming.m examplemap.mat examplep.mat exampleg.mat Matlab script that has to be used to generate a map of the estate, execute the stochastic shortest path algorithms and display the results. Matlab function that generates a map of the celebrity s estate. Matlab function that can plot a map of the estate, and the cost and control action for each accessible cell. Matlab function that can plot a three dimensional view of the estate and control action for each accessible cell. Matlab function template to be used for creating the transition probability matrix P R K K L. Matlab function template to be used for creating the stage cost matrix G R K L. of the Value Iteration algorithm for the stochastic shortest path problem. of the Policy Iteration algorithm for the stochastic shortest path problem. of the Linear Programming algorithm for the stochastic shortest path problem. A pre-generated map to be used for testing your implementations of the above functions. The transition probability matrix P R K K L for the example map. The stage cost matrix G R K L for the example map.

5 Deliverables Please hand in by your MATLAB implementation of the following files: ComputeTransitionProbabilites.m, ComputeStageCost.m, ValueIteration.m, PolicyIteration.m, LinearProgramming.m. Only submit the above mentioned files. Your code should not depend on any other nonstandard MATLAB functions. in a PDF-file a scanned declaration of originality, signed by each student to confirm that the work is original and has been done by the author(s) independently: /leistungskontrollen/declaration-originality.pdf. Each work submitted will be tested for plagiarism. Please include all files into one zip-archive, named DPOCEx Names.zip, where Names is a list of the full names of all students who have worked on the solution. (e.g DPOCEx GillRajan ZhangWeixuan.zip) 5 Send your files to wzhang@ethz.ch with subject [programming exercise submission] by the due date indicated above. We will send a confirmation upon receiving your . You are ultimately responsible that we receive your solution in time. 5 Up to three students are allowed to work together on the problem. They will all receive the same grade.

CSE151 Assignment 2 Markov Decision Processes in the Grid World

CSE151 Assignment 2 Markov Decision Processes in the Grid World CSE5 Assignment Markov Decision Processes in the Grid World Grace Lin A484 gclin@ucsd.edu Tom Maddock A55645 tmaddock@ucsd.edu Abstract Markov decision processes exemplify sequential problems, which are

More information

CS 2704 Project 3 Spring 2000

CS 2704 Project 3 Spring 2000 Maze Crawler For this project, you will be designing and then implementing a prototype for a simple game. The moves in the game will be specified by a list of commands given in a text input file. There

More information

MathZoom, Summer, 2014

MathZoom, Summer, 2014 A one-dimensional bug starts at the origin and each minute moves either left or right exactly one unit. Suppose it makes there moves with equal likelihood. That is the probability of a move to the left

More information

CS195H Homework 1 Grid homotopies and free groups. Due: February 5, 2015, before class

CS195H Homework 1 Grid homotopies and free groups. Due: February 5, 2015, before class CS195H Homework 1 Grid homotopies and free groups This second homework is almost all about grid homotopies and grid curves, but with a little math in the middle. This homework, last year, took people about

More information

CIS581: Computer Vision and Computational Photography Project 4, Part B: Convolutional Neural Networks (CNNs) Due: Dec.11, 2017 at 11:59 pm

CIS581: Computer Vision and Computational Photography Project 4, Part B: Convolutional Neural Networks (CNNs) Due: Dec.11, 2017 at 11:59 pm CIS581: Computer Vision and Computational Photography Project 4, Part B: Convolutional Neural Networks (CNNs) Due: Dec.11, 2017 at 11:59 pm Instructions CNNs is a team project. The maximum size of a team

More information

GEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles

GEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles Name: 6th Grade Math Unit 7 GEOMETRY 2012 10 17 www.njctl.org 1 Table of Contents Area of Rectangles Area of Parallelograms Area of Triangles Area of Trapezoids Mixed Review Area of Irregular Figures Area

More information

Full Search Map Tab. This map is the result of selecting the Map tab within Full Search.

Full Search Map Tab. This map is the result of selecting the Map tab within Full Search. Full Search Map Tab This map is the result of selecting the Map tab within Full Search. This map can be used when defining your parameters starting from a Full Search. Once you have entered your desired

More information

REINFORCEMENT LEARNING: MDP APPLIED TO AUTONOMOUS NAVIGATION

REINFORCEMENT LEARNING: MDP APPLIED TO AUTONOMOUS NAVIGATION REINFORCEMENT LEARNING: MDP APPLIED TO AUTONOMOUS NAVIGATION ABSTRACT Mark A. Mueller Georgia Institute of Technology, Computer Science, Atlanta, GA USA The problem of autonomous vehicle navigation between

More information

MIT Programming Contest Team Contest 1 Problems 2008

MIT Programming Contest Team Contest 1 Problems 2008 MIT Programming Contest Team Contest 1 Problems 2008 October 5, 2008 1 Edit distance Given a string, an edit script is a set of instructions to turn it into another string. There are four kinds of instructions

More information

Assignment 4: CS Machine Learning

Assignment 4: CS Machine Learning Assignment 4: CS7641 - Machine Learning Saad Khan November 29, 2015 1 Introduction The purpose of this assignment is to apply some of the techniques learned from reinforcement learning to make decisions

More information

Project 8: Virtual Machine Translator II

Project 8: Virtual Machine Translator II Project 8: Virtual Machine Translator II CS 220 Start: Nov. 18; Due: Dec. 8 at 11:55 pm Background We continue building the VM Translator a program that translates a program written in the VM language

More information

10-701/15-781, Fall 2006, Final

10-701/15-781, Fall 2006, Final -7/-78, Fall 6, Final Dec, :pm-8:pm There are 9 questions in this exam ( pages including this cover sheet). If you need more room to work out your answer to a question, use the back of the page and clearly

More information

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has.

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has. ASSIGNMENT 0 Introduction to Linear Algebra (Basics of vectors and matrices) Due 3:30 PM, Tuesday, October 10 th. Assignments should be submitted via e-mail to: matlabfun.ucsd@gmail.com You can also submit

More information

Mini-Project 1: Steganography. Lecture Barbara Jobstmann

Mini-Project 1: Steganography. Lecture Barbara Jobstmann Mini-Project 1: Steganography Lecture Barbara Jobstmann 27.10.2016 Outline Administrative Information/Starting point Submission and Groups Submission Server and Tokens Project Goal Overview Provided Code

More information

TurnItIn How Do I Set Up My Turnitin Assignment? How Do I Give Feedback to My Students in Turnitin?...109

TurnItIn How Do I Set Up My Turnitin Assignment? How Do I Give Feedback to My Students in Turnitin?...109 ASSIGNMENTS Table of Contents Assignment Settings... 4 How Do I Create an Assignment?... 5 How Do I Edit an Assignment?... 8 How Do I Create a Group Assignment?...11 How Do I Delete an Assignment?...18

More information

Exercise 4. AMTH/CPSC 445a/545a - Fall Semester October 30, 2017

Exercise 4. AMTH/CPSC 445a/545a - Fall Semester October 30, 2017 Exercise 4 AMTH/CPSC 445a/545a - Fall Semester 2016 October 30, 2017 Problem 1 Compress your solutions into a single zip file titled assignment4.zip, e.g. for a student named Tom

More information

CS 1567 Intermediate Programming and System Design Using a Mobile Robot Aibo Lab3 Localization and Path Planning

CS 1567 Intermediate Programming and System Design Using a Mobile Robot Aibo Lab3 Localization and Path Planning CS 1567 Intermediate Programming and System Design Using a Mobile Robot Aibo Lab3 Localization and Path Planning In this lab we will create an artificial landscape in the Aibo pen. The landscape has two

More information

USER GUIDE. versie 1.1

USER GUIDE. versie 1.1 versie 1.1 INTRODUCTION Dear instructor, Thank you for downloading this Ephorus User Guide. If you have any questions, please contact the Ephorus key user within your educational institute. You can find

More information

BYU-Idaho Online Knowledgebase

BYU-Idaho Online Knowledgebase ASSIGNMENTS Table of Contents Assignment Settings...4 How Do I Create an Assignment?...5 How Do I Edit an Assignment?...8 How Do I Create a Group Assignment?...12 How Do I Delete an Assignment?...21 "Dropbox"

More information

a f b e c d Figure 1 Figure 2 Figure 3

a f b e c d Figure 1 Figure 2 Figure 3 CS2604 Fall 2001 PROGRAMMING ASSIGNMENT #4: Maze Generator Due Wednesday, December 5 @ 11:00 PM for 125 points Early bonus date: Tuesday, December 4 @ 11:00 PM for 13 point bonus Late date: Thursday, December

More information

Forms. Section 3: Deleting a Category

Forms. Section 3: Deleting a Category 9. If a category was NOT previously published, Authors may modify it by following the same procedures as an Administrator or Publisher. When the category is ready for publishing an Author must Save and

More information

CS 315 Data Structures Fall Figure 1

CS 315 Data Structures Fall Figure 1 CS 315 Data Structures Fall 2012 Lab # 3 Image synthesis with EasyBMP Due: Sept 18, 2012 (by 23:55 PM) EasyBMP is a simple c++ package created with the following goals: easy inclusion in C++ projects,

More information

Computer Project #2 (Matrix Operations)

Computer Project #2 (Matrix Operations) Math 0280 Introduction to Matrices and Linear Algebra Fall 2006 Computer Project #2 (Matrix Operations) SCHEDULE: This assignment is due in class on Monday, October 23, 2006. One submission per group is

More information

Advanced Lighting Techniques Due: Monday November 2 at 10pm

Advanced Lighting Techniques Due: Monday November 2 at 10pm CMSC 23700 Autumn 2015 Introduction to Computer Graphics Project 3 October 20, 2015 Advanced Lighting Techniques Due: Monday November 2 at 10pm 1 Introduction This assignment is the third and final part

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Comp 541 Digital Logic and Computer Design Fall 2014 Lab #4: Sequential Design: Counters Issued Wed 9/10/14; Due Wed 9/17/14 (11:59pm) This lab assignment

More information

Self assessment due: Monday 10/29/2018 at 11:59pm (submit via Gradescope)

Self assessment due: Monday 10/29/2018 at 11:59pm (submit via Gradescope) CS 188 Fall 2018 Introduction to Artificial Intelligence Written HW 7 Due: Monday 10/22/2018 at 11:59pm (submit via Gradescope). Leave self assessment boxes blank for this due date. Self assessment due:

More information

Mandatory Exercise 1 INF3110

Mandatory Exercise 1 INF3110 Mandatory Exercise 1 INF3110 In this exercise, you are going to write a small interpreter for a simple language for controlling a robot on a 2-dimensional grid. The language is called ROBOL, a clever acronym

More information

BTRY/STSCI 6520, Fall 2012, Homework 3

BTRY/STSCI 6520, Fall 2012, Homework 3 BTRY/STSCI 6520, Fall 2012, Homework 3 Due at 8:00am on October 24, 2012, by email (see submission instructions) 1 Introduction K-Means Clustering The K-means algorithm is the simplest and most widely

More information

Exercise 2. AMTH/CPSC 445a/545a - Fall Semester September 21, 2017

Exercise 2. AMTH/CPSC 445a/545a - Fall Semester September 21, 2017 Exercise 2 AMTH/CPSC 445a/545a - Fall Semester 2016 September 21, 2017 Problem 1 Compress your solutions into a single zip file titled assignment2.zip, e.g. for a student named

More information

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path

BIOE 198MI Biomedical Data Analysis. Spring Semester Dynamic programming: finding the shortest path BIOE 98MI Biomedical Data Analysis. Spring Semester 09. Dynamic programming: finding the shortest path Page Problem Statement: we re going to learn how to convert real life problem into a graphical diagram

More information

Programming Exercise 7: K-means Clustering and Principal Component Analysis

Programming Exercise 7: K-means Clustering and Principal Component Analysis Programming Exercise 7: K-means Clustering and Principal Component Analysis Machine Learning May 13, 2012 Introduction In this exercise, you will implement the K-means clustering algorithm and apply it

More information

Search in discrete and continuous spaces

Search in discrete and continuous spaces UNSW COMP3431: Robot Architectures S2 2006 1 Overview Assignment #1 Answer Sheet Search in discrete and continuous spaces Due: Start of Lab, Week 6 (1pm, 30 August 2006) The goal of this assignment is

More information

: Principles of Imperative Computation Victor Adamchik. Practice Exam - I

: Principles of Imperative Computation Victor Adamchik. Practice Exam - I 15-122 Practice Exam - I Page 1 of 10 15-122 : Principles of Imperative Computation Victor Adamchik Practice Exam - I Name: Andrew ID: Answer the questions in the space provided following each question.

More information

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM CIS 580, Machine Perception, Spring 2015 Homework 1 Due: 2015.02.09. 11:59AM Instructions. Submit your answers in PDF form to Canvas. This is an individual assignment. 1 Camera Model, Focal Length and

More information

10708 Graphical Models: Homework 4

10708 Graphical Models: Homework 4 10708 Graphical Models: Homework 4 Due November 12th, beginning of class October 29, 2008 Instructions: There are six questions on this assignment. Each question has the name of one of the TAs beside it,

More information

The Number Plane THE NUMBER PLANE PASSPORT.

The Number Plane THE NUMBER PLANE PASSPORT. THE NUMBER PLANE PASSPORT www.mathletics.co.nz Fill in the mind-map below with what you already know about number planes. A start has been made for you! Uses a coordinate system developed by the French

More information

Advanced Client-Side Web Programming CSCI 491/595 Syllabus Fall 2018

Advanced Client-Side Web Programming CSCI 491/595 Syllabus Fall 2018 Advanced Client-Side Web Programming CSCI 491/595 Syllabus Fall 2018 CSCI 491/595 Section 00 Instructor: Michael Cassens Office: SS 411 Office Hours: MWF 11:00-11:50 am or by appt Phone: (415) 787-0577

More information

CIS680: Vision & Learning Assignment 2.b: RPN, Faster R-CNN and Mask R-CNN Due: Nov. 21, 2018 at 11:59 pm

CIS680: Vision & Learning Assignment 2.b: RPN, Faster R-CNN and Mask R-CNN Due: Nov. 21, 2018 at 11:59 pm CIS680: Vision & Learning Assignment 2.b: RPN, Faster R-CNN and Mask R-CNN Due: Nov. 21, 2018 at 11:59 pm Instructions This is an individual assignment. Individual means each student must hand in their

More information

ENGR 1181 MATLAB 09: For Loops 2

ENGR 1181 MATLAB 09: For Loops 2 ENGR 1181 MATLAB 09: For Loops Learning Objectives 1. Use more complex ways of setting the loop index. Construct nested loops in the following situations: a. For use with two dimensional arrays b. For

More information

Mr. Giansante. Visual Basic. Adventure Game

Mr. Giansante. Visual Basic. Adventure Game Visual Basic Adventure Game August 2016 Difficulty Level: Beginner Intermediate Advanced Help References: Button Control MenuStrip Control Random Numbers Arrays Designing the Game Print the "Adventure

More information

.. Fall 2013 CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar.. Lab 5: Conditional Statements

.. Fall 2013 CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar.. Lab 5: Conditional Statements .. Fall 2013 CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar.. Lab 5: Conditional Statements Due date: Tuesday, October 22, 11:59pm. Lab Assignment Assignment Preparation Lab type. This

More information

Problem Set 1. Problem 1-1.

Problem Set 1. Problem 1-1. Introduction to Algorithms: 6.006 Massachusetts Institute of Technology September 8, 2011 Professors Erik Demaine and Srini Devadas Problem Set 1 Problem Set 1 Both theory and programming questions are

More information

Enabling Turnitin Turnitin Additional Options Creating Rubrics Viewing and Assessing Assignments Feedback Studio FAQs

Enabling Turnitin Turnitin Additional Options Creating Rubrics Viewing and Assessing Assignments Feedback Studio FAQs 1 Turnitin TurnItIn/Grademark is the contracted third-party tool integrated with D2L that checks for plagiarism (originality checking) and enables faculty to grade and provide feedback online. Turnitin

More information

CIS 390 Fall 2015 Robotics: Planning and Perception Kostas Daniilidis Homework 6

CIS 390 Fall 2015 Robotics: Planning and Perception Kostas Daniilidis Homework 6 CIS 390 Fall 2015 Robotics: Planning and Perception Kostas Daniilidis Homework 6 Lab session: Thursday October 27, 2016 10:30 AM, 2016 Code submission: Friday October 28, 2016 23:59 PM 1 Introduction In

More information

Before submitting the file project5.py, check carefully that the header above is correctly completed:

Before submitting the file project5.py, check carefully that the header above is correctly completed: 1 of 10 8/26/2013 12:43 PM Due date: December 6th, 23:59PM Teamwork reflection due date: December 6th, 23:59PM This is a team project. The project is worth 100 points. All the team members will get an

More information

CIS 520, Machine Learning, Fall 2015: Assignment 7 Due: Mon, Nov 16, :59pm, PDF to Canvas [100 points]

CIS 520, Machine Learning, Fall 2015: Assignment 7 Due: Mon, Nov 16, :59pm, PDF to Canvas [100 points] CIS 520, Machine Learning, Fall 2015: Assignment 7 Due: Mon, Nov 16, 2015. 11:59pm, PDF to Canvas [100 points] Instructions. Please write up your responses to the following problems clearly and concisely.

More information

HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression

HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression Goals: To open up the black-box of scikit-learn and implement regression models. To investigate how adding polynomial

More information

Title: Perimeter Playground

Title: Perimeter Playground Title: Perimeter Playground Brief Overview: The students will use real-life experiences to discover perimeter. The teacher will read aloud Spaghetti and Meatballs for All by Marilyn Burns to help them

More information

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION CROSS SHAPED APERTURES Ian Cooper School of Physics, University of Sydney ian.cooper@sydney.edu.au DOWNLOAD DIRECTORY FOR

More information

C/C++ Programming for Engineers: Matlab Branches and Loops

C/C++ Programming for Engineers: Matlab Branches and Loops C/C++ Programming for Engineers: Matlab Branches and Loops John T. Bell Department of Computer Science University of Illinois, Chicago Review What is the difference between a script and a function in Matlab?

More information

Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD

Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD Lab # 2 - ACS I Part I - DATA COMPRESSION in IMAGE PROCESSING using SVD Goals. The goal of the first part of this lab is to demonstrate how the SVD can be used to remove redundancies in data; in this example

More information

General Instructions. Questions

General Instructions. Questions CS246: Mining Massive Data Sets Winter 2018 Problem Set 2 Due 11:59pm February 8, 2018 Only one late period is allowed for this homework (11:59pm 2/13). General Instructions Submission instructions: These

More information

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM

Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM Image Manipulation in MATLAB Due Monday, July 17 at 5:00 PM 1 Instructions Labs may be done in groups of 2 or 3 (i.e., not alone). You may use any programming language you wish but MATLAB is highly suggested.

More information

CS 202, Fall 2017 Homework #3 Heaps and AVL Trees

CS 202, Fall 2017 Homework #3 Heaps and AVL Trees CS 202, Fall 2017 Homework #3 Heaps and AVL Trees Due Date: November 27, 2017 Important Notes Please do not start the assignment before reading these notes. Before 23:55, November 27, upload your solutions

More information

International Olympiad in Informatics 2012

International Olympiad in Informatics 2012 International Olympiad in Informatics 2012 23-30 September 2012 Sirmione - Montichiari, Italy Competition tasks, day 1: Leonardo's inventions and projects odometer English 1.2 Pebbling odometer Leonardo

More information

GST 104: Cartographic Design Lab 7: Design and Label a Downtown Street Map

GST 104: Cartographic Design Lab 7: Design and Label a Downtown Street Map GST 104: Cartographic Design Lab 7: Design and Label a Downtown Street Map Objective Utilize QGIS and Inkscape to Design and Label a Street Map of a Downtown Area Document Version: 2014-06-16 (Beta) Author:

More information

St. Paul s Convent School (Secondary Section) ELMO Student User Guide

St. Paul s Convent School (Secondary Section) ELMO Student User Guide St. Paul s Convent School (Secondary Section) ELMO Student User Guide Version 1.0 Page 1 of 14 1. User Account 1.1 Login Open Chrome browser and go to http://elmo.spcs.edu.hk, a Sign In screen will be

More information

VLSI Design Automation Final Project Due: June 26 th, Project: A Router

VLSI Design Automation Final Project Due: June 26 th, Project: A Router Project: A Router In lecture, we described how to use the maze routing method to route the wires in a large ASIC, using a 3-dimensional stack of routing grids. In this project assignment, you get to build

More information

Radiography and Tomography Lab 2: Computing Radiographs

Radiography and Tomography Lab 2: Computing Radiographs Radiography and Tomography Lab 2: Computing Radiographs An Abbreviated View of Radiography Transmission Radiography is the process of measuring and recording changes in a high-energy particle beam (X-rays,

More information

A C Flora High Yearbook Senior Ad Order Form

A C Flora High Yearbook Senior Ad Order Form A C Flora High Yearbook Senior Ad Order Form.. Select size, layout & price of your senior ad (varies by submission date). Add $0 for custom ad. Complete this order form, including e-mail address so we

More information

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted.

The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when time is announced or risk not having it accepted. CS 184: Foundations of Computer Graphics page 1 of 10 Student Name: Class Account Username: Instructions: Read them carefully! The exam begins at 2:40pm and ends at 4:00pm. You must turn your exam in when

More information

Association for Computing Machinery Hong Kong Chapter Collegiate Programming Contest 2003

Association for Computing Machinery Hong Kong Chapter Collegiate Programming Contest 2003 Association for Computing Machinery Hong Kong Chapter Collegiate Programming Contest Venue: The University of Hong Kong Date: June,. Time: :pm to 6:pm Number of questions: 6 Number of non-cover pages:

More information

Fundamentals of Computer Science CSCI 136 Syllabus Fall 2018

Fundamentals of Computer Science CSCI 136 Syllabus Fall 2018 Fundamentals of Computer Science CSCI 136 Syllabus Fall 2018 CSCI 136 Section 00 Instructor: Michael Cassens Office: SS 411 Office Hours: MWF 11:00-11:50 am or by appt Phone: (415) 787-0577 E-mail: michael.cassens@mso.umt.edu

More information

Before submitting the file project4.py, check carefully that the header above is correctly completed:

Before submitting the file project4.py, check carefully that the header above is correctly completed: 1 of 7 8/26/2013 12:43 PM Due date: November 7th, 23:59PM This is a team project. The project is worth 100 points. All the team members will get an equal grade. ONLY the team leader must turn-in the project.

More information

Using Turnitin for electronic submission and marking of assignments: guidance paper for staff.

Using Turnitin for electronic submission and marking of assignments: guidance paper for staff. Using Turnitin for electronic submission and marking of assignments: guidance paper for staff. College of Nursing, Midwifery and Health Care June 2011 Catherine Lynch amended April 2012, February 2013,

More information

Midterm I Exam Principles of Imperative Computation André Platzer Ananda Gunawardena. February 23, Name: Andrew ID: Section:

Midterm I Exam Principles of Imperative Computation André Platzer Ananda Gunawardena. February 23, Name: Andrew ID: Section: Midterm I Exam 15-122 Principles of Imperative Computation André Platzer Ananda Gunawardena February 23, 2012 Name: Andrew ID: Section: Instructions This exam is closed-book with one sheet of notes permitted.

More information

(Refer Slide Time: 02.06)

(Refer Slide Time: 02.06) Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 27 Depth First Search (DFS) Today we are going to be talking

More information

Contents Introduction Petri Net Toolbox at a First Glance... 4

Contents Introduction Petri Net Toolbox at a First Glance... 4 Learning about Petri Ne t Toolbox For Use with MATLAB Version 2.1 Mihaela-Hanako Matcovschi Cristian Mahulea Octavian Pastravanu 2005 Contents Contents... 2 Introduction Petri Net Toolbox at a First Glance...

More information

PlagScan Instructions

PlagScan Instructions How to Change Your Password and Configure Your Settings 1) Contact Christine Iannicelli (610-409-3466; ciannicelli@ursinus.edu) and ask her to create an account for you. 2) Go to Plagscan.com 3) Login

More information

Full Search Map Tab Overview

Full Search Map Tab Overview FlexMLS Map Server Full Search Map Tab Overview The Full Search Map tab is a need to know module. It is accessible when you use Full Search under Search in the Main Menu tree of FlexMLS. This map can

More information

Data Types primitive, arrays, objects Java overview Primitive data types in Java

Data Types primitive, arrays, objects Java overview Primitive data types in Java Data Types primitive, arrays, objects Java overview Primitive data types in Java 46 Recap Day 2! Lessons Learned:! Sample run vs. pseudocode! Java program structure: set-up, then real statements, decent

More information

CS446: Machine Learning Fall Problem Set 4. Handed Out: October 17, 2013 Due: October 31 th, w T x i w

CS446: Machine Learning Fall Problem Set 4. Handed Out: October 17, 2013 Due: October 31 th, w T x i w CS446: Machine Learning Fall 2013 Problem Set 4 Handed Out: October 17, 2013 Due: October 31 th, 2013 Feel free to talk to other members of the class in doing the homework. I am more concerned that you

More information

Downloaded from

Downloaded from Integers 1.If = Positive integers, = Negative integers, = Zero. Which of following represents integers? (A) (B) (C) (D) all of them 2.The cube of a negative integer is a- (A) Positive integer. (B)

More information

1 of 24 5/6/2011 2:14 PM

1 of 24 5/6/2011 2:14 PM 1 of 24 5/6/2011 2:14 PM This tutorial explains how to add links, files, zipped files, pages, and MOODLE Media. ADDING LINKS 1. Let s start with adding a link. Here is a link to a practice Prezi. Highlight

More information

University of Manitoba Open Programming Contest September 22, General Instructions:

University of Manitoba Open Programming Contest September 22, General Instructions: University of Manitoba Open Programming Contest September 22, 2012 General Instructions: 1. Submit solutions using the PC^2 software. 2. The questions are not listed in order of difficulty. Some questions

More information

15-110: Principles of Computing, Spring 2018

15-110: Principles of Computing, Spring 2018 15-110: Principles of Computing, Spring 2018 Problem Set 5 (PS5) Due: Friday, February 23 by 2:30PM via Gradescope Hand-in HANDIN INSTRUCTIONS Download a copy of this PDF file. You have two ways to fill

More information

Lab 2: Your first web page

Lab 2: Your first web page Lab 2: Your first web page Due date DUE DATE: 3/3/2017, by 5pm. Demo in lab section/ta office hours. Overview In this lab we will walk through the usage of Microsoft Excel to create bar charts, pie charts,

More information

CS106X Handout 06 Autumn 2012 September 26 th, 2012 Grids and Queen Safety

CS106X Handout 06 Autumn 2012 September 26 th, 2012 Grids and Queen Safety CS106X Handout 06 Autumn 2012 September 26 th, 2012 Grids and Queen Safety Today's larger example demonstrates the use of a grid that is, a single declaration of a Grid to maintain information about

More information

Homework 4: Clustering, Recommenders, Dim. Reduction, ML and Graph Mining (due November 19 th, 2014, 2:30pm, in class hard-copy please)

Homework 4: Clustering, Recommenders, Dim. Reduction, ML and Graph Mining (due November 19 th, 2014, 2:30pm, in class hard-copy please) Virginia Tech. Computer Science CS 5614 (Big) Data Management Systems Fall 2014, Prakash Homework 4: Clustering, Recommenders, Dim. Reduction, ML and Graph Mining (due November 19 th, 2014, 2:30pm, in

More information

Year 10 Term 2 Homework

Year 10 Term 2 Homework Yimin Math Centre Year 10 Term 2 Homework Student Name: Grade: Date: Score: Table of contents 9 Year 10 Term 2 Week 9 Homework 1 9.1 Trigonometry with right Triangles........................... 1 9.1.1

More information

During the first 2 weeks of class, all students in the course will take an in-lab programming exam. This is the Exam in Programming Proficiency.

During the first 2 weeks of class, all students in the course will take an in-lab programming exam. This is the Exam in Programming Proficiency. Description of CPSC 301: This is a 2-unit credit/no credit course. It is a course taught entirely in lab, and has two required 2-hour 50-minute lab sessions per week. It will review, reinforce, and expand

More information

CSE 547: Machine Learning for Big Data Spring Problem Set 2. Please read the homework submission policies.

CSE 547: Machine Learning for Big Data Spring Problem Set 2. Please read the homework submission policies. CSE 547: Machine Learning for Big Data Spring 2019 Problem Set 2 Please read the homework submission policies. 1 Principal Component Analysis and Reconstruction (25 points) Let s do PCA and reconstruct

More information

Math 250A (Fall 2009) - Lab I: Estimate Integrals Numerically with Matlab. Due Date: Monday, September 21, INSTRUCTIONS

Math 250A (Fall 2009) - Lab I: Estimate Integrals Numerically with Matlab. Due Date: Monday, September 21, INSTRUCTIONS Math 250A (Fall 2009) - Lab I: Estimate Integrals Numerically with Matlab Due Date: Monday, September 21, 2009 4:30 PM 1. INSTRUCTIONS The primary purpose of this lab is to understand how go about numerically

More information

TN READY PRACTICE TEST DATE PERIOD Q4 TEST #1 PART 1 NO CALCULATOR

TN READY PRACTICE TEST DATE PERIOD Q4 TEST #1 PART 1 NO CALCULATOR NAME TN READY PRACTICE TEST DATE PERIOD Q4 TEST #1 PART 1 NO CALCULATOR 1. Between which two consecutive rational numbers is each irrational number? Choose two consecutive rational numbers for each irrational

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Comp 541 Digital Logic and Computer Design Prof. Montek Singh Fall 2017 Lab #3A: Sequential Design: Counters Issued Wed 9/6/17; Due Wed 9/13/17 (11:59pm)

More information

3D Reconstruction of a Hopkins Landmark

3D Reconstruction of a Hopkins Landmark 3D Reconstruction of a Hopkins Landmark Ayushi Sinha (461), Hau Sze (461), Diane Duros (361) Abstract - This paper outlines a method for 3D reconstruction from two images. Our procedure is based on known

More information

Improved upper and lower bounds on the feedback vertex numbers of grids and butterflies

Improved upper and lower bounds on the feedback vertex numbers of grids and butterflies Improved upper and lower bounds on the feedback vertex numbers of grids and butterflies Florent R. Madelaine and Iain A. Stewart Department of Computer Science, Durham University, Science Labs, South Road,

More information

MATH 2221A Mathematics Laboratory II

MATH 2221A Mathematics Laboratory II MATH 2221A Mathematics Laboratory II Lab Assignment 1 Name: Class: Student ID.: In this assignment, you are asked to run MATLAB demos to see MATLAB at work. The color version of this assignment can be

More information

Homework 1 (a and b) Convex Sets and Convex Functions

Homework 1 (a and b) Convex Sets and Convex Functions Homework 1 (a and b) Convex Sets and Convex Functions CMU 10-725/36-725: Convex Optimization (Fall 2017) OUT: Sep 1 DUE: Prob 1-3 Sep 11, 5:00 PM; Prob 4 Sep 15, 5:00 PM START HERE: Instructions Collaboration

More information

Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon)

Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon) CS121 Introduction to Artificial Intelligence Winter 2011 Homework #6 (Constraint Satisfaction, Non-Deterministic Uncertainty and Adversarial Search) Out: 2/21/11 Due: 2/29/11 (at noon) How to complete

More information

EECS 560 Lab 6: Min 3-Heap and Performance Analysis of Operations

EECS 560 Lab 6: Min 3-Heap and Performance Analysis of Operations EECS 560 Lab 6: Min 3-Heap and Performance Analysis of Operations Apoorv Ingle, Prof. Shontz Fall 2017 1 Lab Details Maximum Possible Points: 70 Lab Timings: 1. Monday Lab: Oct 2, 9:00 AM 10:50 AM 2. Wednesday

More information

CSCI 204 Introduction to Computer Science II

CSCI 204 Introduction to Computer Science II CSCI 204 Project 2 Maze Assigned: Wednesday 09/27/2017 First Phase (Recursion) Due Friday, 10/06/2017 Second Phase (Stack) Due Monday, 10/16/2017 1 Objective The purpose of this assignment is to give you

More information

ASSIGNMENT 4. COMP-202, Fall 2014, All Sections. Due: November 9 th, 2014 (23:59)

ASSIGNMENT 4. COMP-202, Fall 2014, All Sections. Due: November 9 th, 2014 (23:59) ASSIGNMENT 4 COMP-202, Fall 2014, All Sections Due: November 9 th, 2014 (23:59) Please read the entire pdf before starting. You must do this assignment individually and, unless otherwise specified, you

More information

FACULTY OF ENGINEERING LAB SHEET INFORMATION THEORY AND ERROR CODING ETM 2126 ETN2126 TRIMESTER 2 (2011/2012)

FACULTY OF ENGINEERING LAB SHEET INFORMATION THEORY AND ERROR CODING ETM 2126 ETN2126 TRIMESTER 2 (2011/2012) FACULTY OF ENGINEERING LAB SHEET INFORMATION THEORY AND ERROR CODING ETM 2126 ETN2126 TRIMESTER 2 (2011/2012) Experiment 1: IT1 Huffman Coding Note: Students are advised to read through this lab sheet

More information

High Performance Computing: Tools and Applications

High Performance Computing: Tools and Applications High Performance Computing: Tools and Applications Edmond Chow School of Computational Science and Engineering Georgia Institute of Technology Lecture 15 Numerically solve a 2D boundary value problem Example:

More information

1. Designing a 64-word Content Addressable Memory Background

1. Designing a 64-word Content Addressable Memory Background UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences Project Phase I Specification NTU IC541CA (Spring 2004) 1. Designing a 64-word Content Addressable

More information

Terrain rendering (part 1) Due: Monday, March 10, 10pm

Terrain rendering (part 1) Due: Monday, March 10, 10pm CMSC 3700 Winter 014 Introduction to Computer Graphics Project 4 February 5 Terrain rendering (part 1) Due: Monday, March 10, 10pm 1 Summary The final two projects involves rendering large-scale outdoor

More information

Mobile Robot Path Planning Software and Hardware Implementations

Mobile Robot Path Planning Software and Hardware Implementations Mobile Robot Path Planning Software and Hardware Implementations Lucia Vacariu, Flaviu Roman, Mihai Timar, Tudor Stanciu, Radu Banabic, Octavian Cret Computer Science Department, Technical University of

More information

HYPERVARIATE DATA VISUALIZATION

HYPERVARIATE DATA VISUALIZATION HYPERVARIATE DATA VISUALIZATION Prof. Rahul C. Basole CS/MGT 8803-DV > January 25, 2017 Agenda Hypervariate Data Project Elevator Pitch Hypervariate Data (n > 3) Many well-known visualization techniques

More information

ESE370 Fall ESE370, Fall 2015 Project 2: Memory Design Wednesday, Nov. 11

ESE370 Fall ESE370, Fall 2015 Project 2: Memory Design Wednesday, Nov. 11 ESE370 Fall 205 University of Pennsylvania Department of Electrical and System Engineering Circuit-Level Modeling, Design, and Optimization for Digital Systems ESE370, Fall 205 Project 2: Memory Design

More information