...
The best filter/classifier setup can be accessed after the buildClassifier call via the getBestFilter/getBestClassifier methods.
Note on the implementation: after the data has been passed through the filter, a default NumericCleaner filter is applied to the data in order to avoid numbers that are getting too small and might produce NaNs in other schemes.
Available in Weka 3.6.x - 3.7.1. Available via the package management system for Weka >= 3.7.2 (gridSearch).
Options
The table below describes the options available for GridSearch.
...