Ai
123 Star 0 Fork 24

src-openEuler/python-scikit-learn

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
python-scikit-learn.spec 5.83 KB
Copy Edit Raw Blame History
zhangyulongkylinos authored 2025-09-23 17:41 +08:00 . Upgrade package to version 1.7.2
%global debug_package %{nil}
Name: python-scikit-learn
Summary: A Python module for machine learning built on top of SciPy
Version: 1.7.2
Release: 1
License: BSD-3-Clause
URL: https://scikit-learn.org/stable/
Source0: https://files.pythonhosted.org/packages/source/s/scikit_learn/scikit_learn-%{version}.tar.gz
%global _description\
scikit-learn is a Python module for machine learning built on top of SciPy\
and is distributed under the 3-Clause BSD license.\
%description %_description
%package -n python3-scikit-learn
Summary: %summary
%{?python_provide:%python_provide python3-scikit-learn}
%{?python_provide:%python_provide python3-sklearn}
BuildRequires: python3-devel python3-numpy python3-Cython python3-pytest python3-scipy g++
BuildRequires: python3-pip python3-wheel python3-meson-python
Requires: python3 >= 3.5 python3-numpy >= 1.11.0
Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
%description -n python3-scikit-learn %_description
%prep
%autosetup -n scikit_learn-%{version} -p1
%build
CFLAGS="$RPM_OPT_FLAGS -s"
%pyproject_build
%install
%pyproject_install
%files -n python3-scikit-learn
%license COPYING
%doc examples/ README.rst
%{python3_sitearch}/sklearn
%{python3_sitearch}/scikit_learn-%{version}.dist-info/
%changelog
* Tue Sep 23 2025 zhangyulong <zhangyulong@kylinos.cn> - 1.7.2-1
- Update package to version 1.7.2
-Fix compose.TransformedTargetRegressor now passes the transformed target to the regressor with the same number of dimensions as the original targe
-Fix Set the tag requires_fit=False for the classes feature_extraction.FeatureHasher and feature_extraction.text.HashingVectorizer.
-Fix Fixed a bug in impute.SimpleImputer with strategy="most_frequent" when there is a tie in the most frequent value and the input data has mixed types
-Fix Fixed a bug with solver="newton-cholesky" on multi-class problems in linear_model.LogisticRegressionCV and in linear_model.LogisticRegression when used with warm_start=True.
-Fix pipeline.FeatureUnion now validates that all transformers return 2D outputs and raises an informative error when transformers return 1D outputs, preventing silent failures that previously produced meaningless concatenated results.
* Mon Jul 28 2025 Ge Wang <wang__ge@126.com> - 1.7.1-1
- Update package to version 1.7.1
* Fix regression in HTML representation when detecting the non-default parameters that where of array-like types.
* Fix compose.ColumnTransformer now correctly preserves non-default index when mixing pandas Series and Dataframes.
* Fix a regression preventing to extract the downloaded dataset in datasets.fetch_20newsgroups,
datasets.fetch_20newsgroups_vectorized, datasets.fetch_lfw_people and datasets.fetch_lfw_pairs.
This only affects Python versions >=3.10.0,<=3.10.11 and >=3.11.0,<=3.11.3.
* Fix Fix multiple issues in the multiclass setting of inspection.DecisionBoundaryDisplay:
contour plotting now correctly shows the decision boundary.
cmap and colors are now properly ignored in favor of multiclass_colors.
Linear segmented colormaps are now fully supported.
* Fix naive_bayes.CategoricalNB now correctly declares that it accepts categorical features in the tags returned by its __sklearn_tags__ method.
* Fix a spurious warning (about the number of unique classes being greater than 50% of the number of samples)
that could occur when passing classes utils.multiclass.type_of_target.
* Sun Apr 27 2025 yaoxin <1024769339@qq.com> - 1.6.1-1
- Update to 1.6.1:
* __sklearn_tags__ was introduced for setting tags in estimators.
* Scikit-learn classes and functions can be used while only having
a import sklearn import line.
* Many classes now properly handle Matplotlib aliases for style
parameters (e.g., c and color, ls and linestyle, etc).
* `utils.validation.validate_data` is introduced and replaces
previously private base.BaseEstimator._validate_data method.
This is intended for third party estimator developers, who should
use this function in most cases instead of `utils.check_array`
and `utils.check_X_y`.
* Additional estimators and functions have been updated to include
support for all Array API compliant inputs.
* Preliminary free-threaded CPython 3.13 support
* The tags.input_tags.sparse flag was corrected for a majority of
estimators.
* _more_tags, _get_tags, and _safe_tags are now raising a `DeprecationWarning`
instead of a `FutureWarning` to only notify developers instead of end-users.
* Fri Jun 07 2024 xuchenchen <xuchenchen@kylinos.cn> - 1.4.0-2
- Type:CVES
- ID:CVE-2024-5206
- SUG:NA
- DESC:fix CVE-2024-5206
* Fri Mar 08 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.0-1
- Update package to version 1.4.0
* Tue Sep 12 2023 xu_ping <707078654@qq.com> - 1.3.2-1
- Update version to 1.3.2
* Sat May 6 2023 caodongxia <caodongxia@h-partners.com> - 1.2.1-1
- Update version to 1.2.1
* Tue Dec 6 2022 lijian <lijian2@kylinos.cn> - 1.1.3-1
- Upgrade to version 1.1.3
* Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.1.1-1
- Upgrade to version 1.1.1
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 0.24.0-5
- Provides python-scikit-learn and python-sklearn for compatibility
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.24.0-4
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Jun 23 2021 liudabo <liudabo1@huawei.com> - 0.24.0-3
- Add g++ build dependcy
* Sat Mar 20 2021 shixuantong <shixuantong@huawei> - 0.24.0-2
- strip binary files
* Wed Jan 13 2021 SimpleUpdate Robot <tc@openeuler.org> - 0.24.0-1
- Upgrade to version 0.24.0
* Thu Oct 1 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 0.23.1-2
- upgrade to 0.23.2
* Fri Jul 31 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 0.23.1-1
- upgrade to 0.23.1
* Wed Jan 22 2020 Jiangping Hu <hujp1985@foxmail.com> - 0.20.4-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-scikit-learn.git
git@gitee.com:src-openeuler/python-scikit-learn.git
src-openeuler
python-scikit-learn
python-scikit-learn
master

Search