Re: Problem with WEKA

Michael Hall <[email protected]> Thu, 20 Oct 2022 23:57:23 -0500
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>

> On Oct 20, 2022, at 7:58 PM, [email protected] wrote:
> 
> Simply i want to use two files (training and testing) for classification, but how to open both of them and then select same features from both while they are opened in WEKA. I have never used programming with WEKA.
> 

Assuming you start with two physically separate training and test datasets. 

You would need to with Weka Explorer for each one. First for the training dataset.
Open file…
Make your changes.
> I can open the training and check unwanted features and press remove, but the problem is when i choose "supplied test set" under "Test option" , 
Then save the changed dataset back to disk with…
Save…

Repeat this for the test dataset. You might want to keep the originals as they are and save the modified under different names in case you want to try different changes later.

If you start with one dataset that you are then splitting into training and test yourself you could instead not physically split and instead use the Filter approach Peter is suggesting without physically saving the changes and then do a Percentage split on the Classify panel with all the data having had the same changes applied. 
. 
Viewing the MOOC’s as Peter mentioned would walk you through this and more.


_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html