1
0
Fork 0

switching

This commit is contained in:
Alejandro Moreo Fernandez 2024-03-20 17:31:07 +01:00
parent 472e49047e
commit a04723a976
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ def normalize_prevalence(prevalences: ArrayLike, method='l1'):
elif method=='condsoftmax':
normalized = condsoftmax(prevalences)
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