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
Every fuzzy method I've tried has thrown lots of the following warning: There are your newdata which are out of the specified range. By chance I found a day-old stackexchange post about this problem. The problem appears to be that when range.data is calculated and cross validation is used new data from different folds can fall outside the precalculated range.
When checking the output of $fit from getModelInfo("FRBCS.W") I spotted the following code:
args$range.data<- apply(x, 2, extendrange)
Using the frbs.learn function directly allows range.data to be passed as a parameter. A possible solution would be range.data to be a parameter for train. This way a user could calculate the range.data from the entire dataset, as suggested in the stackexchange post. Below is an MRE.
Hello,
Every fuzzy method I've tried has thrown lots of the following warning:
There are your newdata which are out of the specified range
. By chance I found a day-old stackexchange post about this problem. The problem appears to be that when range.data is calculated and cross validation is used new data from different folds can fall outside the precalculated range.When checking the output of
$fit
fromgetModelInfo("FRBCS.W")
I spotted the following code:Using the
frbs.learn
function directly allowsrange.data
to be passed as a parameter. A possible solution would berange.data
to be a parameter fortrain
. This way a user could calculate the range.data from the entire dataset, as suggested in the stackexchange post. Below is an MRE.Thanks!
Minimal, reproducible example:
Minimal dataset:
Minimal, runnable code:
Session Info:
The text was updated successfully, but these errors were encountered: