ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

rank · MMR

This relation defines MMR in the source section “rank · MMR”. Chooses an argument maximizing the displayed objective over the stated feasible set. Its interpretation depends on the source’s stated variables and conditions; this record does not assign an unprovided…

Implementation mathematicsSource recovered; runtime not executed
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
gh-eq-56c8cff94b93fb6csource-comment-equation
MMR=argmax[lambda∗score(c)−(1−lambda)∗maxsim(c,selected)]MMR = argmax [ lambda * score(c) - (1 - lambda) * max_sim(c, selected) ]

Read the equation

This relation defines MMR in the source section “rank · MMR”. Chooses an argument maximizing the displayed objective over the stated feasible set. Its interpretation depends on the source’s stated variables and conditions; this record does not assign an unprovided physical or cognitive meaning to them.

Terms & definitions

The recovered passage does not supply a separate symbol table. Read the source context for the notation used in this version; familiar letters may carry different meanings in other builds.

How it works

  1. Read MMR as the quantity being defined or updated by this relation.

  2. Chooses an argument maximizing the displayed objective over the stated feasible set.

  3. Use this version’s variable definitions and update order. The same symbol may be assigned a different meaning in another build.

Assumptions & limits

  • This source expression was recovered from the pinned code revision. Its presence does not establish that the associated program was built, run, or scientifically validated.

Original context

Read the surrounding source passage
import { weightOf } from '../signal/signals.js';

export { DEFAULT_CONFIG };

/**
 * Maximal Marginal Relevance (Carbonell & Goldstein, SIGIR 1998).
 *
 *   MMR = argmax [ lambda * score(c)  -  (1 - lambda) * max_sim(c, selected) ]
 *
 * @param {Array<{item: object, score: number}>} scored  Pre-scored candidates.
 * @param {number} lambda   Relevance/novelty trade-off in [0, 1].
 * @param {number} limit    How many to return.
 * @returns {Array<{item: object, score: number}>}
 */
export function mmrSelect(scored, lambda, limit) {
  const pool = scored.slice();
  const picked = [];
  const n = Math.min(limit, pool.length);
Exact original notation
MMR = argmax [ lambda * score(c)  -  (1 - lambda) * max_sim(c, selected) ]

Related builds

Sources & provenance

01
Janady13/feedthejoe / src/core/rank/rank.js
Lines 31–31 · 0e608a2b515a

Search equations, builds, manuscript text, and recovered sources.