SoftmaxRegressionResult
Snapshot from SoftmaxRegressionStat: per-class linear-model parameters plus cumulative bookkeeping. The K-by-p weights matrix and length-K biases vector define the linear predictors eta[k] = biases[k] + weights[k] . x; the predicted class probability is the softmax over the K logits.
Constructors
Properties
Per-class intercept; length numClasses.
Accumulated weighted negative log-likelihood (cross-entropy) over the stream.
Number of input features (columns of weights).
Number of classes (rows of weights and length of biases).
Cumulative observation weight folded in.
K-by-p weight matrix; weights[k][i] is the coefficient on feature i for class k.
SoftmaxRegressionResult
biases
Per-class intercept; length numClasses.
crossEntropy
Accumulated weighted negative log-likelihood (cross-entropy) over the stream.
featureSize
Number of input features (columns of weights).
logit
numClasses
Number of classes (rows of weights and length of biases).
predict
Argmax class index for x.
probabilities
Softmax probabilities across all classes for x; length numClasses.
step
totalWeights
Cumulative observation weight folded in.
weights
K-by-p weight matrix; weights[k][i] is the coefficient on feature i for class k.