Unformatted text preview:

Slide 1Vigenère CypherSlide 3Vector spacesSlide 5Slide 6Slide 7Slide 8Slide 9Catching upVigenère CypherKeyword:CATPlain text: PROJECTCode: P  row C, column P = RR  row A, column R = RO  row T, column O = HJ  row C, column J = LE  row A, column E = EC  row T, column C = VT  row C, column T = VVector space modelVector spacesThe Salton Vector Space model–Assign weights to terms and to documents based on the expected significance of a search term:•Term weight = wi = tfi*log(D/dfi)where•tfi =number of times term #i occurs in a document•dfi = # documents that contain term #i•D = number of documents in the collectionSource: Dr. E. Garcia http://www.miislita.com/term-vector/term-vector-1.html#d•wi increases with tfi–Vulnerable to spamming (faking relevance by inserting extra copies of a term in a document just to raise the score)•For documents of equal length, the document with the most repetitions of the term are favored.•For documents of different lengths, the longer document will be favored as it is more likely to have more copies of the term. Source: Dr. E. Garcia http://www.miislita.com/term-vector/term-vector-1.html#d•wi decreases as dfi increases •log(D/dfi) -- inverse document frequency•Measure of volume of information associated with a term i within a set of D documentsSource: Dr. E. Garcia http://www.miislita.com/term-vector/term-vector-1.html#d•Example:•Collection about birds -- photos, articles, recordings of bird calls, etc. Assume •5000 photos, 1000 articles, 550 recordings•Search on “wing” –Every photo will include wings, most likely–The recordings will probably not refer to wings (perhaps there are some recordings of wings flapping, but let’s ignore that for now)–Articles about birds are pretty likely to refer to wing.•Suppose we search only the articles and find that for a particular article, the term frequency of wing is 27 and that 700 of the articles contain the word wing. •The weight wi is 27 * log(1000/700) = 4.182•If only 200 of the articles contained the word wing, then the weight wi would be 27 * log(1000/200) = 18.87•The significance of the search term is greater if it is not common to most of the items in the collection.•The frequency of 27 looks impressive on first glance. However, considering the distinguishing power of that term within the context of that collection gives us a different evaluation.•Is this a good article for our


View Full Document

Villanova CSC 9010 - Vector space model

Documents in this Course
Lecture 2

Lecture 2

48 pages

Lecture 2

Lecture 2

46 pages

Load more
Download Vector space model
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Vector space model and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Vector space model 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?