Docsity

Focused Crawler - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

Toggle sidebar
bg1
Focused Crawler
•Soft Focusing
–compute score for a fetched document, S0
–extend the score to all URL in S0
–s
θ
(topic)(u) = P(c|d(v),
θ
)
–if same URL is fetched from multiple parents, update s(u)
•Hard Focusing
–for a crawled page d, find leaf node with highest
probability (c*)
–if some ancestor of c* is marked good, extract URLS from d
–else the crawl is pruned at d
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Focused Crawler - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Focused Crawler

-^ Soft Focusing^ –^ compute score for a fetched document,

S^0

-^ extend the score to all URL in

S^0

(topic) – s(u) = P(c|d(v), θ

θ^ )

-^ if same URL is fetched from multiple parents, update

s(u)

-^ Hard Focusing^ –^ for a crawled page

d, find leaf node with highest probability

(c*)

-^ if some ancestor of

c*^ is marked good, extract URLS from

d

-^ else the crawl is pruned at d

Efficiency of a Focused Crawler

Context Graphs

-^ Seed page forms layer

-^ Layer

i^ contains all the parents of the nodes inlayer i-

Context Graphs

-^ To compute the relevance function^ –^ set of Naïve Bayes classifiers are built for eachlayer^ –^ compute P(t|c1) from the pages in each layer^ –^ compute P(c1 |p)^ –^ class with highest probability is assigned the page^ –^ if (P (c1 | p) <

τ, then page is assigned to ‘other’ class

Reinforcement Learning

-^ Learning what action yields maximum rewards •^ To maximize rewards^ –^ learning agent uses previously tried actions thatproduced effective rewards^ –^ explore better action selections in future •^ Properties^ –^ trial and error method^ –^ delayed rewards

Elements of Reinforcement

Learning

-^ Policy

π(s,a) – probability of taking an action a in state s

-^ Rewards function

r(a)

-^ maps state-action pairs to a single number –^ indicate immediate desirability of the state • Value Function

π V(s)

-^ indicate long-term desirability of states –^ takes into account the states that are likely to follow, andthe rewards available in those states

Fish Search

-^ Web agents are like the fishes in sea^ –^ gain energy when a relevant document foundagents^ –^ search for more relevant documents^ –^ lose energy when exploring irrelevant pages •^ Limitations^ –^ assigns discrete relevance scores^ •^

1 – relevant, 0 or 0.5 for irrelevant – low discrimination of the priority of pages

Shark Search Algorithm

-^ Introduces real-valued relevance scores basedon^ –^ ancestral relevance score^ –^ anchor text^ –^ textual context of the link