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/25210
[ "New Feature", "module:ensemble" ]
ENH partial_dependece plot for HistGradientBoosting estimator fitted with `sample_weight` ### Describe the workflow you want to enable As partial dependence of a model at a point [is defined as an expectation](https://scikit-learn.org/stable/modules/partial_dependence.html#mathematical-definition), it should respect ...
25,210
https://github.com/scikit-learn/scikit-learn/issues/25210
[ "New Feature", "module:ensemble" ]
ENH partial_dependece plot for HistGradientBoosting estimator fitted with `sample_weight` ### Describe the workflow you want to enable As partial dependence of a model at a point [is defined as an expectation](https://scikit-learn.org/stable/modules/partial_dependence.html#mathematical-definition), it should respect ...
25,210
https://github.com/scikit-learn/scikit-learn/issues/25206
[ "Documentation", "module:ensemble" ]
Unclear train_score_ attribute description for GradientBoostingClassifier ### Describe the issue linked to the documentation I recently trained a binary gradient boosting model using the GradientBoostingClassifier. I wanted to plot the intermediate losses at each iteration on the test set while evaluating my results ...
25,206
https://github.com/scikit-learn/scikit-learn/issues/25206
[ "Documentation", "module:ensemble" ]
Unclear train_score_ attribute description for GradientBoostingClassifier ### Describe the issue linked to the documentation I recently trained a binary gradient boosting model using the GradientBoostingClassifier. I wanted to plot the intermediate losses at each iteration on the test set while evaluating my results ...
25,206
https://github.com/scikit-learn/scikit-learn/issues/25206
[ "Documentation", "module:ensemble" ]
Unclear train_score_ attribute description for GradientBoostingClassifier ### Describe the issue linked to the documentation I recently trained a binary gradient boosting model using the GradientBoostingClassifier. I wanted to plot the intermediate losses at each iteration on the test set while evaluating my results ...
25,206
https://github.com/scikit-learn/scikit-learn/issues/25202
[ "Build / CI" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=51438&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Jan 27, 2023) - test_estimators[FeatureAgglomeration()-check_paramete...
25,202
https://github.com/scikit-learn/scikit-learn/issues/25202
[ "Build / CI" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=51438&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Jan 27, 2023) - test_estimators[FeatureAgglomeration()-check_paramete...
25,202
https://github.com/scikit-learn/scikit-learn/issues/25198
[ "Bug", "module:linear_model" ]
Sparse data representations results in worse models than dense data for some classifiers ### Describe the bug Using scipy sparse matrices with sklearn LogisticRegression greatly improves speed and therefore is desirable in many scenarios. However, it appears that sparse versus dense data representations yield di...
25,198
https://github.com/scikit-learn/scikit-learn/issues/25198
[ "Bug", "module:linear_model" ]
Sparse data representations results in worse models than dense data for some classifiers ### Describe the bug Using scipy sparse matrices with sklearn LogisticRegression greatly improves speed and therefore is desirable in many scenarios. However, it appears that sparse versus dense data representations yield di...
25,198
https://github.com/scikit-learn/scikit-learn/issues/25198
[ "Bug", "module:linear_model" ]
Sparse data representations results in worse models than dense data for some classifiers ### Describe the bug Using scipy sparse matrices with sklearn LogisticRegression greatly improves speed and therefore is desirable in many scenarios. However, it appears that sparse versus dense data representations yield di...
25,198
https://github.com/scikit-learn/scikit-learn/issues/25198
[ "Bug", "module:linear_model" ]
Sparse data representations results in worse models than dense data for some classifiers ### Describe the bug Using scipy sparse matrices with sklearn LogisticRegression greatly improves speed and therefore is desirable in many scenarios. However, it appears that sparse versus dense data representations yield di...
25,198
https://github.com/scikit-learn/scikit-learn/issues/25198
[ "Bug", "module:linear_model" ]
Sparse data representations results in worse models than dense data for some classifiers ### Describe the bug Using scipy sparse matrices with sklearn LogisticRegression greatly improves speed and therefore is desirable in many scenarios. However, it appears that sparse versus dense data representations yield di...
25,198
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25193
[ "New Feature", "module:model_selection" ]
StratifiedKFold and StratifiedGroupKFold for multilabel classification ### Describe the workflow you want to enable Currently, these two functionalities only support binary/multiclass classification. I am looking for similar functionalities (maybe not even k fold, a train_test_split also suffices) in multilabel class...
25,193
https://github.com/scikit-learn/scikit-learn/issues/25187
[ "New Feature", "module:model_selection" ]
Early Stopping for GridSearchCV, RandomizedSearchCV ### Describe the workflow you want to enable - I have a custom model implementing the BaseEstimator, for which I am using scikit-learn's hyperparameter searches. - I am running an exhaustive grid search, all possible parameters for my model. - If one parameter set...
25,187
https://github.com/scikit-learn/scikit-learn/issues/25187
[ "New Feature", "module:model_selection" ]
Early Stopping for GridSearchCV, RandomizedSearchCV ### Describe the workflow you want to enable - I have a custom model implementing the BaseEstimator, for which I am using scikit-learn's hyperparameter searches. - I am running an exhaustive grid search, all possible parameters for my model. - If one parameter set...
25,187
https://github.com/scikit-learn/scikit-learn/issues/25187
[ "New Feature", "module:model_selection" ]
Early Stopping for GridSearchCV, RandomizedSearchCV ### Describe the workflow you want to enable - I have a custom model implementing the BaseEstimator, for which I am using scikit-learn's hyperparameter searches. - I am running an exhaustive grid search, all possible parameters for my model. - If one parameter set...
25,187
https://github.com/scikit-learn/scikit-learn/issues/25187
[ "New Feature", "module:model_selection" ]
Early Stopping for GridSearchCV, RandomizedSearchCV ### Describe the workflow you want to enable - I have a custom model implementing the BaseEstimator, for which I am using scikit-learn's hyperparameter searches. - I am running an exhaustive grid search, all possible parameters for my model. - If one parameter set...
25,187
https://github.com/scikit-learn/scikit-learn/issues/25187
[ "New Feature", "module:model_selection" ]
Early Stopping for GridSearchCV, RandomizedSearchCV ### Describe the workflow you want to enable - I have a custom model implementing the BaseEstimator, for which I am using scikit-learn's hyperparameter searches. - I am running an exhaustive grid search, all possible parameters for my model. - If one parameter set...
25,187
https://github.com/scikit-learn/scikit-learn/issues/25179
[ "New Feature", "module:metrics" ]
Improve error handling in _mutual_info.py ### Describe the workflow you want to enable Hi all, I am currently trying to run the following code: ```python from sklearn.feature_selection import mutual_info_classif a = [[1,0,1],[0,1,1]] b = [0,1] mutual_info_classif(a,b) ``` Which fails with: ``` Tra...
25,179
https://github.com/scikit-learn/scikit-learn/issues/25178
[ "Bug", "Needs Triage" ]
RandomForestClassifier outputs float instead of bool class-labels when fit on a pd.Series since 1.2.0 ### Describe the bug ``` import numpy as np import pandas as pd import sklearn from sklearn.ensemble import RandomForestClassifier # 1.23.3 1.5.0 1.2.0 print(np.__version__, pd.__version__, sklearn.__version_...
25,178
https://github.com/scikit-learn/scikit-learn/issues/25178
[ "Bug", "Needs Triage" ]
RandomForestClassifier outputs float instead of bool class-labels when fit on a pd.Series since 1.2.0 ### Describe the bug ``` import numpy as np import pandas as pd import sklearn from sklearn.ensemble import RandomForestClassifier # 1.23.3 1.5.0 1.2.0 print(np.__version__, pd.__version__, sklearn.__version_...
25,178
https://github.com/scikit-learn/scikit-learn/issues/25171
[ "Bug" ]
OneHotEncoder cuts predefined classes ### Describe the bug When having predefined categories for the OneHotEncoder the categories get cut off. This lead to an error when trying to transform samples with the categories present.... ### Steps/Code to Reproduce ```python from sklearn.preprocessing import OneHotE...
25,171
https://github.com/scikit-learn/scikit-learn/issues/25171
[ "Bug" ]
OneHotEncoder cuts predefined classes ### Describe the bug When having predefined categories for the OneHotEncoder the categories get cut off. This lead to an error when trying to transform samples with the categories present.... ### Steps/Code to Reproduce ```python from sklearn.preprocessing import OneHotE...
25,171
https://github.com/scikit-learn/scikit-learn/issues/25169
[ "Bug", "Needs Triage" ]
DOC: type annotation for model returned from fit methods is "object" ### Describe the bug I noticed that the type annotation for model returned from fit methods is "object". This makes IDE like pycharm unable to perform type hints: ![image](https://user-images.githubusercontent.com/48577571/206979644-9185bff3-e22f...
25,169
https://github.com/scikit-learn/scikit-learn/issues/25169
[ "Bug", "Needs Triage" ]
DOC: type annotation for model returned from fit methods is "object" ### Describe the bug I noticed that the type annotation for model returned from fit methods is "object". This makes IDE like pycharm unable to perform type hints: ![image](https://user-images.githubusercontent.com/48577571/206979644-9185bff3-e22f...
25,169
https://github.com/scikit-learn/scikit-learn/issues/25169
[ "Bug", "Needs Triage" ]
DOC: type annotation for model returned from fit methods is "object" ### Describe the bug I noticed that the type annotation for model returned from fit methods is "object". This makes IDE like pycharm unable to perform type hints: ![image](https://user-images.githubusercontent.com/48577571/206979644-9185bff3-e22f...
25,169
https://github.com/scikit-learn/scikit-learn/issues/25169
[ "Bug", "Needs Triage" ]
DOC: type annotation for model returned from fit methods is "object" ### Describe the bug I noticed that the type annotation for model returned from fit methods is "object". This makes IDE like pycharm unable to perform type hints: ![image](https://user-images.githubusercontent.com/48577571/206979644-9185bff3-e22f...
25,169
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25165
[ "Bug", "module:decomposition" ]
ValueError: buffer source array is read-only In DictionaryLearning using coordinate decent, numworkers = 15 ### Describe the bug I get "source array is read only" error in Dictionary Learning when I try to fit it to the Cifar10 Dataset. ### Steps/Code to Reproduce ```python from sklearn.decomposition import...
25,165
https://github.com/scikit-learn/scikit-learn/issues/25164
[ "Bug" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=49978&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Dec 15, 2022) - test_kernel_pca - test_kernel_pca_consistent_transfor...
25,164
https://github.com/scikit-learn/scikit-learn/issues/25164
[ "Bug" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=49978&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Dec 15, 2022) - test_kernel_pca - test_kernel_pca_consistent_transfor...
25,164
https://github.com/scikit-learn/scikit-learn/issues/25164
[ "Bug" ]
⚠️ CI failed on Linux_Nightly.pylatest_pip_scipy_dev ⚠️ **CI is still failing on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=49978&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Dec 15, 2022) - test_kernel_pca - test_kernel_pca_consistent_transfor...
25,164
https://github.com/scikit-learn/scikit-learn/issues/25161
[ "Bug", "good first issue", "help wanted" ]
Possible unintended behavior in sklearn.feature_extraction.image.extract_patches_2d ### Describe the bug When running extract_patches_2d with `max_patches = 0`, it appears that the max number of patches is returned (same as calling with `max_patches = None`). I believe this is unintended since in the docs it's stat...
25,161
https://github.com/scikit-learn/scikit-learn/issues/25161
[ "Bug", "good first issue", "help wanted" ]
Possible unintended behavior in sklearn.feature_extraction.image.extract_patches_2d ### Describe the bug When running extract_patches_2d with `max_patches = 0`, it appears that the max number of patches is returned (same as calling with `max_patches = None`). I believe this is unintended since in the docs it's stat...
25,161
https://github.com/scikit-learn/scikit-learn/issues/25161
[ "Bug", "good first issue", "help wanted" ]
Possible unintended behavior in sklearn.feature_extraction.image.extract_patches_2d ### Describe the bug When running extract_patches_2d with `max_patches = 0`, it appears that the max number of patches is returned (same as calling with `max_patches = None`). I believe this is unintended since in the docs it's stat...
25,161
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25159
[ "Bug", "Needs Triage" ]
scikit-learn 1.2.0 compiled against numpy ABI version 0x10 but this version of numpy is 0xf ### Describe the bug Using numpy 1.22.0 from my OS (Fedora 37, x86_64), I get this error on `import sklearn`: ``` RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ``` Does scikit-lear...
25,159
https://github.com/scikit-learn/scikit-learn/issues/25150
[ "Performance", "module:tree" ]
Improving IsolationForest predict time ### Discussed in https://github.com/scikit-learn/scikit-learn/discussions/25142 <div type='discussions-op-text'> <sup>Originally posted by **fsiola** December 8, 2022</sup> Hi, When using [IsolationForest predict](https://github.com/scikit-learn/scikit-learn/blob/main...
25,150
https://github.com/scikit-learn/scikit-learn/issues/25145
[ "Bug" ]
`check_array` unexpectedly upcasts numeric types in pandas Series ### Describe the bug This is an unexpected (and I would argue undesirable) behavior change introduced in 1.2.0 by https://github.com/scikit-learn/scikit-learn/pull/25080 The issue is that `check_array` applied to a pandas series of dtype `bool` upca...
25,145
https://github.com/scikit-learn/scikit-learn/issues/25145
[ "Bug" ]
`check_array` unexpectedly upcasts numeric types in pandas Series ### Describe the bug This is an unexpected (and I would argue undesirable) behavior change introduced in 1.2.0 by https://github.com/scikit-learn/scikit-learn/pull/25080 The issue is that `check_array` applied to a pandas series of dtype `bool` upca...
25,145
https://github.com/scikit-learn/scikit-learn/issues/25144
[ "Bug", "Needs Triage" ]
RandomizedSearchCV does not stratify folds ### Describe the bug The documentation states that supplying an integer to cv will, by default, use stratified folds: "For integer/None inputs, if the estimator is a classifier and y is either binary or multiclass, [StratifiedKFold] is used." I am using this as an estimat...
25,144
https://github.com/scikit-learn/scikit-learn/issues/25126
[ "New Feature", "Needs Triage" ]
Wrap tabular data in a new dataclass to simplify ML pipelines ### Describe the workflow you want to enable In my dreams, a new `InferenceData` class would simplify training and prediction to look more like ``` import ... as learner data = InferenceData( df=..., # a data frame meta=Meta( y...
25,126
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: ## CI is no l...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: Until tomorro...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: Looking over ...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: The weird stu...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: In a recent r...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: > Looking ove...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: Here is the o...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25117
[ "Bug", "Needs Investigation" ]
⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️ **CI is still failing on [Linux_Nightly_PyPy.pypy3](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=59274&view=logs&j=0b16f832-29d6-5b92-1c23-eb006f606a66)** (Sep 18, 2023) Unable to find junit file. Please see link for details. COMMENT: Let me close ...
25,117
https://github.com/scikit-learn/scikit-learn/issues/25116
[ "Bug", "Needs Triage" ]
Error when attempting to passthrough transformer step if tuning transformer ### Describe the bug I am using an imblearn pipeline to perform dimensionality reduction before model training. I would like try either a PCA or skipping the dimensionality reduction step completely (setting step to None). I am also tuning ...
25,116
https://github.com/scikit-learn/scikit-learn/issues/25116
[ "Bug", "Needs Triage" ]
Error when attempting to passthrough transformer step if tuning transformer ### Describe the bug I am using an imblearn pipeline to perform dimensionality reduction before model training. I would like try either a PCA or skipping the dimensionality reduction step completely (setting step to None). I am also tuning ...
25,116
https://github.com/scikit-learn/scikit-learn/issues/25109
[ "Documentation", "Needs Triage" ]
Add link to license in the readme ### Describe the issue linked to the documentation Thought it would be helpful/convenient to link the license from the readme ### Suggest a potential alternative/fix It is already available in the top right hand corner of the repository but this is often missed COMMENT: The licenc...
25,109
https://github.com/scikit-learn/scikit-learn/issues/25107
[ "Needs Decision - Include Feature", "Validation" ]
Make it easier to overload the `fit_methods` in `check_param_validation` We introduced `check_param_validation`. This check could be useful to other third-party libraries. However, it will be limited to the fit methods defined in the scikit-learn API. In imbalanced-learn, we define `fit_resample`. Such a method wou...
25,107
https://github.com/scikit-learn/scikit-learn/issues/25107
[ "Needs Decision - Include Feature", "Validation" ]
Make it easier to overload the `fit_methods` in `check_param_validation` We introduced `check_param_validation`. This check could be useful to other third-party libraries. However, it will be limited to the fit methods defined in the scikit-learn API. In imbalanced-learn, we define `fit_resample`. Such a method wou...
25,107
https://github.com/scikit-learn/scikit-learn/issues/25107
[ "Needs Decision - Include Feature", "Validation" ]
Make it easier to overload the `fit_methods` in `check_param_validation` We introduced `check_param_validation`. This check could be useful to other third-party libraries. However, it will be limited to the fit methods defined in the scikit-learn API. In imbalanced-learn, we define `fit_resample`. Such a method wou...
25,107
https://github.com/scikit-learn/scikit-learn/issues/25105
[ "Needs Triage" ]
⚠️ CI failed on Wheel builder ⚠️ **CI failed on [Wheel builder](https://github.com/scikit-learn/scikit-learn/actions/runs/3606843351)** (Dec 03, 2022) COMMENT: This should be solved by https://github.com/scikit-learn/scikit-learn/pull/25104
25,105
https://github.com/scikit-learn/scikit-learn/issues/25096
[ "New Feature", "Needs Triage" ]
drop correlated features as a pipeline step ### Describe the workflow you want to enable Doing FeatureSelection droping correlated features is standard ml proc that sklearn covers. But, as i interpret the documentation, sklearn treats the featureSelection based on correlations as a previous step, outside the pipel...
25,096
https://github.com/scikit-learn/scikit-learn/issues/25096
[ "New Feature", "Needs Triage" ]
drop correlated features as a pipeline step ### Describe the workflow you want to enable Doing FeatureSelection droping correlated features is standard ml proc that sklearn covers. But, as i interpret the documentation, sklearn treats the featureSelection based on correlations as a previous step, outside the pipel...
25,096
https://github.com/scikit-learn/scikit-learn/issues/25095
[ "Bug", "Build / CI" ]
⚠️ CI failed on Linux_nogil.pylatest_pip_nogil ⚠️ **CI failed on [Linux_nogil.pylatest_pip_nogil](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=49545&view=logs&j=67fbb25f-e417-50be-be55-3b1e9637fce5)** (Dec 02, 2022) - test_balance_property[74-False-LogisticRegressionCV] COMMENT: This might n...
25,095
https://github.com/scikit-learn/scikit-learn/issues/25095
[ "Bug", "Build / CI" ]
⚠️ CI failed on Linux_nogil.pylatest_pip_nogil ⚠️ **CI failed on [Linux_nogil.pylatest_pip_nogil](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=49545&view=logs&j=67fbb25f-e417-50be-be55-3b1e9637fce5)** (Dec 02, 2022) - test_balance_property[74-False-LogisticRegressionCV] COMMENT: I can reprod...
25,095
https://github.com/scikit-learn/scikit-learn/issues/25079
[ "RFC", "module:inspection" ]
RFC refactoring of PartialDependenceDisplay Related to https://github.com/scikit-learn/scikit-learn/issues/15641 I would like to discuss the possibility to refactor `PartialDependenceDisplay` to reduce its usability. The idea behind this refactoring is: - make it consistent with other displays: calling `PartialD...
25,079
https://github.com/scikit-learn/scikit-learn/issues/25079
[ "RFC", "module:inspection" ]
RFC refactoring of PartialDependenceDisplay Related to https://github.com/scikit-learn/scikit-learn/issues/15641 I would like to discuss the possibility to refactor `PartialDependenceDisplay` to reduce its usability. The idea behind this refactoring is: - make it consistent with other displays: calling `PartialD...
25,079
https://github.com/scikit-learn/scikit-learn/issues/25079
[ "RFC", "module:inspection" ]
RFC refactoring of PartialDependenceDisplay Related to https://github.com/scikit-learn/scikit-learn/issues/15641 I would like to discuss the possibility to refactor `PartialDependenceDisplay` to reduce its usability. The idea behind this refactoring is: - make it consistent with other displays: calling `PartialD...
25,079
https://github.com/scikit-learn/scikit-learn/issues/25079
[ "RFC", "module:inspection" ]
RFC refactoring of PartialDependenceDisplay Related to https://github.com/scikit-learn/scikit-learn/issues/15641 I would like to discuss the possibility to refactor `PartialDependenceDisplay` to reduce its usability. The idea behind this refactoring is: - make it consistent with other displays: calling `PartialD...
25,079
https://github.com/scikit-learn/scikit-learn/issues/25078
[ "Bug" ]
check_array does not gracefully fail with pd.NA When a NumPy array or a pandas series contains `pd.NA`, it will not gracefully fail. ```python In [1]: import pandas as pd In [2]: s = pd.Series([1, 2, None], dtype="Int64") In [3]: from sklearn.utils.validation import check_array In [4]: check_array(s, ensu...
25,078
https://github.com/scikit-learn/scikit-learn/issues/25078
[ "Bug" ]
check_array does not gracefully fail with pd.NA When a NumPy array or a pandas series contains `pd.NA`, it will not gracefully fail. ```python In [1]: import pandas as pd In [2]: s = pd.Series([1, 2, None], dtype="Int64") In [3]: from sklearn.utils.validation import check_array In [4]: check_array(s, ensu...
25,078
https://github.com/scikit-learn/scikit-learn/issues/25075
[ "Documentation", "help wanted" ]
Wrong description for the `n_jobs` in mean_shift docs ### Discussed in https://github.com/scikit-learn/scikit-learn/discussions/25059 <div type='discussions-op-text'> <sup>Originally posted by **gittar** November 28, 2022</sup> Should in these doc fragments the variable `n_init` be replaced by `n_jobs`? It appe...
25,075
https://github.com/scikit-learn/scikit-learn/issues/25075
[ "Documentation", "help wanted" ]
Wrong description for the `n_jobs` in mean_shift docs ### Discussed in https://github.com/scikit-learn/scikit-learn/discussions/25059 <div type='discussions-op-text'> <sup>Originally posted by **gittar** November 28, 2022</sup> Should in these doc fragments the variable `n_init` be replaced by `n_jobs`? It appe...
25,075
https://github.com/scikit-learn/scikit-learn/issues/25074
[ "Documentation" ]
Output is missing in this particular codeblock in "sklearn.compose.ColumnTransformer" ### Describe the issue linked to the documentation At the last line of the code that is X_trans = ct.fit_transform(X) the output(X_trans variable) is not specified which is confusing. This particular code block is present in ...
25,074
https://github.com/scikit-learn/scikit-learn/issues/25074
[ "Documentation" ]
Output is missing in this particular codeblock in "sklearn.compose.ColumnTransformer" ### Describe the issue linked to the documentation At the last line of the code that is X_trans = ct.fit_transform(X) the output(X_trans variable) is not specified which is confusing. This particular code block is present in ...
25,074
https://github.com/scikit-learn/scikit-learn/issues/25074
[ "Documentation" ]
Output is missing in this particular codeblock in "sklearn.compose.ColumnTransformer" ### Describe the issue linked to the documentation At the last line of the code that is X_trans = ct.fit_transform(X) the output(X_trans variable) is not specified which is confusing. This particular code block is present in ...
25,074
https://github.com/scikit-learn/scikit-learn/issues/25074
[ "Documentation" ]
Output is missing in this particular codeblock in "sklearn.compose.ColumnTransformer" ### Describe the issue linked to the documentation At the last line of the code that is X_trans = ct.fit_transform(X) the output(X_trans variable) is not specified which is confusing. This particular code block is present in ...
25,074
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073
https://github.com/scikit-learn/scikit-learn/issues/25073
[ "Bug" ]
ValueError: "Unknown label type: 'unknown'" when class column has Pandas type like Int64 ### Describe the bug I use Pandas to load data from CSV and transform it. Pandas often parses integer columns as float, so I usually use `df = df.convert_dtypes()` to bring those columsn back to int. It looks like this causes P...
25,073