| sfa_lexmap | R Documentation |
Precomputes everything leximax needs to score orientations of one instrument: the instruction-conditioned item embeddings, their Gram matrix, and the pool-by-item cosine matrix S. Building the map costs one pass over the candidate pool; every subsequent naming of any orientation of the same items is then nearly instant, which is what makes multi-start optimization and Monte Carlo calibration practical.
sfa_lexmap(
x,
model = NULL,
instruction = NULL,
pool = NULL,
block_size = 50000L,
...
)
x |
An |
model |
Naming model id. Default |
instruction |
Naming instruction override (see
|
pool |
An |
block_size |
Pool rows per block while building S (memory knob; results are identical for any value). |
... |
Passed to the embedding backend. |
An object of class sfa_lexmap.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.