Cognitive Analysis
Pattern analysis, reasoning evaluation, and cognitive load assessment
8 toolscognition
Cognition Analyze
/// Returns the cognitive profile: entropy, sparsity, utilization, peak attention.
no params
Cognition Confidence
/// Confidence = max(softmax(logits)) — probability mass on top choice.
no params
Cognition Embed
/// Returns the embedding vectors for each token in the input.
no params
Cognition Entropy
/// H(p) = -Σ pᵢ · log₂(pᵢ)
no params
Cognition Forward
per-layer attention entropy, and predicted token with confidence.
no params
Cognition Perplexity
/// Perplexity = exp(-1/N · Σ log(p(tokenᵢ)))
no params
Cognition Process
(for composability with cognition_perplexity), and attention profile.
no params
Cognition Sample
/// Supports temperature, top-k, top-p, and repetition penalty.
no params