a. Using Genetic algorithm Maximize f(x) = 2x-3x over {0, 1, 2...31) with initial x values...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a. Using Genetic algorithm Maximize f(x) = 2x²-3x over {0, 1, 2...31) with initial x values of (14, 26, 9, 18), show the one crossover and mutation operation. b. Cluster the following eight points (with (x, y) representing locations) into three clusters: A1(2, 10), A2(2, 5), A3(8, 4), A4(5, 8), A5(7, 5), A6(6, 4), A7(1, 2), A8(4, 9) Initial cluster centers are: A1(2, 10), A4(5, 8) and A7(1, 2). The distance function between two points a = (x1, y1) and b = (x2, y2) is defined as lesbizor! P(a, b)=x2-x11+ y2-yll Use K-Means Algorithm to find the three cluster centers after the second iteration. a. Using Genetic algorithm Maximize f(x) = 2x²-3x over {0, 1, 2...31) with initial x values of (14, 26, 9, 18), show the one crossover and mutation operation. b. Cluster the following eight points (with (x, y) representing locations) into three clusters: A1(2, 10), A2(2, 5), A3(8, 4), A4(5, 8), A5(7, 5), A6(6, 4), A7(1, 2), A8(4, 9) Initial cluster centers are: A1(2, 10), A4(5, 8) and A7(1, 2). The distance function between two points a = (x1, y1) and b = (x2, y2) is defined as lesbizor! P(a, b)=x2-x11+ y2-yll Use K-Means Algorithm to find the three cluster centers after the second iteration.
Expert Answer:
Answer rating: 100% (QA)
Problem a Using Genetic Algorithm to Maximize fx 2x2 3x Steps Representation Encode the potential solutions x values as binary strings of length 5 sin... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
What types of costs should be considered in deriving the economic order quantity?
-
1. Find a and b when the graph of y = ax2 + bx3 is symmetric with respect to (a) the y-axis and (b) the origin. (There are many correct answers.)
-
On June 1, 2022, Oakcrest Company signed a three-year $110,000 note payable with 9 percent interest. Interest is due on June 1 of each year beginning in 2023. What amount of interest expense should...
-
If the magnitude of the magnetic field in Figure P29.40 changes with time as \(B=B_{\max } \sin (\omega t)\), calculate the magnitude of the electric field that accompanies this changing magnetic...
-
Ratio Computations and Discussion Costner Company has been operating for several years, and on December 31, 2010, presented the following balance sheet. The net income for 2010 was $25,000. Assume...
-
6. To a ground observer the block C is moving with v, and the block A with v. B is moving with v relative to C as shown in the figure. Identify the correct statement. (a) V-V =Vo (b)= A C B (c) V+V =...
-
Consider the Everglade cash flow problem discussed in this chapter. Suppose that extra cash is kept in an interest-bearing savings account. Assume that any cash left at the end of a year earns 3...
-
The space Q of rational numbers is a). compact b). connected or c). simply connected
-
Utilizing the business or mock scenario you chose for Assignment 1, you'll now apply the knowledge you've gained about Google Ads to create a mock campaign on the platform. Instructions: Goals:...
-
Describe a product (besides gasoline) you think might have inelastic demand, meaning that a increase in price would increase revenue. Explain your choice
-
What were the key objectives that Basel Committee for banking Supervision was designed to address?How did they go about achieving such objectives? b. What key problems were identified with Basel II?...
-
A used sports car was purchased for $29,000 that is solely for personal use. A new van designed to carry animals was purchased for $80,000 and will be used primarily for business use. The seating...
-
Dodd-Frank Act was put into place to change the way big banks were doing business. So, what is going on with the Dodd-Frank Act today (present)?
-
The following information is available for Lock-Tite Company, which produces special-order security products and uses a job order costing system. April 30 May 31 Inventories Raw materials Work in...
-
Identify one local business that uses a perpetual inventory system and another that uses a periodic system. Interview an individual in each organization who is familiar with the inventory system and...
-
Frank, age 35, and Joyce, age 34, are married and file a joint income tax return for 2012. Their salaries for the year total $83,000 and they have taxable interest income of $4,000. They have no...
-
Walter, a single taxpayer, purchased a limited partnership interest in a tax shelter in 1985. He also acquired a rental house in 2012, which he actively manages. During 2012, Walter's share of the...
-
Ray and Maria Gomez have been married 3 years. They live at 1610 Quince Ave., McAllen, TX 78701. Ray works for Palm Oil Corporation and Maria works for the City of McAllen. Maria's Social Security...
-
In mice, the copy of the Igf 2 gene that is inherited from the mother is never expressed in her offspring. This happens because the Igf 2 gene from the mother a. always undergoes a mutation that...
-
A person with type AB blood has a child with a person with type O blood. What are the possible blood types of the child? a. A or B b. A, B, or O c. A, B, AB, or O d. O only
-
Extranuclear inheritance occurs due to a. chromosomes that have become detached from the spindle apparatus during meiosis. b. genetic material that is found in chloroplasts and mitochondria. c....
Study smarter with the SolutionInn App