-
The evaluation metrics, for example # Each finger's load shall be relative to the specified weights
finger_balance:
enabled: true
weight: 50.0
normalization:
type: fixed
value: 1.0
params:
# Intended factors for finger load. Thumb values are ignored.
intended_loads:
[Left, Pinky]: 1.0
[Left, Ring]: 1.6
[Left, Middle]: 2.0
[Left, Index]: 2.0
[Left, Thumb]: 2.0
[Right, Thumb]: 2.0
[Right, Index]: 2.0
[Right, Middle]: 2.0
[Right, Ring]: 1.6
[Right, Pinky]: 1.0
# Each hand's load shall be close to 50%
hand_disbalance:
enabled: true
weight: 40.0
normalization:
type: fixed
value: 1.0
params:
null: null
# Each keystroke incurs a cost (defined in the keyboard's layout config)
key_costs:
enabled: true
weight: 20.0
normalization:
type: weight_found
value: 1.0
params:
null: null Could you explain how the final "cost" score is calculated from these? My first assumption is:
is that correct? The second question is about the
How do the normalization parameters affect the final score? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Your assumption is correct. The final score is the weighted sum of the individual metric scores just as in your formula. The cost for most metrics is generated by summing up all costs associated with individual ngrams. In that case, one tries to factor out the total weight in the corpus (the total number of occurrences of all ngrams) and normalize the result to have a value "per ngram". If you chose In your example above, the The normalization type |
Beta Was this translation helpful? Give feedback.
Perfect, thanks a lot! So to summarize, the final cost is calculated as:
each metric is calculated as:
where:
value
is the value from thenormalization
dictionary from the evaluation configurationmetric
is the calculated metric, as output by the chosen metric function (usually from the same name.rs
file as the metric name)N
depends on thenormalization.type
, and isfixed
weight_all