轨迹数据挖掘介绍_第1页
轨迹数据挖掘介绍_第2页
轨迹数据挖掘介绍_第3页
轨迹数据挖掘介绍_第4页
轨迹数据挖掘介绍_第5页
已阅读5页,还剩37页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、.Chapter 1Trajectory PreprocessingJohn KrummMicrosoft ResearchRedmond, WA USAWang-Chien LeePennsylvania State UniversityUniversity Park, PA USA.Traffic infoNavigationLocal weatherEmergency serviceLogisticsLocation-Based ServicesGeographical InformationSystem (GIS)TrackingMobile Commerce.System Model

2、 for LBSs The locations of tracked moving objects are reported to the location server via wireless communications. The LBS applications submit queries to the server to retrieve moving object data for analysis or other application needs.Trajectories, , ., Positioning technologies Global positioning s

3、ystem (GPS) Network-based (e.g., using cellular or wifi access points) Dead-Reckoning (for estimation).Mobile Object Databases Research communities have made tremendous research effort to support LBSs. E.g., Mobile object databases (MODs) In addition to conventional search functions of moving object

4、s, many LBS applications need to analyze and mine various moving patterns and phenomenon of tracked objects. Trajectory Management: trajectories of moving objects, i.e., their geographical-temporal traces, are often treated as first-class citizens in MODs. .Trajectory Preprocessing Problems to solve

5、 with trajectories Lots of trajectories lots of data Noise complicates analysis and inference Employ the data reduction and filtering techniques Specialized data compression for trajectories Principled filtering techniques .Part 1 - Compression.Performance Metrics Trajectory data reduction technique

6、s aims to reduce trajectory size w/o compromising much precision. Performance Metrics Processing time Compression Rate Error Measure The distance between a location on the original trajectory and the corresponding estimated location on the approximated trajectory is used to measure the error introdu

7、ced by data reduction. Examples are Perpendicular Euclidean Distance or Time Synchronized Euclidean Distance.Illustration of Error Measures Perpendicular Euclidean Distance Time Synchronized Euclidean Distance.Trajectory Data Reduction Classification of Data Reduction Techniques. Batched Compression

8、: Collect full set of location points and then compress the data set for transmission to the location server. Applications: content sharing sites such as Everytrail and Bikely. Techniques include Douglas-Peucker Algorithm, top-down time-ratio (TD-TR), and Bellmans algorithm. On-line Data Reduction S

9、elective on-line updates of the locations based on specified precision requirements. Applications: traffic monitoring and fleet management. Techniques include Reservoir Sampling, Sliding Window, and Open Window.Batch Compression - Douglas-Peucker (DP) AlgorithmPreserve directional trends in the appr

10、oximated trajectory using the perpendicular Euclidean distance as the error measure.Replace the original trajectory by an approximate line segment. If the replacement does not meet the specified error requirement, it recursively partitions the original problem into two subproblems by selecting the l

11、ocation point contributing the most errors as the split point. This process continues until the error between the approximated trajectory and the original trajectory is below the specified error threshold. .Illustration of DP Algorithm Split at the point with most error. Repeat until all the errors

12、R), randomly decides, with a probability of R/k, whether to keep this location point or not. If the decision is positive, one of the R existing location points in the reservoir is discarded randomly to make space for the new location point. the reservoir algorithm always maintains a uniform sample o

13、f the evolving trajectory without even knowing the eventual trajectory size. .On-line Compression Sliding Window Fit the location points in a growing sliding window with a valid line segment and continue to grow the sliding window until the approximation error exceeds some error bound.First initiali

14、ze the first location point of a trajectory as the anchor point pa and then starts to grow the sliding window When a new location point pi is added to the sliding window, the line segment pa pi is used to fit all the location points within the sliding window. As long as the distance errors against t

15、he line segment pa pi are smaller than the user-specified error threshold, the sliding window continues to grow. Otherwise, the line segment pa pi-1 is included as part of the approximated trajectory and pi is set as the new anchor point. 1.The algorithm continues until all the location points in th

16、e original trajectory are visited.Sliding Window - Illustration While the sliding window grows from p0 to p0, p1, p2, p3, all the errors between fitting line segments and the original trajectory are not greater than the specified error threshold. When p4 is included, the error for p2 exceeds the thr

17、eshold, so p0p3 is included in the approximate trajectory and p3 is set as the anchor to continue. .Open Window Different from the sliding window, choose location points with the highest error in the sliding window as the closing point of the approximating line segment as well as the new anchor poin

18、t. When p4 is included, the error for p2 exceeds the threshold, so p0p2 is included in the approximate trajectory and p2 is set as the anchor to continue. .Part 1 SummaryTrajectory Data CompressionBatch Douglas-Peucker (DP) Top-Down Time Ratio (TDTR) time included Bellman dynamic programmingOn-line

19、Sliding window Open window (variation of sliding window).Part 2 - FilteringGoalsSmooth noise & outliersInfer higher level values (e.g. speed)TechniquesMean and medianKalman filterParticle filter.Running ExampleTrack a moving person in (x,y) 1075 (x,y) measurements = 1 second Manually added outli

20、ersmeasurement vectoractual locationnoisezero meanstandard deviation = 4 metersNotation.Mean Filter Also called “moving average” and “box car filter” Apply to x and y measurements separatelyzxtFiltered version of this point is mean of points in solid box “Causal” filter because it doesnt look into f

21、uture Causes lag when values change sharply Help fix with decaying weights, e.g. Sensitive to outliers, i.e. one really bad point can cause mean to take on any value Simple and effective (I will not vote to reject your paper if you use this technique) .Mean Filter10 points in each mean Outlier has n

22、oticeable impact If only there were some convenient way to fix this outlier.Median FilterzxtFiltered version of this point is mean median of points in solid boxInsensitive to value of, e.g., this pointmedian (1, 3, 4, 7, 1 x 1010) = 4mean (1, 3, 4, 7, 1 x 1010) 2 x 109Median is way less sensitive to

23、 outliners than mean.Median Filter10 points in each median Outlier has noticeable less impactoutlier.JokeThe one about the statisticians who go hunting.Kalman FilterMy favorite book on Kalman filtering Mean and median filters assume smoothness Kalman filter adds assumption about trajectoryAssumed tr

24、ajectory is parabolicdatadynamicsWeight data against assumptions about systems dynamicsBig difference #1: Kalman filter includes (helpful) assumptions about behavior of measured process.Kalman FilterBig difference #2: Kalman filter can include state variables that are not measured directlyKalman fil

25、ter separates measured variables from state variablesRunning example: measure (x,y) coordinates (noisy)Running example: estimate location and velocity (!)Measure:Infer state:.Kalman Filter MeasurementsMeasurement vector is related to state vector by a matrix multiplication plus noise.Running example

26、: In this case, measurements are just noisy copies of actual location Makes sensor noise explicit, e.g. GPS has of around 4 meters.Kalman Filter DynamicsInsert a bias for how we think system will change through timelocation is standard straight-line motionvelocity changes randomly (because we dont h

27、ave any idea what it actually does).Kalman Filter IngredientsH matrix: gives measurements for given stateMeasurement noise: sensor noise matrix: gives time dynamics of stateProcess noise: uncertainty in dynamics model.Kalman Filter Recipe Just plug in measurements and go Recursive filter current tim

28、e step uses state and error estimates from previous time stepBig difference #3: Kalman filter gives uncertainty estimate in the form of a Gaussian covariance matrix. Hard to pick process noise s Process noise models our uncertainty in system dynamics Here it accounts for fact that motion is not a st

29、raight lineVelocity model:“Tuning” s (by trying a bunch of values) gives better result.Particle FilterDieter Fox et al.WiFi tracking in a multi-floor building Multiple “particles” as hypotheses Particles move based on probabilistic motion model Particles live or die based on how well they match sens

30、or data.Particle FilterDieter Fox et al. Allows multi-modal uncertainty (Kalman is unimodal Gaussian) Allows continuous and discrete state variables (e.g. 3rd floor) Allows rich dynamic model (e.g. must follow floor plan) Can be slow, especially if state vector dimension is too large(e.g. (x, y, ide

31、ntity, activity, next activity, emotional state, ) ).Particle Filter Ingredients z = measurement, x = state, not necessarily same Probability distribution of a measurement given actual value Can be anything, not just Gaussian like Kalman But we use Gaussian for running example, just like KalmanFor r

32、unning example, measurement is noisy version of actual valueE.g. measured speed (in z) will be slower if emotional state (in x) is “tired”.Particle Filter Ingredients Probabilistic dynamics, how state changes through time Can be anything, e.g. Tend to go slower up hills Avoid left turns Attracted to Scandinavian people Closed form not necessary Just need a dynamic simulation with a noise component But we use Gaussian for running example, just like Kalmanxixi-1random vector.Particle Filter AlgorithmStart with N instances of state vector xi(j

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论