29 Palms Vehicle Detection (what we wanted to do).

Slides:



Advertisements
Similar presentations
COMP 116: Introduction to Scientific Programming Lecture 11: Linear Regression.
Advertisements

Three Forms of an Equation of a Line
Slope and Linear Equations
Linear functions 1. From the figure, we can find that the values of f(x) are in the interval [−1,∞[ 2.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Approximation on Finite Elements Bruce A. Finlayson Rehnberg Professor of Chemical Engineering.
Straight Lines.
~adapted from Walch Education CONSTRUCTING FUNCTIONS FROM GRAPHS AND TABLES.
Simple Linear Regression. Introduction In Chapters 17 to 19, we examine the relationship between interval variables via a mathematical equation. The motivation.
Regression, Residuals, and Coefficient of Determination Section 3.2.
Linear Functions.
WRITING LINEAR EQUATIONS 5.1 AND 5.2. WRITING A LINEAR EQUATION GIVEN THE SLOPE AND Y-INTERCEPT Use the equation y = mx + b The slope is the m in the.
Pg  Scientific method  make observations  Do experiments  Create models/theories  Explain results/predict new answers.
Section 8.3 – Systems of Linear Equations - Determinants Using Determinants to Solve Systems of Equations A determinant is a value that is obtained from.
Introduction Data surrounds us in the real world. Every day, people are presented with numbers and are expected to make predictions about future events.
Solve Systems of Equations By Graphing
Inference for regression - Simple linear regression
Linear Regression Analysis Additional Reference: Applied Linear Regression Models – Neter, Kutner, Nachtsheim, Wasserman The lecture notes of Dr. Thomas.
6.6 : General Form of the Equation for a Linear Relation
TODAY IN ALGEBRA…  Warm Up: Graphing Linear Equations and solving for y.  Learning Goal: 7.1 You will solve systems on linear equations by Graphing 
Quadratic Patterns and Function Notation
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
Copyright © Cengage Learning. All rights reserved. Logarithmic Function Modeling SECTION 6.5.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
1.6 Linear Regression & the Correlation Coefficient.
Daily Homework Quiz Review 5.3
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
PS 225 Lecture 20 Linear Regression Equation and Prediction.
Unit 3 Part 2 Writing Equations Ax + By = C (standard form) y = mx + b (slope – intercept form)
The numerator must always be 1 degree less than the denominator
Unit 4 Seminar Agenda Slope  What it is, What it looks like, how to find it  Ordered Pairs Types of Lines  Diagonal, Horizontal, and Vertical  Parallel.
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
Writing Equations of Lines. Find the equation of a line that passes through (2, -1) and (-4, 5).
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Solving Systems of Equations by Graphing
2.6 Extension Writing Equations of Parallel and Perpendicular Lines.
Review of Matrix Operations Vector: a sequence of elements (the order is important) e.g., x = (2, 1) denotes a vector length = sqrt(2*2+1*1) orientation.
3.1 – Solve Linear Systems by Graphing A system of two linear equations in two variables x and y, also called a linear system, consists of two equations.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
Warm-Up Determine the coordinates of each point in the graph below. y
Do Now 11/28/11 In your notebook, explain if the equations below are the same line. y – 5 = 3(x + 2) y – 2 = 3(x + 5) y = 3x + 11 y = 3x + 17 No No y –
Warm-Up 1) Determine whether the point (0,3) is a solution to y = 5x minutes 2) Graph y = -2x + 1.
2 – 3: Quick Graphs of Linear Equations Objective: CA Standard 17: Use the slope – intercept form of a linear equation to graph a linear equation. Use.
Copyright © 2015, 2008, 2011 Pearson Education, Inc. Section 1.4, Slide 1 Chapter 1 Linear Equations and Linear Functions.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
R. Kass/W03 P416 Lecture 5 l Suppose we are trying to measure the true value of some quantity (x T ). u We make repeated measurements of this quantity.
Warm Up Multiply the matrices. 1. Find the determinant. 2. –1 Welcome! I’m so glad you’re here! Please get your Calculator. Please get started on this.
Warm Up 116 Solve. 6n + 4 = n – 11 Determine whether each linear relationship is proportional. If so, state the constant of proportionality. Write an equation.
Simple Linear Regression In many scientific investigations, one is interested to find how something is related with something else. For example the distance.
Daily Homework Quiz Review 5.3
Review of Matrix Operations
Linear Regression.
Quick Graphs of Linear Equations
The Inverse of a Square Matrix
Simple Linear Regression - Introduction
Midterm Review.
Simple Linear Regression
Linear Equations Notes & Practice.
Regression Models - Introduction
Linear Models and Equations
Slope = m = rate of change
Topic 6 - Square Root Functions & Equations
Nonlinear Fitting.
Integrated high-resolution tomography
CALCULATING EQUATION OF LEAST SQUARES REGRESSION LINE
Unit 1 Day 8 Inverse Functions
Solving Linear Systems of Equations - Inverse Matrix
Presentation transcript:

29 Palms Vehicle Detection (what we wanted to do)

Vehicle Tracking ? Event Pattern Regression Analysis ESTIMATES Vehicle speed = 17 MPH Entry time = 21:09: Update Pattern Vehicles trigger network events Events are matched to a dynamic pattern to determine vehicle parameters

One-dimensional problem Each node i has a name n i and a position p i along the road The nodes don’t know their positions exactly, but we do need some estimate p

Problem restrictions Assumption 1: There is only one vehicle in the network at a time This lets us separate events – deal with them independently So… an event is characterized by the time that the vehicle reaches each node in the network Assumption 2: The vehicle moves with a constant velocity v. This means that the relationship between time and position is linear, p = vt.

Linear formulation For each vehicle, there are two parameters: 1.t 0 – the time the vehicle passes through point p = 0 2.v – the speed of the vehicle (positive for increasing p) Each node contributes one equation, if we combine all nodes: t 1 = t 0 + (1/v)p 1 t 2 = t 0 + (1/v)p 2 … etc. This can be cast as the equation Ax = b with:

Least squares solution This overdetermined system can be solved using the least squares solution x = (A T A) -1 A T b Matrix inversion is only a 2x2! Akin to fitting a line through a series of points – here our slope is (1/v) and our t 0 is the y-intercept We can use as many equations (at least two) as we want – each node can poll its neighbours and use as much information as desired, allowing for missed readings Messages sent are: “Hi, I saw the vehicle at time t and I think that I’m at position p”. We don’t even care who you are.

Position update Once we calculate v, go back and make a new guess at each p i t i = (1/v)p i new + t 0 p i new = (t i -t 0 )v Update according to some non-catastrophic weighted rule like: Detect Vehicle (fix p i ’s) Update Positions (fix t 0, v) Make Initial guess For p i ’s Better Results As time progresses

Extensions? (Are our restrictions problematic for a more realistic scenario?) One vehicle at a time + constant velocity requirements can be satisfied providing we consider a small enough region of the network at a time The 1-D to 2-D extension is more difficult… matched against a single pattern, would require more patterns (perhaps one for vertical and one for horizontal travel at each node?)