JTLATestMultinomial#
- class scio.scores.classification.jtla.JTLATestMultinomial[source]#
Bases:
TypedDictJTLA’s multinomial test syntax.
Precisely describes possible
testvalues for multinomial test inJTLA.- Parameters:
type (
Literal["multinomial"]) – The type of test. Must be"multinomial".mode (
MultinomialTestModeLike) – SeeMultinomialTestMode.k (
int) – Number of neighbors to consider.prior (
Tensor | float, optional) – If not provided, treated as1.0. Must be broadcastable to(n_classes, n_classes), where each row defines the Dirichlet prior for the corresponding class-conditional test. Ignored inMLEmode.special_prior (
float, optional) – If provided, refers to the epsilon from the “special prior” in the authors’ implementation. In this case,prioris ignored.