Coder Social home page Coder Social logo

DBSCAN for trajectories about dbscan HOT 4 CLOSED

mhahsler avatar mhahsler commented on May 24, 2024
DBSCAN for trajectories

from dbscan.

Comments (4)

mhahsler avatar mhahsler commented on May 24, 2024

If all your trajectories have the same length then you would just create a matrix where each row has all the x and y values of the points defining the trajectory.

from dbscan.

kageazusa avatar kageazusa commented on May 24, 2024

Thank you! Let me ask you additional questions:

  1. Is it the same to treat the data as {(x1, y1), (x2, y2) ..., (xn, yn)} and as (x1, x2, ..., xn, y1, y2, ..., yn) in the context of DBSCAN? Your answer is the latter case, but I'm not sure if they are identical.
  2. What if I would like to analyze trajectories with different lengths? Does a matrix with NA work? (e.g. trajectory 1: length 5, trajectory 2: length 3 -> Can I fill the tail of the row of trajectory 2 with NA?)

from dbscan.

mhahsler avatar mhahsler commented on May 24, 2024

Different lengths are an issue and NAs will not work. The best solution would be to calculate a distance matrix between the trajectories using the appropriate approach (see e.g., https://zheng-kai.com/paper/vldbj_2019.pdf) and then do dbscan on that distance matrix.

from dbscan.

kageazusa avatar kageazusa commented on May 24, 2024

Thank you very much. I will look over the paper!

from dbscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.