Friday, September 9, 2011

Reminder about the distinction between the class blog and the tweetnotes...

Folks

 I notice that a couple of you posted stuff to tweetnotes blog that is not a summary of what was said in the
class, but rather other interesting things you came across and wanted to share.

Please note that the place for general (and longer) postings is the class blog. Tweetnotes should be restricted to
short summary points you got from a particular class (and should be signed with your name).

thanks
rao

Homework 1 assigned; due in class on 9/20

Folks:

 Homework 1 is ready; you can reach it from the homepage, or use the following direct link:

The homework is due, in hard copy, on 9/20 in class

Rao

Wednesday, September 7, 2011

Project part 1 released. Due 9/27--but you should try to get done by 22nd...

Project 1part 1 is accessible at http://rakaposhi.eas.asu.edu/cse494/f11-projects.html

Please get started early. 

We keep  this part simple--but since the other two build on top of this part, if you don't have this one, you will be held back
on those parts. 

Rao

Something to think about: Similarity/Distance Metrics

We saw several similarity metrics for documents these last two classes. A question is will any old
function be considered a similarity function or whether there are some minimum disiderata. 

You should keep in mind that similarity is really a measure of "distance"--the more distant two
objects are from each other, the less similar they are.

This brings us to desirable properties of distance (and thus similarity) metrics.

The typical required properties of a distance metric are given below (from wikipedia entry).

You want to check to see if each of the metrics we have seen until now--jaccard, euclidean, cosine-theta--satisfy all these properties. 

In the literature, people do consider "distance" functions that do not satisfy all these properties. Typically, the first one to be sacrificed is 
triangle inequality property.  Sometimes even the symmetry property is given up. An example of a distance metric that is asymmetric is 
the distance metric between two probability distributions--called KL-divergence (see  http://en.wikipedia.org/wiki/Kullback%E2%80%93Leibler_divergence )

A metric on a set X is a function (called the distance function or simply distance)

d : X × X → R

(where R is the set of real numbers). For all x, y, z in X, this function is required to satisfy the following conditions:

  1. d(x, y) ≥ 0     (non-negativity)
  2. d(x, y) = 0   if and only if   x = y     (identity of indiscernibles. Note that condition 1 and 2 together produce positive definiteness)
  3. d(x, y) = d(y, x)     (symmetry)
  4. d(x, z) ≤ d(x, y) + d(y, z)     (subadditivity / triangle inequality).

Rao

Tuesday, September 6, 2011

Readings for next class

We will do indexing/retrieval issues next class. The relevant readings are under "Distributed Indexing" topic of the readings--reproduced below
(note that the indented one is optional and is a brand-new paper from google folks on the indexing issues faced by search engines)

Rao

Thursday, September 1, 2011

Gentle reminders regarding attendance and attentiveness

This is just a gentle reminder, for those of you who need it (see below), that attendance and attentiveness are not optional but mandatory for this class.

This particular reminder is triggered by (1) the sighting of a couple of people staring into their laptops and/or cell phones all through the class (you know who you are; and thanks to the roster mug shots, so do I ;-)  and (2) the apparent absence of  about 10 people who are currently shown to be registered and did not  sign the attendance sheet today. 

Regarding 1, while I try my best not to single out people during the class to avoid embarrassment and  disruption to the class flow, it does distract me. Regarding 2, remember that you are supposed to let me know *beforehand* if you must miss the class for unavoidable reasons.

thanks for your cooperation

regards
Rao

Same query Same results

I was trying to google something and was not able to find relevant results. Surprisingly I tried the same query again after a couple of days and got the same set of results. I was logged-in in gmail both the times. I was wondering why google search is not learning that I don't want these results; I want something else, something different.

When in last IR class (8/30/2011) we discussed the factors contributing to the relevance number R(.) of a document, I found that it very well depends upon the already retrieved documents. I questioned, then why google or any other search engine has not yet implemented it.

While I was googling about the same, I learned that it is difficult to completely remove the documents which are already shown, (and not judged by the user,) when the user re-enters the same query. This is because those documents are actually relevant and they are ranked based on their relevance to the query.
As we very well know that user is not sure what he is looking for, he is not inclined to read certain results. That doesn't imply that next same search should eliminate those documents. The maverick user might find the same set of results useful some other day (in some other light :-) ).

On the other hand, user might be aware of certain results and sure that they are definitely not relevant to his needs and hence never bothered to visit them. In such cases, he might find it frustrating to get the same results.

Hence, how to find "sweet spot" in such cases? If time permits, we can discuss this in tomorrow's class.