Skip to content

Commit 4d9ebb2

Browse files
stesCeliaBenquet
andauthored
add annotations to goodness_of_fit_history
Co-authored-by: Célia Benquet <[email protected]>
1 parent 6aa147c commit 4d9ebb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cebra/integrations/sklearn/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def goodness_of_fit_score(cebra_model: cebra_sklearn_cebra.CEBRA,
154154
return infonce_to_goodness_of_fit(loss, cebra_model)
155155

156156

157-
def goodness_of_fit_history(model):
157+
def goodness_of_fit_history(model: cebra_sklearn_cebra.CEBRA) -> np.ndarray:
158158
"""Return the history of the goodness of fit score.
159159
160160
Args:

0 commit comments

Comments
 (0)