Sequences II Prof. Noah Snavely CS1114 http://cs1114.cs.cornell.edu.

Slides:



Advertisements
Similar presentations
Texture. Limitation of pixel based processing Edge detection with different threshold.
Advertisements

Markov Models.
Data-driven methods: Texture (Sz 10.5) Cs129 Computational Photography James Hays, Brown, Spring 2011 Many slides from Alexei Efros.
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
Analysis and Modeling of Social Networks Foudalis Ilias.
Authorship recognition Prof. Noah Snavely CS1114
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Randomized Algorithms Kyomin Jung KAIST Applied Algorithm Lab Jan 12, WSAC
How PageRank Works Ketan Mayer-Patel University of North Carolina January 31, 2011.
More on Rankings. Query-independent LAR Have an a-priori ordering of the web pages Q: Set of pages that contain the keywords in the query q Present the.
Experiments with MATLAB Experiments with MATLAB Google PageRank Roger Jang ( 張智星 ) CSIE Dept, National Taiwan University, Taiwan
DATA MINING LECTURE 12 Link Analysis Ranking Random walks.
Algorithmic and Economic Aspects of Networks Nicole Immorlica.
Introduction to PageRank Algorithm and Programming Assignment 1 CSC4170 Web Intelligence and Social Computing Tutorial 4 Tutor: Tom Chao Zhou
Markov chains Prof. Noah Snavely CS1114
Announcements Project 4 questions? Guest lectures Thursday: Richard Ladner “tactile graphics” Next Tuesday: Jenny Yuen and Jeff Bigham.
Pádraig Cunningham University College Dublin Matrix Tutorial Transition Matrices Graphs Random Walks.
Markov chains – Part 2 Prof. Noah Snavely CS1114
Zdravko Markov and Daniel T. Larose, Data Mining the Web: Uncovering Patterns in Web Content, Structure, and Usage, Wiley, Slides for Chapter 1:
Page Rank.  Intuition: solve the recursive equation: “a page is important if important pages link to it.”  Maximailly: importance = the principal eigenvector.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Markov Models. Markov Chain A sequence of states: X 1, X 2, X 3, … Usually over time The transition from X t-1 to X t depends only on X t-1 (Markov Property).
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
HCC class lecture 22 comments John Canny 4/13/05.
More Algorithms for Trees and Graphs Eric Roberts CS 106B March 11, 2013.
Robust fitting Prof. Noah Snavely CS1114
Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley.
1 Applications of Relative Importance  Why is relative importance interesting? Web Social Networks Citation Graphs Biological Data  Graphs become too.
The PageRank Citation Ranking: Bringing Order to the Web Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Winograd Presented by Anca Leuca, Antonis Makropoulos.
Markov Random Fields Probabilistic Models for Images
TEXTURE SYNTHESIS BY NON-PARAMETRIC SAMPLING VIVA-VITAL Nazia Tabassum 27 July 2015.
Ranking Link-based Ranking (2° generation) Reading 21.
1 Multi Scale Markov Random Field Image Segmentation Taha hamedani.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
Random Sampling Algorithms with Applications Kyomin Jung KAIST Aug ERC Workshop.
Computation on Graphs. Graphs and Sparse Matrices Sparse matrix is a representation of.
Recognizing objects Prof. Noah Snavely CS1114
How to get higher scores in 2048
Automated Information Retrieval
CPS : Information Management and Mining
Markov Chain Hasan AlShahrani CS6800
Interest Points EE/CSE 576 Linda Shapiro.
Announcements Project 4 out today help session at the end of class.
Random Walks on Graphs.
Search Engines and Link Analysis on the Web
Link-Based Ranking Seminar Social Media Mining University UC3M
Computing Network Centrality Measures using Neural Networks
PageRank and Markov Chains
Texture Synthesis by Non-parametric Sampling
Announcements Final Project 3 artifacts Evals
Lecture 1: Images and image filtering
Lecture 26: Faces and probabilities
CS 188: Artificial Intelligence Spring 2007
Prof. Paolo Ferragina, Algoritmi per "Information Retrieval"
Markov Random Fields for Edge Classification
9 Algorithms: PageRank.
Texture.
Prof. Paolo Ferragina, Algoritmi per "Information Retrieval"
Image Quilting for Texture Synthesis & Transfer
Markov Random Fields Presented by: Vladan Radosavljevic.
Announcements Guest lecture next Tuesday
The chain of Andrej Markov and its applications NETWORKS goes to school - April 23, 2018 Jan-Pieter Dorsman.
Junghoo “John” Cho UCLA
Texture Synthesis and Transfer
CS723 - Probability and Stochastic Processes
Random Neural Network Texture Model
Sorting and selection Prof. Noah Snavely CS1114
Outline Texture modeling - continued Markov Random Field models
Presentation transcript:

Sequences II Prof. Noah Snavely CS1114 http://cs1114.cs.cornell.edu

Administrivia Assignments: Quiz Tuesday, 4/24 A5P2 due on Friday Quiz Tuesday, 4/24 Final project proposals due on CMS by this Thursday

Google’s PageRank H A E I D B C F J G Start at a random page, take a random walk. Where do we end up? A I E D B C F J G

Google’s PageRank H A E I D B C F J G Add 15% probability of moving to a random page. Now where do we end up? A I E D B C F J G

Google’s PageRank H A E I D B C F J G PageRank(P) = Probability that a long random walk ends at node P A I E D B C F J G

Example (The ranks are an eigenvector of the transition matrix)

Modeling Texture What is texture? An image obeying some statistical properties Similar structures repeated over and over again Often has some degree of randomness

Markov Random Field A Markov random field (MRF) First-order MRF: generalization of Markov chains to two or more dimensions. First-order MRF: probability that pixel X takes a certain value given the values of neighbors A, B, C, and D: D C X A B X * Higher order MRF’s have larger neighborhoods

Texture Synthesis [Efros & Leung, ICCV 99] Can apply 2D version of text synthesis

More Synthesis Results Increasing window size

More Results reptile skin aluminum wire

Image-Based Text Synthesis

Author recognition Simple problem: Given two Markov chains, say Austen (A) and Dickens (D), and a string s (with n words), how do we decide whether A or D wrote s? Idea: For both A and D, compute the probability that a random walk of length n generates s

Probability of a sequence What is the probability of a given n-length sequence s? s = s1 s2 s3 … sn Probability of generating s = the product of transition probabilities: Probability that a sequence starts with s1 Transition probabilities

Charles Dickens wrote s Likelihood Compute this probability for A and D Jane Austen wrote s “likelihood” of A Charles Dickens wrote s “likelihood” of D ???

Problems with likelihood Most strings of text (of significant length) have probability zero Why? Even if it’s not zero, it’s probably extremely small What’s 0.01 * 0.01 * 0.01 * … (x200) … * 0.01? According to Matlab, zero How can we fix these problems?