Friday, October 31, 2003
Dear Dr.Madigan,
You had mentioned that if we have any ideas for the 5-6PM hour we should mention that.I was wondering regarding the same that the lecture you gave on Graphical Markov models was very interesting, if you can take time to give some examples of that or some related material in that hour, it might be very useful.
Thanks.
Good idea! D.
You had mentioned that if we have any ideas for the 5-6PM hour we should mention that.I was wondering regarding the same that the lecture you gave on Graphical Markov models was very interesting, if you can take time to give some examples of that or some related material in that hour, it might be very useful.
Thanks.
Good idea! D.
Wednesday, October 29, 2003
Dear Professor,
Can we get a sample from previous exams or back of the book so that we know what type of questions might be asked in the exam.Since we have to concentrate basically on what is taught in class but the books deals with a lot more.So if we get a sample it would be easier to know hot to prepare from the book.
Thanks a lot.
I'm still a little unsure about the utility of a final exam. I'm interested in people's opinions on this. I could base the grade entirely on the project and skip the final exam. Do you think this is a good idea or not? D.
Can we get a sample from previous exams or back of the book so that we know what type of questions might be asked in the exam.Since we have to concentrate basically on what is taught in class but the books deals with a lot more.So if we get a sample it would be easier to know hot to prepare from the book.
Thanks a lot.
I'm still a little unsure about the utility of a final exam. I'm interested in people's opinions on this. I could base the grade entirely on the project and skip the final exam. Do you think this is a good idea or not? D.
Monday, October 27, 2003
Professor Madigan,
Are we having the 5PM PDL Class on Tuesday the 28th?
Thanks.
We are going to talk about projects today at 5pm. D.
Are we having the 5PM PDL Class on Tuesday the 28th?
Thanks.
We are going to talk about projects today at 5pm. D.
Friday, October 24, 2003
Project proposals (about a page) are due at the end of this month. You can hand me something in class on Tuesday or send it via email anytime between now and the end of October 31. I will talk about projects at 5pm on Tuesday. D.
Wednesday, October 22, 2003
You don't list 5.8 as a section to skip but you didn't cover it in class. Should we skip it?
We're skipping it for now but we will come back to it later. D.
We're skipping it for now but we will come back to it later. D.
Tuesday, October 21, 2003
Perl again at 5pm today. This will probably be the last session. D.
Monday, October 20, 2003
Dear professor:
In last week's perl session, you showed us code for reading through an input file line by line. In tomorrow's class, could you please show what code you would use to:
a) read through a text file line by line checking for the occurrence of certain two words, either juxtaposed or possibly separated by some number of other words,
b) return a count for the number of occurences, identified by file name
c) go to the next text file and repeat.
d) If possible, see how to do this for multiple two-word occurrences.
I have been playing around with pattern matching but it's not clear how to do the above.
By the way, thank you for the perl sessions. E. Henry
For the multiple files, just put the filenames in an array and loop through them using a for loop. For the regular expression part, try this:
# pretend this is the document you read in from the file:
$document = "the fox the abc abc abc abc abc fox the abc fox";
# suppose you want to find "the" and "fox" with between 0 and three words between them:
$document =~ /the (\S+? ){0,3}fox/g;
# for the example above this returns 2 hits. I'll go over this later in class. D.
In last week's perl session, you showed us code for reading through an input file line by line. In tomorrow's class, could you please show what code you would use to:
a) read through a text file line by line checking for the occurrence of certain two words, either juxtaposed or possibly separated by some number of other words,
b) return a count for the number of occurences, identified by file name
c) go to the next text file and repeat.
d) If possible, see how to do this for multiple two-word occurrences.
I have been playing around with pattern matching but it's not clear how to do the above.
By the way, thank you for the perl sessions. E. Henry
For the multiple files, just put the filenames in an array and loop through them using a for loop. For the regular expression part, try this:
# pretend this is the document you read in from the file:
$document = "the fox the abc abc abc abc abc fox the abc fox";
# suppose you want to find "the" and "fox" with between 0 and three words between them:
$document =~ /the (\S+? ){0,3}fox/g;
# for the example above this returns 2 hits. I'll go over this later in class. D.
Saturday, October 18, 2003
Thanks for your comments about the book. The book basically fills in the details that I skip over in class; these details are, for the most part, marthematical - that's life! However, the math required is mostly very basic calculus (a function achieves a maximum or minumum when its derivative is zero) and some matrix manipulations. There's a nice web page here on basic matrix algebra.
We will be skipping over parts of the book that I think are purely technical. Here's a web page where I keep a list of the sections that we are skipping - I'll be updating this as we go along.
In general we will focus more on concepts than details - for the final exam I will only consider stuff I covered specifically in class. D.
We will be skipping over parts of the book that I think are purely technical. Here's a web page where I keep a list of the sections that we are skipping - I'll be updating this as we go along.
In general we will focus more on concepts than details - for the final exam I will only consider stuff I covered specifically in class. D.
Friday, October 17, 2003
Yes, I too had a similar experience with the book. Perhaps it would be really helpful if we could get some more relevant material that would help prepare a base necessary to understand thoroughly the material in the book. Or perhaps some pointers as to how to go about studying, the sequence to follow.
Thank you very much.
Thank you very much.
Prof. Madigan,
I had a similar experience with the material from the book and I am glad to see that I am not the only one.
I am reading a lot of supplementary mterial as well though from Hand, Manilla book and Jiawei han's book along with some other papers.
thanks
I had a similar experience with the material from the book and I am glad to see that I am not the only one.
I am reading a lot of supplementary mterial as well though from Hand, Manilla book and Jiawei han's book along with some other papers.
thanks
Thursday, October 16, 2003
Prof. Madigan,
I recently started reading the Hastie book and, to be honest, I was disheartened by the way the material is presented. After spending some hours on chapter 3, I didn't go further than the intuitive facts we covered in class, mostly thanks to some examples and figures. Other than that, the description seems to me almost as a juxtaposition of propositions and formulas from linear algebra and advanced statistics, which are condidered to be known (or even obvious) and are presented without the need to be justified or put into context. Should I start worrying about my lack of solid background on what the book pressupposes, or will the course continue to focus on the concepts rather on the underlying theory ? Thank you
I recently started reading the Hastie book and, to be honest, I was disheartened by the way the material is presented. After spending some hours on chapter 3, I didn't go further than the intuitive facts we covered in class, mostly thanks to some examples and figures. Other than that, the description seems to me almost as a juxtaposition of propositions and formulas from linear algebra and advanced statistics, which are condidered to be known (or even obvious) and are presented without the need to be justified or put into context. Should I start worrying about my lack of solid background on what the book pressupposes, or will the course continue to focus on the concepts rather on the underlying theory ? Thank you
Wednesday, October 15, 2003
Dear Professor,
In the class of 7th Oct, we had reviewd Graphical markov models, Could you post some pointers to that for additional material like a tutorial or something.
Thanks
In the class of 7th Oct, we had reviewd Graphical markov models, Could you post some pointers to that for additional material like a tutorial or something.
Thanks
Here's a tutorial on graphical models. Here's a tutorial specifically about learning graphical models from data.
Here's the paper I mentioned last night that is like a (very good) project report. D.
Tuesday, October 14, 2003
We will have three presentations tonight. I'll enforce the ten-minute limit - watch out! D.
We'll do the perl class again at 5pm today. Usual place. D.
Friday, October 10, 2003
Dear Prof.
I found in the grading policy, there is 10% for homework. So when we are gonna have the homework? And how many times? Coz it's almost one third of the semester, we hope to have enough time for the final project and exam.
Thanks.
I'll think about this. Now that we are digging into the textbook I might assign homework from the book. D.
I found in the grading policy, there is 10% for homework. So when we are gonna have the homework? And how many times? Coz it's almost one third of the semester, we hope to have enough time for the final project and exam.
Thanks.
I'll think about this. Now that we are digging into the textbook I might assign homework from the book. D.
Wednesday, October 08, 2003
Dear Professor:
Can you show a simple and numerical example for Ridge Regression and The Lasso too?
BEST
Fengyu
Sure, I'll show an example in class. There are also some in the book. Check out the LASSO Web Page for software, etc. D.
Can you show a simple and numerical example for Ridge Regression and The Lasso too?
BEST
Fengyu
Sure, I'll show an example in class. There are also some in the book. Check out the LASSO Web Page for software, etc. D.
Tuesday, October 07, 2003
The perl lecture notes I have been using don't seem to be on the web any more. Since they are not mine I don't want to put them on the class website, so, if you want a copy, please email me and I'll send it to you. D.
We'll have our second perl class today at 5pm, in a room as close as we can find to the regular classroon. D.
Monday, October 06, 2003
We're going to start using the textbook in depth fairly soon. I will maintain a web page showing the sections that we will be skipping. D.
Prof. Madigan,
How do I open a ps file? I had trouble opening the set of papers about clustering. Thanks.
If you are using Windows you need a utility called gsview. Its free and available at: http://www.cs.wisc.edu/~ghost/gsview/. Note you have to first download and install ghostscript (also free and available from the same web page).
How do I open a ps file? I had trouble opening the set of papers about clustering. Thanks.
If you are using Windows you need a utility called gsview. Its free and available at: http://www.cs.wisc.edu/~ghost/gsview/. Note you have to first download and install ghostscript (also free and available from the same web page).
I think unix has a built-in ps viewer but I can't remember what its called - anyone? D.
You can use the command "ghostview filename" to view ps file under Unix/Linux
Wednesday, October 01, 2003
it is for sure that the presentation is part of class, but the presentation usually runs over the time limit. As the paper goes more deep, it will cost more time. That is why I think the presetation should be put at the end of class to make sure that prfessor can finish the material he plans to talk about. But if professor thinks that it is more appropriate to put the presentation little ahead of the beginning, I am fine with this. the goal of my suggestion is to make sure that we can learn more from this class.
Professor Madigan,
It is very generous of you to give lectures on Perl outside the class time. As for the presentation, I think it is part of the class and certainly related to this course. I don't think you are obligated to spend time beyond the regular class hours to have the presentations. Besides, some students might be very interenting in those presentations but could not come before class time.
It is just a thought. Anyway, you are the teacher and this is your class. I'll respect the final decision you make.
Thank you.
It is very generous of you to give lectures on Perl outside the class time. As for the presentation, I think it is part of the class and certainly related to this course. I don't think you are obligated to spend time beyond the regular class hours to have the presentations. Besides, some students might be very interenting in those presentations but could not come before class time.
It is just a thought. Anyway, you are the teacher and this is your class. I'll respect the final decision you make.
Thank you.