|
|
Line 1: |
Line 1: |
| '''Vector space model''' or '''term vector model''' is an algebraic model for representing text documents (and any objects, in general) as [[vector space|vectors]] of identifiers, such as, for example, index terms. It is used in [[information filtering]], [[information retrieval]], [[index (search engine)|index]]ing and relevancy rankings. Its first use was in the [[SMART Information Retrieval System]].
| | If you are looking for a specific plugin, then you can just search for the name of the plugin. This one is one of the most beneficial features of Word - Press as this feature allows users to define the user roles. PSD files are incompatible to browsers and are suppose to be converted into wordpress compatible files so that it opens up in browser. Out of the various designs of photography identified these days, sports photography is preferred most, probably for the enjoyment and enjoyment associated with it. By using this method one can see whether the theme has the potential to become popular or not and is their any scope of improvement in the theme. <br><br> |
|
| |
|
| ==Definitions==
| | The Internet is a vast open market where businesses and consumers congregate. Some of the Wordpress development services offered by us are:. It sorts the results of a search according to category, tags and comments. t need to use the back button or the URL to get to your home page. Akismet is really a sophisticated junk e-mail blocker and it's also very useful thinking about I recieve many junk e-mail comments day-to-day across my various web-sites. <br><br>The entrepreneurs can easily captivate their readers by using these versatile themes. After sending these details, your Word - Press blog will be setup within a few days. You've got invested a great cope of time developing and producing up the topic substance. Newer programs allow website owners and internet marketers to automatically and dynamically change words in their content to match the keywords entered by their web visitors in their search queries'a feat that they cannot easily achieve with older software. Search engine optimization pleasant picture and solution links suggest you will have a much better adjust at gaining considerable natural site visitors. <br><br>Digg Digg Social Sharing - This plugin that is accountable for the floating social icon located at the left aspect corner of just about every submit. Quttera - Quttera describes itself as a 'Saa - S [Software as a Service] web-malware monitoring and alerting solution for websites of any size and complexity. re creating a Word - Press design yourself, the good news is there are tons of Word - Press themes to choose from. The most important plugins you will need are All-in-One SEO Pack, some social bookmarking plugin, a Feedburner plugin and an RSS sign up button. If your blog employs the permalink function, This gives your SEO efforts a boost, and your visitors will know firsthand what's in the post when seeing the URL. <br><br>Yet, overall, less than 1% of websites presently have mobile versions of their websites. I'm a large fan of using Word - Press to create pretty much any sort of web page. This allows updates to be sent anyone who wants them via an RSS reader or directly to their email. In addition, Word - Press design integration is also possible. As with a terminology, there are many methods to understand how to use the terminology If you adored this article so you would like to be given more info with regards to [http://www.nt-protect.host.sk/?wordpress_backup_420779 backup plugin] kindly visit the web site. . |
| | |
| Documents and queries are represented as vectors.
| |
| | |
| :<math>d_j = ( w_{1,j} ,w_{2,j} , \dotsc ,w_{t,j} )</math> | |
| :<math>q = ( w_{1,q} ,w_{2,q} , \dotsc ,w_{t,q} )</math>
| |
| | |
| Each [[Dimension (vector space)|dimension]] corresponds to a separate term. If a term occurs in the document, its value in the vector is non-zero. Several different ways of computing these values, also known as (term) weights, have been developed. One of the best known schemes is [[tf-idf]] weighting (see the example below).
| |
| | |
| The definition of ''term'' depends on the application. Typically terms are single words, [[keyword (linguistics)|keyword]]s, or longer phrases. If the words are chosen to be the terms, the dimensionality of the vector is the number of words in the vocabulary (the number of distinct words occurring in the [[text corpus|corpus]]).
| |
| | |
| Vector operations can be used to compare documents with queries.
| |
| | |
| ==Applications==
| |
| | |
| [[Image:vector space model.jpg|right|250px]]
| |
| | |
| [[Relevance (information retrieval)|Relevance]] [[ranking]]s of documents in a keyword search can be calculated, using the assumptions of [[semantic similarity|document similarities]] theory, by comparing the deviation of angles between each document vector and the original query vector where the query is represented as the same kind of vector as the documents.
| |
| | |
| In practice, it is easier to calculate the [[cosine]] of the angle between the vectors, instead of the angle itself:
| |
| | |
| :<math>
| |
| \cos{\theta} = \frac{\mathbf{d_2} \cdot \mathbf{q}}{\left\| \mathbf{d_2} \right\| \left \| \mathbf{q} \right\|}
| |
| </math> | |
| | |
| Where <math>\mathbf{d_2} \cdot \mathbf{q}</math> is the intersection (i.e. the [[dot product]]) of the document (d<sub>2</sub> in the figure to the right) and the query (q in the figure) vectors, <math>\left\| \mathbf{d_2} \right\|</math> is the norm of vector d<sub>2</sub>, and <math>\left\| \mathbf{q} \right\|</math> is the norm of vector q. The [[Norm (mathematics)|norm]] of a vector is calculated as such:
| |
| | |
| :<math>
| |
| \left\| \mathbf{q} \right\| = \sqrt{\sum_{i=1}^n q_i^2}
| |
| </math>
| |
| | |
| As all vectors under consideration by this model are elementwise nonnegative, a cosine value of zero means that the query and document vector are [[orthogonal]] and have no match (i.e. the query term does not exist in the document being considered). See [[cosine similarity]] for further information.
| |
| | |
| ==Example: tf-idf weights==
| |
| | |
| In the classic vector space model proposed by [[Gerard Salton|Salton]], Wong and Yang <ref>[http://doi.acm.org/10.1145/361219.361220 G. Salton , A. Wong , C. S. Yang, A vector space model for automatic indexing], Communications of the ACM, v.18 n.11, p.613-620, Nov. 1975</ref> the term specific weights in the document vectors are products of local and global parameters. The model is known as [[tf-idf|term frequency-inverse document frequency]] model. The weight vector for document ''d'' is <math>\mathbf{v}_d = [w_{1,d}, w_{2,d}, \ldots, w_{N,d}]^T</math>, where
| |
| | |
| :<math>
| |
| w_{t,d} = \mathrm{tf}_{t,d} \cdot \log{\frac{|D|}{|\{d' \in D \, | \, t \in d'\}|}}
| |
| </math>
| |
| | |
| and | |
| * <math>\mathrm{tf}_{t,d}</math> is term frequency of term ''t'' in document ''d'' (a local parameter)
| |
| * <math>\log{\frac{|D|}{|\{d' \in D \, | \, t \in d'\}|}}</math> is inverse document frequency (a global parameter). <math>|D|</math> is the total number of documents in the document set; <math>|\{d' \in D \, | \, t \in d'\}|</math> is the number of documents containing the term ''t''.
| |
| | |
| Using the cosine the similarity between document ''d<sub>j</sub>'' and query ''q'' can be calculated as:
| |
| | |
| :<math>\mathrm{sim}(d_j,q) = \frac{\mathbf{d_j} \cdot \mathbf{q}}{\left\| \mathbf{d_j} \right\| \left \| \mathbf{q} \right\|} = \frac{\sum _{i=1}^N w_{i,j}w_{i,q}}{\sqrt{\sum _{i=1}^N w_{i,j}^2}\sqrt{\sum _{i=1}^N w_{i,q}^2}}</math>
| |
| | |
| ==Advantages==
| |
| | |
| The vector space model has the following advantages over the [[Standard Boolean model]]:
| |
| | |
| #Simple model based on linear algebra
| |
| #Term weights not binary
| |
| #Allows computing a continuous degree of similarity between queries and documents
| |
| #Allows ranking documents according to their possible relevance
| |
| #Allows partial matching
| |
| | |
| ==Limitations==
| |
| | |
| The vector space model has the following limitations:
| |
| | |
| #Long documents are poorly represented because they have poor similarity values (a small [[scalar product]] and a [[curse of dimensionality|large dimensionality]])
| |
| #Search keywords must precisely match document terms; word [[substring]]s might result in a "[[false positive]] match"
| |
| #Semantic sensitivity; documents with similar context but different term vocabulary won't be associated, resulting in a "[[false negative]] match".
| |
| #The order in which the terms appear in the document is lost in the vector space representation.
| |
| #Theoretically assumes terms are statistically independent.
| |
| #Weighting is intuitive but not very formal.
| |
| | |
| Many of these difficulties can, however, be overcome by the integration of various tools, including mathematical techniques such as [[singular value decomposition]] and [[lexical database]]s such as [[WordNet]].
| |
| | |
| ==Models based on and extending the vector space model==
| |
| | |
| Models based on and extending the vector space model include:
| |
| * [[Generalized vector space model]]
| |
| * [[Latent semantic analysis]]
| |
| * [[Term Discrimination]]
| |
| * [[Rocchio Classification]]
| |
| * [[random_indexing|Random Indexing]]
| |
| | |
| ==Software that implements the vector space model==
| |
| | |
| The following software packages may be of interest to those wishing to experiment with vector models and implement search services based upon them.
| |
| | |
| ===Free open source software===
| |
| | |
| * [[Apache Lucene]]. Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java.
| |
| * [http://semanticvectors.googlecode.com SemanticVectors]. Semantic Vector indexes, created by applying a Random Projection algorithm (similar to [[Latent semantic analysis]]) to term-document matrices created using Apache Lucene.
| |
| * [[Gensim]] is a Python+[[NumPy]] framework for Vector Space modelling. It contains incremental (memory-efficient) algorithms for [[Tf–idf]], [[Latent Semantic Indexing]], [[Locality_sensitive_hashing#Random_projection|Random Projections]] and [[Latent Dirichlet Allocation]].
| |
| * [[Weka (machine learning)|Weka]]. Weka is popular data mining package for Java including WordVectors and Bag Of Words models.
| |
| * [http://codingplayground.blogspot.com/2010/03/compressed-vector-space.html Compressed vector space in C++] by Antonio Gulli
| |
| * [http://scgroup.hpclab.ceid.upatras.gr/scgroup/Projects/TMG/ Text to Matrix Generator (TMG)] MATLAB toolbox that can be used for various tasks in text mining specifically i) indexing, ii) retrieval, iii) dimensionality reduction, iv) clustering, v) classification. Most of TMG is written in MATLAB and parts in Perl. It contains implementations of LSI, clustered LSI, NMF and other methods.
| |
| * [http://senseclusters.sourceforge.net SenseClusters], an open source package that supports context and word clustering using Latent Semantic Analysis and word co-occurrence matrices.
| |
| * [http://code.google.com/p/airhead-research/ S-Space Package], a collection of algorithms for exploring and working with [[statistical semantics]].
| |
| | |
| ==Further reading==
| |
| | |
| * [[Gerard Salton|G. Salton]], A. Wong, and C. S. Yang (1975), "[http://www.cs.uiuc.edu/class/fa05/cs511/Spring05/other_papers/p613-salton.pdf A Vector Space Model for Automatic Indexing]," ''Communications of the ACM'', vol. 18, nr. 11, pages 613–620. ''(Article in which a vector space model was presented)''
| |
| * David Dubin (2004), [http://www.ideals.uiuc.edu/bitstream/2142/1697/2/Dubin748764.pdf The Most Influential Paper Gerard Salton Never Wrote] ''(Explains the history of the Vector Space Model and the non-existence of a frequently cited publication)''
| |
| * [http://isp.imm.dtu.dk/thor/projects/multimedia/textmining/node5.html Description of the vector space model]
| |
| * [http://www.miislita.com/term-vector/term-vector-3.html Description of the classic vector space model by Dr E. Garcia]
| |
| * [http://nlp.stanford.edu/IR-book/html/htmledition/vector-space-classification-1.html Relationship of vector space search to the "k-Nearest Neighbor" search]
| |
| | |
| ==See also==
| |
| *[[Bag-of-words model]]
| |
| *[[Nearest neighbor search]]
| |
| *[[Compound term processing]]
| |
| *[[Inverted index]]
| |
| *[[w-shingling]]
| |
| *[[Eigenvalues and eigenvectors]]
| |
| | |
| ==References==
| |
| <references/>
| |
| | |
| [[Category:Vector space model|*]]
| |
If you are looking for a specific plugin, then you can just search for the name of the plugin. This one is one of the most beneficial features of Word - Press as this feature allows users to define the user roles. PSD files are incompatible to browsers and are suppose to be converted into wordpress compatible files so that it opens up in browser. Out of the various designs of photography identified these days, sports photography is preferred most, probably for the enjoyment and enjoyment associated with it. By using this method one can see whether the theme has the potential to become popular or not and is their any scope of improvement in the theme.
The Internet is a vast open market where businesses and consumers congregate. Some of the Wordpress development services offered by us are:. It sorts the results of a search according to category, tags and comments. t need to use the back button or the URL to get to your home page. Akismet is really a sophisticated junk e-mail blocker and it's also very useful thinking about I recieve many junk e-mail comments day-to-day across my various web-sites.
The entrepreneurs can easily captivate their readers by using these versatile themes. After sending these details, your Word - Press blog will be setup within a few days. You've got invested a great cope of time developing and producing up the topic substance. Newer programs allow website owners and internet marketers to automatically and dynamically change words in their content to match the keywords entered by their web visitors in their search queries'a feat that they cannot easily achieve with older software. Search engine optimization pleasant picture and solution links suggest you will have a much better adjust at gaining considerable natural site visitors.
Digg Digg Social Sharing - This plugin that is accountable for the floating social icon located at the left aspect corner of just about every submit. Quttera - Quttera describes itself as a 'Saa - S [Software as a Service] web-malware monitoring and alerting solution for websites of any size and complexity. re creating a Word - Press design yourself, the good news is there are tons of Word - Press themes to choose from. The most important plugins you will need are All-in-One SEO Pack, some social bookmarking plugin, a Feedburner plugin and an RSS sign up button. If your blog employs the permalink function, This gives your SEO efforts a boost, and your visitors will know firsthand what's in the post when seeing the URL.
Yet, overall, less than 1% of websites presently have mobile versions of their websites. I'm a large fan of using Word - Press to create pretty much any sort of web page. This allows updates to be sent anyone who wants them via an RSS reader or directly to their email. In addition, Word - Press design integration is also possible. As with a terminology, there are many methods to understand how to use the terminology If you adored this article so you would like to be given more info with regards to backup plugin kindly visit the web site. .