Chin-Shiuh Shieh Assignment 3.1, 文鶑 1.  Maximize F 1 (x,y) Assignment - 20142 Requirement: Find maximize value of F 1 (x,y) used hill-climbing (gradient-ascent)

Slides:



Advertisements
Similar presentations
Chapter 10 C Structures, Unions, Bit Manipulations, and Enumerations.
Advertisements

Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 14.
The Greedy Method1. 2 Outline and Reading The Greedy Method Technique (§5.1) Fractional Knapsack Problem (§5.1.1) Task Scheduling (§5.1.2) Minimum Spanning.
STRATEGI PENCARIAN DENGAN INFORMASI (INFORMED SEARCH STRATEGY)
CFU REU: Week 1 Lam Tran. Brief Introduction Home town: San Diego, CA University of Rochester, Rochester, NY – Class 2009 – Research Interest: Probability.
Banner in the Sky Vocabulary Chapter 5. Ascent describes a movement in a certain direction. Do you think it means a movement up or down? Ascent.
PROFESSOR GOODCHILD CEE 587 APRIL 15, 2009 Basic Optimization.
Chapter 14 – Partial Derivatives
Optimization via Search CPSC 315 – Programming Studio Spring 2009 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
Learning in Games. Fictitious Play Notation! For n Players we have: n Finite Player’s Strategies Spaces S 1, S 2, …, S n n Opponent’s Strategies Spaces.
Iterative Improvement Algorithms
Please make your selection... 1.Choice One 2.Choice Two 3.Choice Three.
Lecture 17 Today: Start Chapter 9 Next day: More of Chapter 9.
 There are 3 things that you can do right after you get home today:  Read a book  Homework  Take a nap  Next to each one, assign a value from 0-10.
Optimization via Search CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
10-Zone Model This model creates 10 geographic zones across the city to maximize access to quality and socio-economic diversity Families get to choose.
My College Choice By: Jon Ford Alabama A & M University.
Medial Axis Extraction of 3D Objects Through Radial Basis Functions Ming Ouhyoung, Professor Communication and Multimedia Lab Dept. of CSIE, National Taiwan.
Aim: What is Gradient? 99m 10m
Lecture 18 Today: More Chapter 9 Next day: Finish Chapter 9.
Better Word Choice Improving Word Choice. Word Choice Ellen’s Word Game Ellen's Sample.
DENCLUE 2.0: Fast Clustering based on Kernel Density Estimation Alexander Hinneburg Martin-Luther-University Halle-Wittenberg, Germany Hans-Henning Gabriel.
3.2: Slope How steep?. Slope is the measure of steepness. Some hillsides are not steep. They are easy to climb. They have a small slope.
X = 2 + t y = t t = x – 2 t = (y + 3)/2 x – 2 = y x – 4 = y + 3 y – 2x + 7 = 0 Finding the Cartesian Equation from a vector equation x = 2.
Ch. Eick: Randomized Hill Climbing Techniques Randomized Hill Climbing Neighborhood Hill Climbing: Sample p points randomly in the neighborhood of the.
Lecture 4 Chapter 3 Improving Search
Approximating Maximum Satisfaction in Group Formation Sean Munson, Grant Hutchins Discrete Math, Olin College 14 December 2004.
Climb the hill climbing the hill build a house building a house play football playing football play basketball playing the basketball.
Naive Bayes (Generative Classifier) vs. Logistic Regression (Discriminative Classifier) Minkyoung Kim.
ECO 365 Week 4 Individual Differentiating Between Market Structures For this assignment, you will choose from the following options: o Option 1: Differentiating.
Nursing homework help BEST ASSIGNMENT.

Optimization via Search
智慧電子應用設計導論(1/3) Introduction
Heuristic Optimization Methods Optimization as Search
微算機原理/ 微算機實習 Chin-Shiuh Shieh
Pink Purple Blue Green Yellow Orange Red Dear Families,
CS 460 Spring 2011 Lecture 4.
ASSIGNMENT NO.-2.
BUS 411 DAY 17.
Coordinate Geometry Read TOK p. 376
السيولة والربحية أدوات الرقابة المالية الوظيفة المالية
1. Randomized Hill Climbing
Hill-climbing Search Goal: Optimizing an objective function.
CSE 4705 Artificial Intelligence
Gradient Type 1 Gradient stops: 5 Stop #: 1 Position: 0
Chapter R A Review of Basic Concepts and Skills
Copyright ©2014 The McGraw-Hill Companies, Inc
Assignment Pages: 10 – 12 (Day 1) Questions over Assignment? # 1 – 4
Chapter R.2 A Review of Basic Concepts and Skills
Logistic Regression.
Revolutionary War Battle Mini-Posters
More on Search: A* and Optimization
Approaches to search Simple search Heuristic search Genetic search
Lecture 9 Administration Heuristic search, continued
智慧電子應用設計導論(1/3) Arduino
Gradient test © T Madas.
Heuristic Optimization Methods Prologue
Progressive Deepening
Heuristic Optimization Methods Calculus and Optimization
© T Madas.
Hill Cipher The Hill Cipher uses matrix multiplication to encrypt a message. First, you need to assign two numbers to each letter in the alphabet and also.
ECO 365T MART Dreams Come True / eco365mart.com.
ECON 545 TUTOR Dreams Come True / econ545tutor.com.
What is the maximum elevation of the hill on west side of island?
7-2 Two Proof Oriented Triangle Theorems
This is Baldwin Street in Dunedin. Why is it famous?
Approximating Maximum Satisfaction in Group Formation
Probabilistic Surrogate Models
ECO/561T ECONOMICS ECO/561T ECONOMICS The Latest Version A+ Study Guide All Apply and Practice
Presentation transcript:

Chin-Shiuh Shieh Assignment 3.1, 文鶑 1

 Maximize F 1 (x,y) Assignment Requirement: Find maximize value of F 1 (x,y) used hill-climbing (gradient-ascent) method.

Step1: Initialize a value for: (x,y) (Choice one point:-5≤x,y<5) Example: x0 = 1; y0 = 1; Assignment

 4

 If initialize value (x0,y0) is good, we can find global value. If not we can be trapped in local optima  The number of steps are change around: 100 Assignment

 We initialize many points of (x0,y0) and used For loop to find optima value with each point. And then compare this to choice the best optima. Assignment

 The optimize when we you many initialize points (For loop) seem better than when we only used one point in some cases. But the number of steps size will be increase linear with number of initialize points.  Example: The number of steps size with 10 initialize points are change around: 1000 Assignment

 8

9

 10

 But when we used Hill-climbing on this, some time I receive local optimize, some time is a strange value, have something are wrong in here? What happening?  I will point to you a case that we can’t find the optimize value if we only used Hill-climbing method. Assignment

Now, you are standing in point a. You used Hill- climbing and you receive point a’. But it isn’t a optimize value in this location because the peak of mountains isn’t exit (out of range), and you are strapped on back of the mountains. Assignment

 We find maximum value of F(x,y) when (x,y) in line: y=-5*x/3 + 5  I replace y=-5*x/3 + 5 in function F(x,y). And then we can used For loop or Hill-Climbing to find this.  In here I used For loop with step size: You can use Hill-Climbing to replace the For Loop to have better result. Assignment

 After that we compare maximum value in case 1 and case 2 to find exactly global value  And we find out the optimize value is point b: Max =  (x0, y0)=  Steps: 2009 Assignment

No. Optimize value in Case1 (-5<x<3;-5<y<5 and y<-5*x/3 + 5 ) Optimize value in Case2 (y=-5*x/3 + 5) Global optimize Total numbe r steps 1 Max = (x0, y0)= Steps: 730 Max = (x0, y0)= Steps: 301 Max = (x0, y0)= Steps: Max = (x0, y0)= Steps: 1794 Max = (x0, y0)= ­­­.9000 Steps: 301 Max = (x0, y0)= Steps: Max = (x0, y0)= Steps: 556 Max = (x0, y0)= Steps: 301 Max = (x0, y0)= Steps: Max = (x0, y0)= Steps: 1708 Max = (x0, y0)= Steps: 301 Max = (x0, y0)= Steps: Assignment

16