doxa-linear / feature_spec.json
Giuliocc's picture
DOXA v0.1.0 experimental research pilot
4706b24 verified
Raw History Blame Contribute Delete
1.08 kB
{
"feature_version": "char-tfidf-v1",
"ngram_lengths": [
3,
4,
5
],
"max_vocabulary": 15000,
"channels": {
"t": "text",
"c": "context"
},
"context_weight": 1.0,
"normalization": "l2_after_channel_concatenation",
"unicode": "NFC, code-point n-grams, ASCII-only lowercase",
"whitespace_codepoints": [
32,
9,
10,
13,
11,
12,
133,
160,
5760,
8192,
8193,
8194,
8195,
8196,
8197,
8198,
8199,
8200,
8201,
8202,
8232,
8233,
8239,
8287,
12288
],
"term_frequency": "1 + ln(count)",
"idf": "ln((1 + N) / (1 + document_frequency)) + 1",
"document_frequency": "Unique original (passage, ordered context text) training input identities. Each channel-prefixed gram contributes once per identity.",
"vocabulary_order": "Descending document frequency, ascending Unicode code-point lexicographic order",
"max_text_codepoints": 6000,
"max_context_codepoints": 6000,
"unknown_passage_policy": "abstain even if context matches",
"N": 156
}