ec.app.regression
Class Sextic
- java.lang.Object
-
- ec.Problem
-
- ec.gp.GPProblem
-
- ec.app.regression.Regression
-
- ec.app.regression.Sextic
-
- All Implemented Interfaces:
- Prototype, Setup, SimpleProblemForm, java.io.Serializable, java.lang.Cloneable
public class Sextic extends Regression
Sextic implements a Symbolic Regression problem.The equation to be regressed is y = x^6 - 2x^4 + x^2, {x in [-1,1]}
This equation was introduced in J. R. Koza, GP II, 1994.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ec.app.regression.Regression
currentValue, inputs, outputs, P_FILE, P_SIZE, P_USE_FUNCTION, trainingSetSize, useFunction
-
-
Constructor Summary
Constructors Constructor and Description Sextic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublefunc(double x)-
Methods inherited from class ec.app.regression.Regression
evaluate, setup
-
Methods inherited from class ec.gp.GPProblem
clone, defaultBase
-
Methods inherited from class ec.Problem
canEvaluate, closeContacts, describe, describe, finishEvaluating, initializeContacts, prepareToEvaluate, reinitializeContacts
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ec.simple.SimpleProblemForm
describe
-
-
-
-
Method Detail
-
func
public double func(double x)
- Overrides:
funcin classRegression
-
-
DMelt 3.0 © DataMelt by jWork.ORG