Expand description
Temperature-scaled softmax and the classification/regression ensemble-combination paths from
TabFMClassifier._process_logits / TabFMRegressor._combine_predictions.
Enums§
Functions§
- aggregate_
classification _process_logits:logits_allis[n_estimators][n_classes], already un-shifted back to original class order. Returns final[n_classes]probabilities.- average_
scaled_ predictions _combine_predictions, NNLS-off (default) path: average the still-scaled per-member predictions first; the caller inverse-transforms the single averaged result afterward.- softmax_
temperature TabFMClassifier.softmax(temperature divides logits before the max-subtracted softmax).- unshift_
logits - Undoes a member’s class-label shift: that member was fed
(y_true + shift) % n_classesas training labels, so its output logit at position(c + shift) % n_classesis the prediction for original classc. - weighted_
unscaled_ predictions _combine_predictions, NNLS-on path: each member’s prediction has already been inverse-transformed by the caller; combine via the fitted weights.