Softmax#

class sdm.processing.output.Softmax(*, temperature: float = 1.0)#

Bases: Processor

Apply softmax to logits after temperature scaling.

Softmax acts on the final class dimension and preserves all leading dimensions, so it supports both stacked and reduced estimator outputs.

Parameters:

temperature (float) – Positive divisor applied to logits before softmax; higher values produce a softer distribution.

Capabilities#

Handled Semantic Types

numerical

Requires Fitting

❌