scikit-tree icon indicating copy to clipboard operation
scikit-tree copied to clipboard

Allow NaN values in unsupervised random forest

Open weioren opened this issue 6 months ago • 1 comments
trafficstars

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Changed fit function in _unsupervised_forest.py to add ensure_all_finite = "allow-nan" parameter to ensure NaN values are always allowed.

Any other comments?

weioren avatar Apr 22 '25 18:04 weioren

Hi @weioren note this will not enable splitting on missing values, as the core logic within Cython needs to get implemented.

adam2392 avatar Jun 03 '25 13:06 adam2392