2013-12-09

Practice final question 10.

Originally Posted By: DavidHsu
Note: professor said in class not to worry very much about the page rank part, because we didn't go over it very much (he glanced at the answer for 2 seconds and then said that, said we get 3/3, and then moved on to second part). Also, page rank is found in http://www.cs.sjsu.edu/faculty/pollett/ ... ml#%285%29 and HITS is found in http://www.cs.sjsu.edu/faculty/pollett/ ... ml#%284%29.

To calculate page rank: use r(Pi) to get r(P) by using the power method for computing eigenvalues,
q10.JPG (taken directly from the professor's slide)

To calculate HITS: calculate two scores, the authority score and the hub score. To get the hub score, multiply the matrix of the page with the authority weight vector. To get the authority score, multiply the transpose matrix of a page with the hub weight vector.

Alex Holt
David Hsu
Frank
Tuan Tran
Terrence Le
'''Originally Posted By: DavidHsu''' Note: professor said in class not to worry very much about the page rank part, because we didn't go over it very much (he glanced at the answer for 2 seconds and then said that, said we get 3/3, and then moved on to second part). Also, page rank is found in http://www.cs.sjsu.edu/faculty/pollett/ ... ml#%285%29 and HITS is found in http://www.cs.sjsu.edu/faculty/pollett/ ... ml#%284%29.<br><br>To calculate page rank: use r(Pi) to get r(P) by using the power method for computing eigenvalues,<br>q10.JPG (taken directly from the professor's slide)<br><br>To calculate HITS: calculate two scores, the authority score and the hub score. To get the hub score, multiply the matrix of the page with the authority weight vector. To get the authority score, multiply the transpose matrix of a page with the hub weight vector. <br><br>Alex Holt<br>David Hsu<br>Frank<br>Tuan Tran<br>Terrence Le
2013-12-12

-- Practice Final Question 2
Originally Posted By: nicseto
I'd like to make a correction on the following statement which was my fault:

A XML namespace is the definition for an XML language.

A XML schema or DTD is the definition for a XML language. On the other hand, a XML namespace is the URI (unique resource identifier) which references that particular language. By using namespaces, there is no ambiguity between elements or attributes with the same name.

Nicolas Seto
'''Originally Posted By: nicseto''' I'd like to make a correction on the following statement which was my fault:<br><br>A XML namespace is the definition for an XML language.<br><br>A XML schema or DTD is the definition for a XML language. On the other hand, a XML namespace is the URI (unique resource identifier) which references that particular language. By using namespaces, there is no ambiguity between elements or attributes with the same name.<br><br>Nicolas Seto

-- Practice Final Question 2
Originally Posted By: DavidHsu
Hi,

I had trouble figuring out the meaning of XML namespace for languages. so I looked in http://www.w3schools.com/schema/schema_schema.asp and it says that when you declare a namespace, you are saying that" all the elements used in the document are used in the namespace" (near the bottom). Hope that helps.
'''Originally Posted By: DavidHsu''' Hi,<br><br>I had trouble figuring out the meaning of XML namespace for languages. so I looked in http://www.w3schools.com/schema/schema_schema.asp and it says that when you declare a namespace, you are saying that&quot; all the elements used in the document are used in the namespace&quot; (near the bottom). Hope that helps.
X