I'm encountering an issue where I get the error "ValueError: Input contains NaN" when calling VAE.fit(X) inside a for-loop for anomaly detection.
I've verified that my dataset, X, does not contain any NaN values. According to the documentation, "y is ignored in unsupervised methods" but it seems that in pairwise_distances_no_broadcast function, y is still being checked with Y = check_array(Y), which causing this issue.
Any insights into how to resolve it would be greatly appreciated.
Hi everyone,
I'm encountering an issue where I get the error "ValueError: Input contains NaN" when calling VAE.fit(X) inside a for-loop for anomaly detection.
I've verified that my dataset, X, does not contain any NaN values. According to the documentation, "y is ignored in unsupervised methods" but it seems that in pairwise_distances_no_broadcast function, y is still being checked with Y = check_array(Y), which causing this issue.
Any insights into how to resolve it would be greatly appreciated.
Thank you!