Raw trajectories are noisy, variable in length and difficult to compare. The project extracts early classification features from kinematics, geometry, pauses and scrolling within the first 15 seconds.
03 — Behavioral ML · Real-time inference
CursorAI
Classify interaction patterns from the first 15 seconds.
Try the live demo↗CursorAI turns the first 15 seconds of mouse movements, pauses and scrolling into an interaction fingerprint, then explores whether it resembles targeted search or free browsing.
A readable account of the interaction, a search-or-browsing model hypothesis and ten important signals to discuss with the visitor.
Project anatomy
From micro-movements to task classification.
I built a workflow connecting the first 15 seconds of interaction to a task hypothesis and the signals used by the model.
Core pipeline
Select a step to understand how the data is transformed.The frontend captures cursor positions, timestamps, clicks and scrolling while the interface is explored.
Implemented features
Visible capabilities are connected to the technical components that make them possible.Live trajectory
The interface visualizes movements actually produced during the demonstration.
Interaction fingerprint
Pointer distance, clicks, scrolling and gaps summarize what happened during the session.
Explainable features
Velocity, acceleration, distance and direction changes remain visible and interpretable.
Early prediction
Classification uses the first 15 seconds of interaction.
Ten important signals
The model’s ten most-used features are shown with their importance and the session value.
Research questions
Observations provide starting points for asking visitors what they were looking for and what guided their journey.
Stack by responsibility
Each technology is placed within its role in the system.React
Experience instrumentation and score presentation.
FastAPI
Batch collection and session prediction endpoint.
Pandas · NumPy
Trajectory reconstruction and normalization.
Feature engineering
Kinematics, direction, distance and temporal aggregates.
Scikit-learn · Joblib
GradientBoostingClassifier, class probability and model serialization.
GCS · Cloud Run
Session persistence and API execution.
What the work establishes
Observed results, key learnings and next product measurements.Observed result
The search-versus-free-viewing experiment selects a GradientBoostingClassifier from 1,960 configurations: mean internal ROC-AUC 0.6725 across five folds. This is model-selection evidence, not an external test.
Lesson
Cursor kinematics, pauses and scrolling produce a behavioral signal that can be used very early in the session.
To measure
Participant and session counts; performance on an independent set, baseline comparison and inference latency.
Explore the signals in a cursor journey.
See how a 15-second exploration becomes an interaction fingerprint, a model hypothesis and research questions.
A 30-second film to discover the tool. Current interfaces and features in motion; try the demo with your own inputs.Every journeyleaves a fingerprint.
Turn cursor movements into questions about the user experience.
15 seconds · Interaction signals · Journey hypothesisFilm details
Turn cursor movements into questions about the user experience.
Application screen · illustrative motion treatmentMovement, pauses, clicks and scrolling build the first signals.
Application screen · illustrative motion treatmentThe classifier explores whether the fingerprint resembles targeted search or free browsing.
Actual CursorAI test-session resultConnect important features with what the visitor was looking for, reading or hesitating to do.
Application screen · illustrative motion treatmentAn exploratory reading to prepare a discussion with your users.
Application screen · illustrative motion treatment05 — OBSERVABLE RESULT
“Mean internal ROC-AUC of 0.6725 in five-fold model-selection CV for search versus free viewing”

