What is meant by relation in "current relation block", is it name of the .arff file ?

80 views
Skip to first unread message

Kumar Chinnakali

unread,
Jul 1, 2014, 1:34:33 AM7/1/14
to wekamooc...@googlegroups.com
Team,

Under Current relation, in Weka Explorer Applications. 
we are getting Relation: weather.symbolic, when if open weather.nominal data set. If we open the other data set called weather.numeric we are only getting just the weather as relation.

Best,

Kumar Chinnakali

Gabriel Santos

unread,
Jul 1, 2014, 2:54:10 AM7/1/14
to wekamooc...@googlegroups.com
Hi Kumar,

The text after the Relation identifies the name of the dataset.

If you open the weather.nominal.arff or the weather.numeric.arff (n.b. arff file is just a plaintext file) you will find an entry saying
@relation XXX
where the XXX is a descriptive name of the dataset.

You can try the following:
 - Make a copy of weather.nominal.arff (or any other arff file you like);
 - Open it with a text editor
 - Replace the text "weather.symbolic" with "ABC"
 - Save the arff file
 - Open the copy with Weka

You will see the name ABC appears after the "Relation:"

BR,
Gabriel Santos
Community TA

Kumar Chinnakali

unread,
Jul 1, 2014, 3:12:38 PM7/1/14
to wekamooc...@googlegroups.com
Hi Gabriel,

Thank you very much got it, it's basically from the header of the file, not from the name of the file. Hope my understanding is correct and also i tried few renames, it's works the same way what you said. 

Yours in learning,

+kumarchinnakali

Gabriel Santos

unread,
Jul 1, 2014, 9:20:38 PM7/1/14
to wekamooc...@googlegroups.com
Hi Kumar,

Your understanding is totally correct.
You are doing well!


BR,
Gabriel Santos
Community TA


Reply all
Reply to author
Forward
0 new messages