# hw10 - HW#10 Solutions 2010 Points possible 20 Problem 1...

This preview shows pages 1–3. Sign up to view the full content.

HW#10 Solutions 2010 Points possible: 20 Problem 1: DES (not graded) The derivation of this equation is as follows: Problem 2: Symbolic Regression (not graded) (a) The parse tree can be represented mathematically as follows: Performing simple algebra, you can show that this is indeed (b) Yes. The bottom of the parse tree (shown below) can be replaced by defining a constant ‘1’ in the terminal set.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
HW#10 Solutions 2010 Problem 3: Using Genetic Programming Software (10 points) (a) (1 points) Tableau for Symbolic Regression of X 2 /2+2X+2 Objective: Find a function of one independent variable, a constant, 2, and one dependent variable, in symbolic form, that fits a given sample of 21 (x i , y i ) data points, where the target function is the quadratic polynomial X 2 /2+2X+2 Terminal set: X, constant 2 Function set: Addition (+), subtraction (-), multiplication(*), protected division(%) Fitness cases: The given sample of 21 data points(x i , y i ), where the x i come from the interval [-1,1] Raw fitness: The sum of the absolute difference between the expected output value and the value returned by the individual on all fitness cases Standardized fitness: Equals raw fitness for this problem Hits: Number of fitness cases for which the individual produces results within minus or plus 0.1% of the expected results (This does not have to be defined for those who do not define a success predicate) Wrapper: None Parameters: M = 1000, G = 151, ( Can be different) Success predicate: Hits in 99% of the fitness cases (stop condition: the best-of-generation individual produces results within minus or plus 0.1% of the expected results in 99% of the fitness cases)
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern