Skip to content

release: 3.0.0-alpha.18 (grouped-ranking toolkit, penalised LogisticRegression) - #22

Merged
jpurnell merged 14 commits into
mainfrom
release/3.0.0-alpha.18
Nov 22, 2026
Merged

jpurnell merged 14 commits into
mainfrom
release/3.0.0-alpha.18

Conversation

@jpurnell

Copy link
Copy Markdown
Owner

Adds a generic grouped-ranking toolkit (Statistics/GroupedRanking) and a penalised LogisticRegression.fit(penalty:). Additive and source-compatible for anyone on alpha.17.

  • Conditional-logit (subset) and Plackett-Luce (ranking) likelihoods over grouped candidates, with optional fixed offsets
  • A prior-centred penalty on each weight's relative change, with non-negativity
  • Per-group ranking metrics, a bootstrap over groups, grouped and nested k-fold, HeldOutComparison
  • LogisticRegression.fit(penalty:), a ridge-type fit that returns a result where the unpenalised fit refuses separated data
  • DocC article 2.8-GroupedRanking (examples run by tests), ADR-011, proposal BusinessMathGroupedRanking.md
  • Release housekeeping: CHANGELOG, README notice and install line, master plan Current Status reconciled for alpha.12 to alpha.18

Not included: the MCP tools (phase D, in businessMathMCP).

Gate: quality-gate --check all --strict passed, 51 of 51 checkers, 0 errors and 0 warnings, on a04eecb.

🤖 Generated with Claude Code

https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt

jpurnell and others added 14 commits November 21, 2026 11:03
…centred, intercept unpenalised)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…logit) likelihood (B1)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…le step and fit (B2)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…ation (B3)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…ldOutComparison (B4)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…ta (B5); CHANGELOG

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…ility is saturated; close mutation gaps

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
…y makes unreachable

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
# Conflicts:
#	CHANGELOG.md
… master plan and proposal reconciled (B7)

The article's examples are run by GroupedRankingDocumentationTests. The softmax test now pins the direction of its bias (understates: measured 0.636 for a true weight of 1).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
The grouped-ranking toolkit (Statistics/GroupedRanking) and a penalised LogisticRegression.fit.
Additive, source-compatible. CHANGELOG moved from Unreleased; README notice and install line, and
master plan Current Status (alpha.12 to alpha.18) reconciled.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017dtpLZ6XGCJVmSqc1u4qUt
@jpurnell
jpurnell merged commit ff6f233 into main Nov 22, 2026
4 checks passed
@jpurnell
jpurnell deleted the release/3.0.0-alpha.18 branch November 22, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant