34876
scikit-learn Docs · نسخهٔ 5e9184e53cd3 · BSD-3-Clause
- Hot-loop NaN checks in
sklearn.treeand
sklearn.ensemble (histogram gradient boosting) now use a scikit-learn-local, always-inlined isnan helper instead of libc.math.isnan(), avoiding a non-inlined libm call on platforms/libc versions where the compiler cannot inline it (notably affecting fit performance of ensemble.ExtraTreesRegressor and ensemble.ExtraTreesClassifier on some conda-forge builds). By Arthur Lacote <cakedev0>.