switching
This commit is contained in:
parent
472e49047e
commit
a04723a976
|
@ -224,7 +224,7 @@ def normalize_prevalence(prevalences: ArrayLike, method='l1'):
|
||||||
elif method=='condsoftmax':
|
elif method=='condsoftmax':
|
||||||
normalized = condsoftmax(prevalences)
|
normalized = condsoftmax(prevalences)
|
||||||
else:
|
else:
|
||||||
raise ValueError(f'unknown {method=}, valid ones are ["l1", "clip", "mapsimplex", "softmax"]')
|
raise ValueError(f'unknown {method=}, valid ones are ["l1", "clip", "mapsimplex", "softmax", "condsoftmax"]')
|
||||||
|
|
||||||
return normalized
|
return normalized
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue