Lesson 4.3 Activity - Data Mining with WEKA course

61 views
Skip to first unread message

Aparna Mahadev

unread,
Aug 11, 2016, 1:46:26 PM8/11/16
to WekaMOOC-general
I don't seem to get how to use valueindices to do the following: (Question 5)
... investigate the effect of the filter's valueIndices parameter. Use it to make a class value that is 1 only for Iris-versicolors. Run LinearRegression again, with the same settings.
Any help would be appreciated.  Thanks

Peter Reutemann

unread,
Aug 11, 2016, 5:02:16 PM8/11/16
to WekaMOOC
> I don't seem to get how to use valueindices to do the following: (Question
> 5)
> ... investigate the effect of the filter's valueIndices parameter. Use it to
> make a class value that is 1 only for Iris-versicolors. Run LinearRegression
> again, with the same settings.

"A filter that creates a new dataset with a boolean attribute
replacing a nominal attribute. In the new dataset, a value of 1 is
assigned to an instance that exhibits a particular range of attribute
values, a 0 to an instance that doesn't. The boolean attribute is
coded as numeric by default."

What is the label index of the Irisi-versicolor label?

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Mahadev, Aparna

unread,
Aug 16, 2016, 11:01:25 AM8/16/16
to wekamooc...@googlegroups.com
Hi Peter:
I am doing the second course and I just took the midterm assessment - already submitted the answers but I need answer with explanation on the following question.  I am teaching Data Mining in the Fall 2016 semester, and I would like a clear explanation so I can understand the concepts enough to explain to my students.  This is the only question I got wrong.

Thanks in advance.  

Consider the following filtering configurations: 

supervised discretization combined with the filtered classifier

supervised discretization without the filtered classifier

equal-width discretization (10 bins) combined with the filtered classifier

equal-width discretization (10 bins) without the filtered classifier

equal-frequency discretization (10 bins) combined with the filtered classifier

equal-frequency discretization (10 bins) without the filtered classifier

Suppose you were to use each configuration on a particular dataset with a particular classifier, evaluated with cross-validation in the usual way. Which of the following best describes the performance you would expect? (> denotes better performance, ≈ denotes about the same, = denotes exactly the same).

 a ≈ b > c ≈ d > e ≈ f
 a ≈ b > e ≈ f > c ≈ d
 a > b > c = d > e ≈ f
 b > a > e ≈ f > c = d
 a = b > c = d > e ≈ f



--
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/TlDdm4WUviU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wekamooc-general+unsubscribe@googlegroups.com.
To post to this group, send an email to wekamooc-general@googlegroups.com.
Visit this group at https://groups.google.com/group/wekamooc-general.
To view this discussion on the web, visit https://groups.google.com/d/msgid/wekamooc-general/CAHoQ12%2BUC-gfJaOFUgPD8GT6JOBH6RDn4GRozZkktKr1zx1Grg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Dr. Aparna Mahadev
Professor, Computer Science Department
Worcester State University
486 Chandler Street, Worcester, MA 01602
508-929-8715
508-929-8156 (Fax)

Peter Reutemann

unread,
Aug 16, 2016, 2:58:43 PM8/16/16
to WekaMOOC

Answering the question of an exam in a public forum defeats the purpose of an exam, don't you think?

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz

You received this message because you are subscribed to the Google Groups "WekaMOOC-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wekamooc-general+unsubscribe@googlegroups.com.
To post to this group, send email to wekamooc-general@googlegroups.com.

Mahadev, Aparna

unread,
Aug 16, 2016, 3:00:55 PM8/16/16
to wekamooc...@googlegroups.com

I didn't post it in the public forum at all.  I thought I was sending you a personal email. 


To post to this group, send email to wekamooc-general@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages