Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFuzzy methods throw warnings about data range #498
Comments
|
I can make a change to the code such that, if you pass This probably affects other models too. |
|
Can you test these on your data? |
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
$fitfromgetModelInfo("FRBCS.W")I spotted the following code:Using the
frbs.learnfunction directly allowsrange.datato be passed as a parameter. A possible solution would berange.datato 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: