FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Normalize for HITS algorithm · Issue #442 · aimacode/aima-python · GitHub

Repository navigation

Normalize for HITS algorithm #442

Description

In the pseudocode for HITS, normalize is defined to divide each page’s score by the sum of the squares of all pages’ scores. The standard definition or normaliztion divides a value by the norm of the vector that contains it. In our case shouldn't we divide by square root of sum of squares as opposed to just the sum of squares.
@norvig Is this an error in the book or am I wrong. I tried running HITS using the definition given in book and that lead to an infinite loop. The values started oscillating between two states, whereas changing the normalize() in #439 leads to convergence.

Activity

  1. norvig commented on May 28, 2017

    Member

    Yes, the scores should be normalized to the square root of the sum of the squares.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL