onegpy.problems.arithmetic.Cos2XProblem

class onegpy.problems.arithmetic.Cos2XProblem(n_data, function_bank_builder=None)[source]

Cos2X problem class

__init__(n_data, function_bank_builder=None)[source]
Parameters:
  • n_data – the number of training data
  • function_bank_builder – function. a builder function for function bank.

Methods

__init__(n_data[, function_bank_builder])
param n_data:the number of training data
fitness(target_solution_or_solutions) calculate the fitness of target solution(s) :param target_solution_or_solutions: solution object or list of solution objects.
get_elite_fitness()
get_eval_count()
get_hitcounter(target_solution, t)