search_similar_trajectory

Community

Quickly find similar trajectory records.

Authorbettercallfan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill simplifies the task of identifying trajectory records that are similar to a given trip, based on common attributes such as start/end position, travel distance, and duration.

Core Features & Use Cases

  • Identify Similar Trips: Efficiently find and retrieve historical trajectory records that share similar characteristics with a target trip.
  • Use Cases: Ideal for explaining route anomalies, comparing commute groups, or retrieving historical case studies.
  • Algorithm: Uses trip feature vectorization, coordinate comparison, and nearest-neighbor ranking to match trajectories.

Quick Start

Execute the following command to search for similar trips based on a provided target trip ID and output the results.

python3 scripts/search_similar_trajectory.py \
  --input /path/to/trips.jsonl \
  --output-dir /path/to/output \
  --target-trip-id trip_000001 \
  --top-k 10

Replace /path/to/trips.jsonl with the actual path to your trip data file and /path/to/output with the desired output directory.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: search_similar_trajectory
Download link: https://github.com/bettercallfan/deerflow/archive/main.zip#search-similar-trajectory

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.