Weka
Many of the fuzzy-rough feature selection measures have been ported to Weka – the latest standalone program (i.e. the runnable jar) is here, updated June 2023. (Old version Feb 2021 is here.) This includes several non-parametric statistical tests in the Experimenter: Mann-Whitney U test, Wilcoxon signed ranks test, and Friedman test with Holm’s post hoc procedure.
If you want to process larger datasets, then you’ll need to change the Java heap size. An easy way of doing this is to put this file: run.bat in the same directory as Weka (above) and double-click it. You can edit this file to increase or decrease the heap size.
Many of the algorithms can be found in KEEL and some have also been ported to Python and R.
A worksheet that explains how to use Weka and several of the implemented fuzzy-rough algorithms can be found here.
FuzzyRoughSubsetEval contains various measures and the option of selecting connectives, similarity measures etc. HillClimber is similar to Weka’s Greedy Stepwise search, but allows search to a degree alpha (for alpha-decision reducts) and search using non-monotonic measures (such as VQRS). AntSearch implements ACO-based search and includes the option of using any subset evaluator for the initial heuristic matrix and subset evaluation. PSOSearch implements search based on binary particle swarm optimization.
In the Classifiers section, there is now a range of fuzzy-rough classifiers including fuzzy-rough nearest neighbours and QuickRules. There are also several filters for fuzzy-rough instance selection.
It is really a commendable work. I really like people contributing their algos to WEKA. In no time Weka will emerge has a standard platform for data mining.
Hi,
Thank you very much for sharing your knowledge about using FuzzyRough data mining with Weka! I have downloaded Weka from http://www.cs.waikato.ac.nz/ml/weka/index_downloading.html
for my macbook but I couldn’t find FuzzyRoughSubsetEval when I want to choose “attribute evaluator”! what should I do to have this?
Hi Sara
You need to download the version of Weka from my webpage (here’s a direct link: https://dl.dropboxusercontent.com/u/2043486/weka.jar). I haven’t had time to make this a plugin yet for the original version.
I could download. But i am not getting the icon to run. How to do that?. Can you explain please.
Hi sarojini
Try downloading the program from here:
https://dl.dropboxusercontent.com/u/2043486/weka.jar
and then double-clicking on the icon
I was looking for something which can be used on macbook! anyway your version beautifully functioned on my pc! thanks again 🙂
Still i am not getting the icon (crow image). I can’t run the program. Could you please help me.
Can you run the ordinary Weka program? (http://www.cs.waikato.ac.nz/ml/weka/downloading.html)
Also, what version of Java do you have?
Yes. I could install and run weka 3.7.2. Java version is 1.7
Can you give me any more information about the problem – i.e. do you get an error message?
Alternatively, you can try running the program via a script such as this:
https://dl.dropboxusercontent.com/u/2043486/run.bat
Put this file in the same directory as Weka and try double-clicking run.bat.
I have put the batch file in the same directory where i have downloaded weka. When I double clicked batch file, a blinking black screen appeared and disappeared.
Sorry, then, I don’t know what the problem is. If other executable jar files work then I’m not sure what’s going wrong. If other executables don’t work then you could try reinstalling the JRE.
Hi
How should I add and write a program in weka? for example use weka in netbean
I want to mix genetic algorithm and Iaco as feature selection and add it to weka
Do you have a refrence to propose me?
thanks
You can follow the instructions here:
http://weka.wikispaces.com/Netbeans+6.0+(weka-src.jar)
thanks a lot
but I can’t open the page ,you put it’s link.
I don’t know what should I do?
I used your weka.jar file. if I take the text file other than english there is not having any option for utf8 as in the original weka have. could you tell me how I used utf8 in your WEKA jar file
Have you tried this:
http://weka.wikispaces.com/Can+I+process+UTF-8+datasets+or+files%3F
I used GUI based original WEKA in that I used TextDirectoryLoader. here I am getting four option namely CharSet, debug, directory, outputfile name. but in your weka jar file charset missing. therefore I am unable to do any operation on non english text. please suggest option in your weka jar file ( GUI based)
That’s strange – I’ve downloaded my Weka version again and checked this, and charSet is available.
Could you try downloading my version again (here: https://dl.dropboxusercontent.com/u/2043486/weka.jar) and see if the option is still not available?
Thanks
Thank you very much I got the option. Once again thank you
hello sir,
i have working in weka version 3.7.2
i do PSOsearch…
i need to setup fitness function…how to setup fitness function in weka?
thank lot sir
i already open in java code..can you guide me to change the fitness function value code? thanks in advance
Thank you so much for your site, it has really been helpful to me. I am using the WEKA version of your tool. In WEKA filters, and supervised instances, you have a number of filters for preprocessing, i was wondering if you have written anything about the following filters;
a)MinorityObjectGenerator
b)StratifiedRemoveFolds
c)SMOTE
or if you can give me links to where i can learn about how they work theoritically .
Kind Regards,
Dear Dr. Jenson,
This query is related to the rough fuzzy based WEKA tool available from your website (http://users.aber.ac.uk/rkj/?page_id=139) and working with noisy data. You have added two filter to add noise to a dataset. Would it be possible to provide some more details (or even the publications discussing the details of these two noises)) about both ” weka.filters.unsupervised.attribute.AddConditionalNoise” and “weka.filters.supervised.attribute.AddClassNoise”
thanks,
how to convert excel files to arff
If you save it as CSV you can then import this into Weka. Alternatively, there are some online tools for this.
Hi admin I did all things that said here to run the fuzzy rough set reduction but I don’t have that option on my weak?
please help me I need it in an emergency.
thanks
Thanks Mr.Jensen, I really don’t know much about data and weka. And your folk version is really help me.
Best wishes for you.