#1174·umap

Replace force_all_finite with ensure_all_finite to Address FutureWarning

Author: aminsabzmakanCreated Jan 6, 2025Updated Mar 4, 2026

The use of the force_all_finite in the check_array method is causing a FutureWarning due to a recent deprecation in scikit-learn. According to the warning, force_all_finite has been renamed to ensure_all_finite in scikit-learn version 1.6 and will be removed in version 1.8.

https://github.com/scikit-learn/scikit-learn/issues/29262