You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using your package and it's been blowing my mind. It's really powerful stuff.
I do have a question on the possibility of removing or blacklisting functions that have already been used OR disallowing creating expressions that will return NAs.
When I use the function GrammaticalEvolution it often generates identical expressions. I understand why this happens and that these functions are technically not identical. However, I'm wondering if there is a parameter I can tweak or if my grammarDef could be improved to prevent identical functions. Possibly disallow function combinations that results in an error (sqrt(-1), Log(-1), etc..) Also, in my eval function (SSE) if NAs are produced it returns Inf. This might also be a weakness so any recommendations would be helpful.
If you need anything else from me please let me know. I appreciate your time!
warnings()
Warning messages:
1: In log(log(data$y)) : NaNs produced
...
14: In log(log(data$y)) : NaNs produced
15: In log(log(data$y)) : NaNs produced
...
38: In log(log(data$y)) : NaNs produced
39: In log(log(data$y)) : NaNs produced
40: In log(log(data$y)) : NaNs produced
...
Here's my grammarDef from my wrapper function below:
Hi,
I have been using your package and it's been blowing my mind. It's really powerful stuff.
I do have a question on the possibility of removing or blacklisting functions that have already been used OR disallowing creating expressions that will return NAs.
When I use the function GrammaticalEvolution it often generates identical expressions. I understand why this happens and that these functions are technically not identical. However, I'm wondering if there is a parameter I can tweak or if my grammarDef could be improved to prevent identical functions. Possibly disallow function combinations that results in an error (sqrt(-1), Log(-1), etc..) Also, in my eval function (SSE) if NAs are produced it returns Inf. This might also be a weakness so any recommendations would be helpful.
If you need anything else from me please let me know. I appreciate your time!
Here's my grammarDef from my wrapper function below:
Here's my example data definition. It's a simple function for demo purposes.:
Here's my grammar definition and wrapper function:
The text was updated successfully, but these errors were encountered: