Module evalfitness
source code
evalfitness
Contains methods to evaluate the fitness of a tree.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Author:
by Mehdi Khoury
Version:
1.20
Copyright:
(c) 2009 Mehdi Khoury under the mit license
http://www.opensource.org/licenses/mit-license.html
Contact:
mehdi.khoury at gmail.com
EvalTreeForOneInputSet(myTree,
input_set_ref)
| source code
|
Function: EvalTreeForOneInputSet
Function used to evaluate a tree by pluggin in one set of values
(one learning example)
- Parameters:
myTree - the nested list representing a tree
input_set_ref - the set of values to plug into the tree
- Returns:
- the fitness of the tree for this set of values
|
Function: EvalTreeForOneInputSet
Function used to evaluate a tree by pluggin in one list of values
(one list of data points)
- Parameters:
myTree - the nested list representing a tree
- Returns:
- the fitness of the tree for this set of values
|
EvalTreeForOneListInputSet_tutorial8(myTree)
| source code
|
Function: EvalTreeForOneInputSet2
Function used to evaluate a tree by pluggin in one list of values
(one list of data points)
- Parameters:
myTree - the nested list representing a tree
- Returns:
- the fitness of the tree for this set of values
|
EvalTreeForOneListInputSet_tutorial9(myTree)
| source code
|
Function: EvalTreeForOneInputSet2
Function used to evaluate a tree by pluggin in one list of values
(one list of data points)
- Parameters:
myTree - the nested list representing a tree
- Returns:
- the fitness of the tree for this set of values
|
EvalTreeForAllInputSets(myTree,
input_sets)
| source code
|
Function: EvalTreeForAllInputSets
Function used to evaluate a tree by pluggin in several sets of
values
- Parameters:
myTree - the nested list representing a tree
input_sets - the set of values to plug into the tree
- Returns:
- the fitnesses of the tree over several sets of values
|
Function: FinalFitness
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|
Function: FinalFitness2
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|
Function: FinalFitness3
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|
Function: FinalFitness3
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|
FinalFitness_tutorial8(intermediate_outputs)
| source code
|
Function: FinalFitness3
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|
FinalFitness_tutorial9(intermediate_outputs)
| source code
|
Function: FinalFitness3
Compute global fitness of an individual. Intended when wanting to
refine the fitness score.
- Parameters:
intermediate_outputs - the fitnesses of the tree over several sets of values
- Returns:
- global fitness
|