html_url
stringlengths
57
57
labels
listlengths
1
6
text
stringlengths
32
258k
issue_number
int64
22.4k
33k
https://github.com/scikit-learn/scikit-learn/issues/31020
[ "Needs Triage" ]
⚠️ CI failed on Check sdist (last failure: Mar 20, 2025) ⚠️ **CI is still failing on [Check sdist](https://github.com/scikit-learn/scikit-learn/actions/runs/13959330746)** (Mar 20, 2025) COMMENT: Need to bump from 3.9 to 3.10 here: https://github.com/scikit-learn/scikit-learn/blob/5cdbbf15e3fade7cc2462ef66dc4ea0f37f3...
31,020
https://github.com/scikit-learn/scikit-learn/issues/31019
[ "New Feature", "Needs Triage" ]
Allow column names to pass through when fitting `narwhals` dataframes ### Describe the workflow you want to enable Currently when fitting with a `narwhals` DataFrame, the feature names do not pass through because it does not implement a `__dataframe__` method. Example: ```python import narwhals as nw import pandas ...
31,019
https://github.com/scikit-learn/scikit-learn/issues/31019
[ "New Feature", "Needs Triage" ]
Allow column names to pass through when fitting `narwhals` dataframes ### Describe the workflow you want to enable Currently when fitting with a `narwhals` DataFrame, the feature names do not pass through because it does not implement a `__dataframe__` method. Example: ```python import narwhals as nw import pandas ...
31,019
https://github.com/scikit-learn/scikit-learn/issues/31019
[ "New Feature", "Needs Triage" ]
Allow column names to pass through when fitting `narwhals` dataframes ### Describe the workflow you want to enable Currently when fitting with a `narwhals` DataFrame, the feature names do not pass through because it does not implement a `__dataframe__` method. Example: ```python import narwhals as nw import pandas ...
31,019
https://github.com/scikit-learn/scikit-learn/issues/31019
[ "New Feature", "Needs Triage" ]
Allow column names to pass through when fitting `narwhals` dataframes ### Describe the workflow you want to enable Currently when fitting with a `narwhals` DataFrame, the feature names do not pass through because it does not implement a `__dataframe__` method. Example: ```python import narwhals as nw import pandas ...
31,019
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31010
[ "API", "RFC" ]
RFC Make all conditional/optional attributes raise a meaningful error when missing Related: https://github.com/scikit-learn/scikit-learn/issues/10525, https://github.com/scikit-learn/scikit-learn/issues/30999 Right now accessing attributes which are added to the instances when a method is called (like `coef_` in `fit...
31,010
https://github.com/scikit-learn/scikit-learn/issues/31007
[ "Documentation" ]
load_iris documentation target_names name wrong type ### Describe the issue linked to the documentation In the documentation of load_iris (https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_iris.html) the type of target_names is list but in code it's a numpyarray. **Version Checked** Version: 1....
31,007
https://github.com/scikit-learn/scikit-learn/issues/31007
[ "Documentation" ]
load_iris documentation target_names name wrong type ### Describe the issue linked to the documentation In the documentation of load_iris (https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_iris.html) the type of target_names is list but in code it's a numpyarray. **Version Checked** Version: 1....
31,007
https://github.com/scikit-learn/scikit-learn/issues/30999
[ "Documentation", "Needs Triage" ]
Attributes decleared in document and does not exist in ConfusionMatrixDisplay class ### Describe the issue linked to the documentation In the class `ConfusionMatrixDisplay` in the file `sklearn/metrics/_plot/confusion_matrix.py` There are extra attributes that does not exist in the class Attributes: ``` im_: matplot...
30,999
https://github.com/scikit-learn/scikit-learn/issues/30999
[ "Documentation", "Needs Triage" ]
Attributes decleared in document and does not exist in ConfusionMatrixDisplay class ### Describe the issue linked to the documentation In the class `ConfusionMatrixDisplay` in the file `sklearn/metrics/_plot/confusion_matrix.py` There are extra attributes that does not exist in the class Attributes: ``` im_: matplot...
30,999
https://github.com/scikit-learn/scikit-learn/issues/30992
[ "New Feature" ]
UID-based Stable Train-Test Split ### Describe the workflow you want to enable During model development, it's common to perform train-test splits multiple times on a dataset. This may occur during development iterations, when the dataset evolves over time, or when working with different data subsets. However, the cur...
30,992
https://github.com/scikit-learn/scikit-learn/issues/30992
[ "New Feature" ]
UID-based Stable Train-Test Split ### Describe the workflow you want to enable During model development, it's common to perform train-test splits multiple times on a dataset. This may occur during development iterations, when the dataset evolves over time, or when working with different data subsets. However, the cur...
30,992
https://github.com/scikit-learn/scikit-learn/issues/30992
[ "New Feature" ]
UID-based Stable Train-Test Split ### Describe the workflow you want to enable During model development, it's common to perform train-test splits multiple times on a dataset. This may occur during development iterations, when the dataset evolves over time, or when working with different data subsets. However, the cur...
30,992
https://github.com/scikit-learn/scikit-learn/issues/30992
[ "New Feature" ]
UID-based Stable Train-Test Split ### Describe the workflow you want to enable During model development, it's common to perform train-test splits multiple times on a dataset. This may occur during development iterations, when the dataset evolves over time, or when working with different data subsets. However, the cur...
30,992
https://github.com/scikit-learn/scikit-learn/issues/30992
[ "New Feature" ]
UID-based Stable Train-Test Split ### Describe the workflow you want to enable During model development, it's common to perform train-test splits multiple times on a dataset. This may occur during development iterations, when the dataset evolves over time, or when working with different data subsets. However, the cur...
30,992
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30991
[ "Bug" ]
Halving searches crash when using a PredefinedSplit as cv ### Describe the bug In some cases, it might be necessary to use a predefined split with an explicit training and testing set instead of cross-validation (for example if the data has a specific distribution of properties that should be the same in a training a...
30,991
https://github.com/scikit-learn/scikit-learn/issues/30988
[ "New Feature", "Needs Decision - Close", "Needs Investigation" ]
Make the halving searches scoring parameter also accept single value containers Currently, the HalvingRandomSearchCV and the HalvingGridSearchCV support only a single scoring metric. Because of that, only a single string or callable is accepted as scoring parameter. However, this causes it to not accept a single metri...
30,988
https://github.com/scikit-learn/scikit-learn/issues/30988
[ "New Feature", "Needs Decision - Close", "Needs Investigation" ]
Make the halving searches scoring parameter also accept single value containers Currently, the HalvingRandomSearchCV and the HalvingGridSearchCV support only a single scoring metric. Because of that, only a single string or callable is accepted as scoring parameter. However, this causes it to not accept a single metri...
30,988
https://github.com/scikit-learn/scikit-learn/issues/30988
[ "New Feature", "Needs Decision - Close", "Needs Investigation" ]
Make the halving searches scoring parameter also accept single value containers Currently, the HalvingRandomSearchCV and the HalvingGridSearchCV support only a single scoring metric. Because of that, only a single string or callable is accepted as scoring parameter. However, this causes it to not accept a single metri...
30,988
https://github.com/scikit-learn/scikit-learn/issues/30988
[ "New Feature", "Needs Decision - Close", "Needs Investigation" ]
Make the halving searches scoring parameter also accept single value containers Currently, the HalvingRandomSearchCV and the HalvingGridSearchCV support only a single scoring metric. Because of that, only a single string or callable is accepted as scoring parameter. However, this causes it to not accept a single metri...
30,988
https://github.com/scikit-learn/scikit-learn/issues/30988
[ "New Feature", "Needs Decision - Close", "Needs Investigation" ]
Make the halving searches scoring parameter also accept single value containers Currently, the HalvingRandomSearchCV and the HalvingGridSearchCV support only a single scoring metric. Because of that, only a single string or callable is accepted as scoring parameter. However, this causes it to not accept a single metri...
30,988
https://github.com/scikit-learn/scikit-learn/issues/30986
[ "New Feature" ]
enh: support aggregation/bagging functions other than mean ### Describe the workflow you want to enable Currently KNNRegressor, BaggingRegressor and ForestRegressor only support mean https://github.com/scikit-learn/scikit-learn/blob/98ed9dc73a86f5f11781a0e21f24c8f47979ec67/sklearn/neighbors/_regression.py#L254-L262 ...
30,986
https://github.com/scikit-learn/scikit-learn/issues/30986
[ "New Feature" ]
enh: support aggregation/bagging functions other than mean ### Describe the workflow you want to enable Currently KNNRegressor, BaggingRegressor and ForestRegressor only support mean https://github.com/scikit-learn/scikit-learn/blob/98ed9dc73a86f5f11781a0e21f24c8f47979ec67/sklearn/neighbors/_regression.py#L254-L262 ...
30,986
https://github.com/scikit-learn/scikit-learn/issues/30986
[ "New Feature" ]
enh: support aggregation/bagging functions other than mean ### Describe the workflow you want to enable Currently KNNRegressor, BaggingRegressor and ForestRegressor only support mean https://github.com/scikit-learn/scikit-learn/blob/98ed9dc73a86f5f11781a0e21f24c8f47979ec67/sklearn/neighbors/_regression.py#L254-L262 ...
30,986
https://github.com/scikit-learn/scikit-learn/issues/30986
[ "New Feature" ]
enh: support aggregation/bagging functions other than mean ### Describe the workflow you want to enable Currently KNNRegressor, BaggingRegressor and ForestRegressor only support mean https://github.com/scikit-learn/scikit-learn/blob/98ed9dc73a86f5f11781a0e21f24c8f47979ec67/sklearn/neighbors/_regression.py#L254-L262 ...
30,986
https://github.com/scikit-learn/scikit-learn/issues/30984
[ "Bug", "Needs Triage" ]
The estimators_ attribute can no longer be accessed for the AdaBoostClassifier class ### Describe the bug The [documentation of the AdaBoostClassifier](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.AdaBoostClassifier.html) reads that there is a `estimators_` attribute. However, if I try to access...
30,984
https://github.com/scikit-learn/scikit-learn/issues/30984
[ "Bug", "Needs Triage" ]
The estimators_ attribute can no longer be accessed for the AdaBoostClassifier class ### Describe the bug The [documentation of the AdaBoostClassifier](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.AdaBoostClassifier.html) reads that there is a `estimators_` attribute. However, if I try to access...
30,984
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30983
[ "Bug", "Needs Investigation" ]
Error in `ColumnTransformer` when `x` is a pandas dataframe with `int` feature names ### Describe the bug Hello, I've encountered an unexpected behavior when using `ColumnTransformer` with input `x` being a pandas dataframe with column names having int dtype. I give an example below, and an example use case can be fo...
30,983
https://github.com/scikit-learn/scikit-learn/issues/30981
[ "Needs Triage" ]
⚠️ CI failed on Wheel builder (last failure: Mar 12, 2025) ⚠️ **CI failed on [Wheel builder](https://github.com/scikit-learn/scikit-learn/actions/runs/13803264391)** (Mar 12, 2025) COMMENT: Seems like an issue with Cython and free-threaded. We are using the Cython nightly wheel so this may have been introduced recent...
30,981
https://github.com/scikit-learn/scikit-learn/issues/30981
[ "Needs Triage" ]
⚠️ CI failed on Wheel builder (last failure: Mar 12, 2025) ⚠️ **CI failed on [Wheel builder](https://github.com/scikit-learn/scikit-learn/actions/runs/13803264391)** (Mar 12, 2025) COMMENT: I can not reproduce this locally for some reason, let's wait and see if it happens again tomorrow ... It may be a scipy dev whe...
30,981
https://github.com/scikit-learn/scikit-learn/issues/30981
[ "Needs Triage" ]
⚠️ CI failed on Wheel builder (last failure: Mar 12, 2025) ⚠️ **CI failed on [Wheel builder](https://github.com/scikit-learn/scikit-learn/actions/runs/13803264391)** (Mar 12, 2025) COMMENT: ## CI is no longer failing! ✅ [Successful run](https://github.com/scikit-learn/scikit-learn/actions/runs/13826650719) on Mar 13...
30,981
https://github.com/scikit-learn/scikit-learn/issues/30973
[ "Needs Triage" ]
Support for PPC64LE in Scikit-Learn CI ### **Proposed new feature or change:** Hi Team, We would like to upstream support for the Power (PPC64LE) architecture in scikit-learn by adding a new CI job in wheels.yml. This will enable continuous integration (CI) support for PPC64LE using a GitHub Actions self-hosted runne...
30,973
https://github.com/scikit-learn/scikit-learn/issues/30973
[ "Needs Triage" ]
Support for PPC64LE in Scikit-Learn CI ### **Proposed new feature or change:** Hi Team, We would like to upstream support for the Power (PPC64LE) architecture in scikit-learn by adding a new CI job in wheels.yml. This will enable continuous integration (CI) support for PPC64LE using a GitHub Actions self-hosted runne...
30,973
https://github.com/scikit-learn/scikit-learn/issues/30973
[ "Needs Triage" ]
Support for PPC64LE in Scikit-Learn CI ### **Proposed new feature or change:** Hi Team, We would like to upstream support for the Power (PPC64LE) architecture in scikit-learn by adding a new CI job in wheels.yml. This will enable continuous integration (CI) support for PPC64LE using a GitHub Actions self-hosted runne...
30,973
https://github.com/scikit-learn/scikit-learn/issues/30972
[ "New Feature", "Needs Triage" ]
auto clusters selection of n_clusters with elbow method ### Describe the workflow you want to enable In, sklearn.cluster the KMeans algorithm. the feature suggestion is to add the elbow method cluster selection with n_cluster="auto" calculates the best no of cluster based on mse add trains the models based on the r...
30,972
https://github.com/scikit-learn/scikit-learn/issues/30972
[ "New Feature", "Needs Triage" ]
auto clusters selection of n_clusters with elbow method ### Describe the workflow you want to enable In, sklearn.cluster the KMeans algorithm. the feature suggestion is to add the elbow method cluster selection with n_cluster="auto" calculates the best no of cluster based on mse add trains the models based on the r...
30,972
https://github.com/scikit-learn/scikit-learn/issues/30970
[ "New Feature", "module:model_selection", "module:multiclass" ]
Allow for multiclass cost matrix in FixedThresholdClassifier and TunedThresholdClassifierCV ### Describe the workflow you want to enable With #26120, we got `FixedThresholdClassifier` and `TunedThresholdClassifierCV` but only for binary classification. The next logical step would be to extend it to the multiclass set...
30,970
https://github.com/scikit-learn/scikit-learn/issues/30970
[ "New Feature", "module:model_selection", "module:multiclass" ]
Allow for multiclass cost matrix in FixedThresholdClassifier and TunedThresholdClassifierCV ### Describe the workflow you want to enable With #26120, we got `FixedThresholdClassifier` and `TunedThresholdClassifierCV` but only for binary classification. The next logical step would be to extend it to the multiclass set...
30,970
https://github.com/scikit-learn/scikit-learn/issues/30969
[ "Bug", "Needs Investigation" ]
KNN tie breakers changing based on the subset of the train ### Describe the bug According to https://scikit-learn.org/stable/modules/neighbors.html#unsupervised-nearest-neighbors: **Regarding the Nearest Neighbors algorithms, if two neighbors k and k+1 have identical distances but different labels, the result will...
30,969
https://github.com/scikit-learn/scikit-learn/issues/30969
[ "Bug", "Needs Investigation" ]
KNN tie breakers changing based on the subset of the train ### Describe the bug According to https://scikit-learn.org/stable/modules/neighbors.html#unsupervised-nearest-neighbors: **Regarding the Nearest Neighbors algorithms, if two neighbors k and k+1 have identical distances but different labels, the result will...
30,969
https://github.com/scikit-learn/scikit-learn/issues/30969
[ "Bug", "Needs Investigation" ]
KNN tie breakers changing based on the subset of the train ### Describe the bug According to https://scikit-learn.org/stable/modules/neighbors.html#unsupervised-nearest-neighbors: **Regarding the Nearest Neighbors algorithms, if two neighbors k and k+1 have identical distances but different labels, the result will...
30,969
https://github.com/scikit-learn/scikit-learn/issues/30964
[ "Documentation", "Metadata Routing" ]
DOC better visibility in navigation of metadata routing The section about [metadata_routing](https://scikit-learn.org/stable/metadata_routing.html) in the [user guide](https://scikit-learn.org/stable/user_guide.html) is hard to find, in particular because there is no entry in the navigation bar, see <img width="1104"...
30,964
https://github.com/scikit-learn/scikit-learn/issues/30964
[ "Documentation", "Metadata Routing" ]
DOC better visibility in navigation of metadata routing The section about [metadata_routing](https://scikit-learn.org/stable/metadata_routing.html) in the [user guide](https://scikit-learn.org/stable/user_guide.html) is hard to find, in particular because there is no entry in the navigation bar, see <img width="1104"...
30,964
https://github.com/scikit-learn/scikit-learn/issues/30961
[ "Needs Triage" ]
⚠️ CI failed on Linux_free_threaded.pylatest_free_threaded (last failure: Mar 10, 2025) ⚠️ **CI is still failing on [Linux_free_threaded.pylatest_free_threaded](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=74605&view=logs&j=c10228e9-6cf7-5c29-593f-d74f893ca1bd)** (Mar 10, 2025) - test_multicl...
30,961
https://github.com/scikit-learn/scikit-learn/issues/30960
[ "Needs Triage" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev (last failure: Mar 10, 2025) ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=74605&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Mar 10, 2025) - test_multiclass_plot_max...
30,960
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30958
[ "New Feature" ]
Request: base class with HTML repr but without being an 'Estimator' ### Describe the workflow you want to enable Creating third-party packages that offer objects that are meant to be passed to estimators, but which aren't estimators themselves. ### Describe your proposed solution Would be nice if there could be som...
30,958
https://github.com/scikit-learn/scikit-learn/issues/30957
[ "Documentation", "help wanted" ]
Docs duplication between attributes and properties ### Describe the issue linked to the documentation Docs for some classes mention some fitted-model attributes twice: first as 'attribute', then as 'property'. For example, class SVC here: https://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html Shows ...
30,957
https://github.com/scikit-learn/scikit-learn/issues/30954
[ "Bug", "Needs Investigation" ]
QDA is not reproducible ### Describe the bug We are running QDA with default hyperparameters on the same dataset, on 2 different machines (linux). We find that the results change significantly when ran on a different machine. For more details, please see this Gist: [https://gist.github.com/tomviering/43519a1f2a0e0ffe...
30,954
https://github.com/scikit-learn/scikit-learn/issues/30954
[ "Bug", "Needs Investigation" ]
QDA is not reproducible ### Describe the bug We are running QDA with default hyperparameters on the same dataset, on 2 different machines (linux). We find that the results change significantly when ran on a different machine. For more details, please see this Gist: [https://gist.github.com/tomviering/43519a1f2a0e0ffe...
30,954
https://github.com/scikit-learn/scikit-learn/issues/30954
[ "Bug", "Needs Investigation" ]
QDA is not reproducible ### Describe the bug We are running QDA with default hyperparameters on the same dataset, on 2 different machines (linux). We find that the results change significantly when ran on a different machine. For more details, please see this Gist: [https://gist.github.com/tomviering/43519a1f2a0e0ffe...
30,954
https://github.com/scikit-learn/scikit-learn/issues/30954
[ "Bug", "Needs Investigation" ]
QDA is not reproducible ### Describe the bug We are running QDA with default hyperparameters on the same dataset, on 2 different machines (linux). We find that the results change significantly when ran on a different machine. For more details, please see this Gist: [https://gist.github.com/tomviering/43519a1f2a0e0ffe...
30,954
https://github.com/scikit-learn/scikit-learn/issues/30952
[ "Performance", "module:preprocessing" ]
Improve TargetEncoder predict time for single rows and many categories As reported [here](https://tiago.rio.br/work/willbank/account/patching-scikit-learn-improve-api-performance/), `TargetEncoder.transform` is optimized for large `n_samples`. But in deployment mode, it might be single rows that matter. Combined with ...
30,952
https://github.com/scikit-learn/scikit-learn/issues/30952
[ "Performance", "module:preprocessing" ]
Improve TargetEncoder predict time for single rows and many categories As reported [here](https://tiago.rio.br/work/willbank/account/patching-scikit-learn-improve-api-performance/), `TargetEncoder.transform` is optimized for large `n_samples`. But in deployment mode, it might be single rows that matter. Combined with ...
30,952
https://github.com/scikit-learn/scikit-learn/issues/30950
[ "Bug" ]
Potential Problem in the Computation of Adjusted Mutual Info Score ### Describe the bug It seems to me that for clusters of size 2 and 4, the AMI yields unexpected results of 0 instead of 1, if all items belong to different clusters. ### Steps/Code to Reproduce Sample Code to Reproduce: ```python >>> from sklea...
30,950
https://github.com/scikit-learn/scikit-learn/issues/30950
[ "Bug" ]
Potential Problem in the Computation of Adjusted Mutual Info Score ### Describe the bug It seems to me that for clusters of size 2 and 4, the AMI yields unexpected results of 0 instead of 1, if all items belong to different clusters. ### Steps/Code to Reproduce Sample Code to Reproduce: ```python >>> from sklea...
30,950
https://github.com/scikit-learn/scikit-learn/issues/30950
[ "Bug" ]
Potential Problem in the Computation of Adjusted Mutual Info Score ### Describe the bug It seems to me that for clusters of size 2 and 4, the AMI yields unexpected results of 0 instead of 1, if all items belong to different clusters. ### Steps/Code to Reproduce Sample Code to Reproduce: ```python >>> from sklea...
30,950
https://github.com/scikit-learn/scikit-learn/issues/30950
[ "Bug" ]
Potential Problem in the Computation of Adjusted Mutual Info Score ### Describe the bug It seems to me that for clusters of size 2 and 4, the AMI yields unexpected results of 0 instead of 1, if all items belong to different clusters. ### Steps/Code to Reproduce Sample Code to Reproduce: ```python >>> from sklea...
30,950
https://github.com/scikit-learn/scikit-learn/issues/30941
[ "Needs Reproducible Code" ]
RANSAC randomly raises UndefinedMetricWarning RANSAC randomly raises undefined R2 warning for non-default `min_samples` (say 0.1) even if X is sufficiently large. ``` UndefinedMetricWarning: R^2 score is not well-defined with less than two samples. warnings.warn(msg, UndefinedMetricWarning) ``` It seems after applyi...
30,941
https://github.com/scikit-learn/scikit-learn/issues/30941
[ "Needs Reproducible Code" ]
RANSAC randomly raises UndefinedMetricWarning RANSAC randomly raises undefined R2 warning for non-default `min_samples` (say 0.1) even if X is sufficiently large. ``` UndefinedMetricWarning: R^2 score is not well-defined with less than two samples. warnings.warn(msg, UndefinedMetricWarning) ``` It seems after applyi...
30,941
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30938
[ "Bug", "Regression" ]
Partial dependence broken in sklearn 1.6.1 when grid has only two values ### Describe the bug When our input feature has two possible values (and that the grid built in that function hence has two values), partial_dependence will raise an error `ValueError: cannot reshape array of size 1 into shape (2)` What I suspe...
30,938
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30937
[ "Bug", "Metadata Routing" ]
Pipeline score asks to explicitly request sample_weight ### Describe the bug When using `Pipeline` with metadata routing enabled, an error is thrown unless we explicitly request `sample_weight` for the `score` method (see example below). But `Pipeline` is just a router (for both the `fit` and `score` methods) and no...
30,937
https://github.com/scikit-learn/scikit-learn/issues/30936
[ "Bug" ]
SelectFromModel does not work when ElasticNetCV has multiple l1 ratios ### Describe the bug Using `SelectFromModel` with the automatic `ElasticNetCV` does not work if the `l1_ratio` is estimated from the data, i.e., if the user provides a list of floats. ### Steps/Code to Reproduce ```py from sklearn.datasets impo...
30,936
https://github.com/scikit-learn/scikit-learn/issues/30936
[ "Bug" ]
SelectFromModel does not work when ElasticNetCV has multiple l1 ratios ### Describe the bug Using `SelectFromModel` with the automatic `ElasticNetCV` does not work if the `l1_ratio` is estimated from the data, i.e., if the user provides a list of floats. ### Steps/Code to Reproduce ```py from sklearn.datasets impo...
30,936
https://github.com/scikit-learn/scikit-learn/issues/30935
[ "Bug" ]
The default token pattern in CountVectorizer breaks Indic sentences into non-sensical tokens ### Describe the bug The default `token_pattern` in `CountVectorizer` is `r"(?u)\b\w\w+\b"` which tokenizes Indic texts in a wrong way - breaks whitespace tokenized words into multiple chunks and even omits several valid char...
30,935