Skip to main content

Module baselines

Module baselines 

Source
Expand description

Simple baseline predictors for the next-app benchmark.

Structs§

AlwaysNoOpBackend
Always predict nothing (empty ranked list) — the simplest NoOp baseline.
FirstCandidateBackend
Always pick the first observable candidate.
GlobalMajorityBackend
Always predict the globally most frequent next app seen in training.
LastAppPrewarmBackend
Prewarm the app most recently switched to.
LastForegroundBackend
Predict the most recent non-current foreground app (user switching back).
MarkovBackend
First-order Markov: rank by P(next_app | current_app).
NotificationPriorityBackend
Rank candidates by notification priority heuristics.
PerCurrentAppMajorityBackend
Predict the most frequent next app conditioned on the current app.
RandomCandidateBackend
Randomly shuffle the observable candidates with a fixed seed.
RecentNotificationBackend
Predict the app that most recently posted a notification.