How can I force WEKA to find associative rules for a specific attribute only?

964 views
Skip to first unread message

Arash Haydaryan

unread,
Aug 6, 2014, 9:11:09 PM8/6/14
to wekamooc...@googlegroups.com
Hi, 
In my arff dataset, I have 4 attributes, say, humidity, weather, wind, temperature. How can I find associative rules only for temperature? 
Thanks

dk.benavides20

unread,
Aug 6, 2014, 10:12:01 PM8/6/14
to wekamooc...@googlegroups.com
Hi Arash, 

You should use Classification Association Rules (CAR) technique. In Weka Explorer, you can use Apriori algorithm in Association panel, by establishing the first option car = True. The second option classIndex allows you to specify the index of your class attribute. Also remember that, for ussing association rules or CAR, your attributes should be categorical...

For theory about CAR, you could read this paper: 


Best regards, 

Diana.

Gabriel Santos

unread,
Aug 6, 2014, 11:15:15 PM8/6/14
to wekamooc...@googlegroups.com
Hi Arash,

Association Rules will be covered in "More Data Mining with Weka" Week 3.

BR,
Gabriel Santos
Macau
Community TA

Arash Haydaryan

unread,
Aug 7, 2014, 6:41:54 AM8/7/14
to wekamooc...@googlegroups.com
Thanks Diana, Thank you Gabriel , I need this info urgently. Im wondering if there is any way to find the associative rules only between 2 or 3 specific attributes ? 


--
You received this message because you are subscribed to a topic in the Google Groups "WekaMOOC-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wekamooc-general/IvUGukH_BF4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wekamooc-gener...@googlegroups.com.
To post to this group, send email to wekamooc...@googlegroups.com.
Visit this group at http://groups.google.com/group/wekamooc-general.
To view this discussion on the web, visit https://groups.google.com/d/msgid/wekamooc-general/cea23e8a-a0da-46e3-88ac-a8e56428ff8c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Arash Heidarian
Software Engineer and Software Architect 

Gabriel Santos

unread,
Aug 7, 2014, 6:50:19 AM8/7/14
to wekamooc...@googlegroups.com
Hi Arash,

The easiest way to solve your urgent matter can be:

- Make a copy of you dataset
- Open it in Preprocess
- Click the Invert button
- Unselect those attributes you want for analysis
- Click the Remove button
- Perform the analysis

Arash Haydaryan

unread,
Aug 10, 2014, 5:59:52 AM8/10/14
to wekamooc...@googlegroups.com
Thank you very much Gabriel 


--
You received this message because you are subscribed to a topic in the Google Groups "WekaMOOC-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wekamooc-general/IvUGukH_BF4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wekamooc-gener...@googlegroups.com.
To post to this group, send email to wekamooc...@googlegroups.com.
Visit this group at http://groups.google.com/group/wekamooc-general.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages