ShuhuaGao / geppy

A framework for gene expression programming (an evolutionary algorithm) in Python
https://geppy.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
207 stars 76 forks source link

Input contains NaN, infinity or a value too large for dtype('float64'). #22

Closed xinyu-2020 closed 4 years ago

xinyu-2020 commented 4 years ago

When running the example of GEP_RNC_for_ML_with_UCI_Power_Plant_dataset, I add a symbolic function. pset.add_function(operator.pow, 2) But GEPPY give me that: ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

xinyu-2020 commented 4 years ago

Please give me some advice on how to overcome this issue. Thank you, Xin Yu