html_url stringlengths 57 57 | labels listlengths 1 6 | text stringlengths 32 258k | issue_number int64 22.4k 33k | embedding listlengths 768 768 |
|---|---|---|---|---|
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 | [
0.025173455476760864,
0.03041825443506241,
0.011399318464100361,
-0.03215755894780159,
0.024806153029203415,
-0.04174371063709259,
-0.04429696127772331,
0.008854130282998085,
-0.029037054628133774,
0.008399038575589657,
0.051415301859378815,
0.008452997542917728,
-0.013153290376067162,
-0.... |
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 | [
0.025173455476760864,
0.03041825443506241,
0.011399318464100361,
-0.03215755894780159,
0.024806153029203415,
-0.04174371063709259,
-0.04429696127772331,
0.008854130282998085,
-0.029037054628133774,
0.008399038575589657,
0.051415301859378815,
0.008452997542917728,
-0.013153290376067162,
-0.... |
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 | [
-0.05146009474992752,
-0.05863471329212189,
0.012166067957878113,
0.00660144817084074,
0.020446226000785828,
-0.012877799570560455,
0.022270573303103447,
0.045242276042699814,
-0.04803817719221115,
-0.006010409444570541,
0.033275000751018524,
-0.057679690420627594,
0.015721285715699196,
0.... |
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 | [
-0.05146009474992752,
-0.05863471329212189,
0.012166067957878113,
0.00660144817084074,
0.020446226000785828,
-0.012877799570560455,
0.022270573303103447,
0.045242276042699814,
-0.04803817719221115,
-0.006010409444570541,
0.033275000751018524,
-0.057679690420627594,
0.015721285715699196,
0.... |
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 | [
-0.05146009474992752,
-0.05863471329212189,
0.012166067957878113,
0.00660144817084074,
0.020446226000785828,
-0.012877799570560455,
0.022270573303103447,
0.045242276042699814,
-0.04803817719221115,
-0.006010409444570541,
0.033275000751018524,
-0.057679690420627594,
0.015721285715699196,
0.... |
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 | [
0.00014535665104631335,
0.014855471439659595,
-0.013482113368809223,
-0.06860005110502243,
0.022259866818785667,
0.013076829724013805,
0.07247359305620193,
0.04047893360257149,
0.01894209161400795,
0.024003909900784492,
0.060152363032102585,
0.015426122583448887,
-0.0018092598766088486,
0.... |
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 | [
-0.016602350398898125,
0.020168019458651543,
-0.025045735761523247,
-0.05447639152407646,
0.02803339622914791,
0.005726615898311138,
0.06091036647558212,
0.043842852115631104,
0.005882713012397289,
0.016234254464507103,
0.05482548475265503,
0.014568443410098553,
0.005689210258424282,
0.079... |
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 | [
-0.003993635065853596,
0.023200012743473053,
0.06297582387924194,
0.0230405256152153,
0.06007082760334015,
-0.020091097801923752,
0.0429004468023777,
0.05303560942411423,
-0.02407154254615307,
-0.003977641928941011,
0.027386168017983437,
-0.0120844142511487,
0.032061997801065445,
0.0152815... |
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 | [
-0.003993635065853596,
0.023200012743473053,
0.06297582387924194,
0.0230405256152153,
0.06007082760334015,
-0.020091097801923752,
0.0429004468023777,
0.05303560942411423,
-0.02407154254615307,
-0.003977641928941011,
0.027386168017983437,
-0.0120844142511487,
0.032061997801065445,
0.0152815... |
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 | [
-0.003993635065853596,
0.023200012743473053,
0.06297582387924194,
0.0230405256152153,
0.06007082760334015,
-0.020091097801923752,
0.0429004468023777,
0.05303560942411423,
-0.02407154254615307,
-0.003977641928941011,
0.027386168017983437,
-0.0120844142511487,
0.032061997801065445,
0.0152815... |
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 | [
-0.003993635065853596,
0.023200012743473053,
0.06297582387924194,
0.0230405256152153,
0.06007082760334015,
-0.020091097801923752,
0.0429004468023777,
0.05303560942411423,
-0.02407154254615307,
-0.003977641928941011,
0.027386168017983437,
-0.0120844142511487,
0.032061997801065445,
0.0152815... |
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 | [
-0.003993635065853596,
0.023200012743473053,
0.06297582387924194,
0.0230405256152153,
0.06007082760334015,
-0.020091097801923752,
0.0429004468023777,
0.05303560942411423,
-0.02407154254615307,
-0.003977641928941011,
0.027386168017983437,
-0.0120844142511487,
0.032061997801065445,
0.0152815... |
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 | [
-0.022548099979758263,
0.04151884466409683,
-0.014028995297849178,
-0.0022194012999534607,
-0.0002127634797943756,
-0.005213778931647539,
0.10869938135147095,
0.03692640736699104,
0.0023656957782804966,
-0.05201341584324837,
-0.013083847239613533,
0.017624322324991226,
-0.029117288067936897,... |
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 | [
-0.024574998766183853,
0.036025963723659515,
-0.011205136775970459,
-0.0015353180933743715,
-0.006009489763528109,
-0.0017411480657756329,
0.10833711922168732,
0.0378471277654171,
0.000007463693236786639,
-0.05374716594815254,
-0.012783356010913849,
0.022031864151358604,
-0.02657985873520374... |
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 | [
-0.030413122847676277,
0.03341027721762657,
-0.007268059998750687,
-0.002783076837658882,
-0.000152490014443174,
-0.005883747711777687,
0.11559578776359558,
0.03229090943932533,
0.005329030100256205,
-0.051328834146261215,
-0.01113929320126772,
0.019716927781701088,
-0.011285536922514439,
... |
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 | [
-0.019580963999032974,
0.043923649936914444,
-0.011800428852438927,
-0.005231034010648727,
0.008137529715895653,
-0.0033072761725634336,
0.10678906738758087,
0.043457530438899994,
-0.004704537335783243,
-0.04980621486902237,
-0.010457497090101242,
0.023348301649093628,
-0.02564375475049019,
... |
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 | [
-0.023627687245607376,
0.042695458978414536,
-0.015620402060449123,
-0.0027356501668691635,
0.0008529109763912857,
-0.005411423742771149,
0.11293818056583405,
0.035167716443538666,
-0.0030048219487071037,
-0.05225014314055443,
-0.013207796029746532,
0.018846305087208748,
-0.02944585308432579... |
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 | [
-0.019841304048895836,
0.04223233833909035,
-0.014869359321892262,
-0.004418667871505022,
-0.001166933448985219,
-0.006772576365619898,
0.11215269565582275,
0.03457475081086159,
-0.0015134857967495918,
-0.05190868303179741,
-0.014905575662851334,
0.019220927730202675,
-0.02826484851539135,
... |
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 | [
-0.02199328877031803,
0.04131121188402176,
-0.011975553818047047,
-0.005230364855378866,
0.0016250074841082096,
-0.005215801298618317,
0.10523340851068497,
0.035596054047346115,
0.000497660890687257,
-0.052397746592760086,
-0.010711697861552238,
0.019696149975061417,
-0.025653820484876633,
... |
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 | [
-0.050107236951589584,
0.0734279677271843,
0.021107831969857216,
-0.032116834074258804,
0.025546232238411903,
-0.013570400886237621,
-0.006637537851929665,
0.004790743812918663,
0.03167375922203064,
0.01441270299255848,
0.036066602915525436,
0.040601033717393875,
-0.05888403579592705,
0.02... |
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 | [
-0.04290015250444412,
0.07055320590734482,
0.02451573871076107,
-0.0415748693048954,
0.02953019179403782,
-0.02184571884572506,
-0.010747005231678486,
-0.003990547731518745,
0.008536694571375847,
0.01731426827609539,
0.03936378285288811,
0.0625692680478096,
-0.05613767355680466,
0.02204781... |
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 | [
-0.0382751002907753,
0.07994237542152405,
0.02706175111234188,
-0.03576606139540672,
0.020462894812226295,
-0.02085663564503193,
-0.0019639190286397934,
-0.008365917019546032,
0.03000793606042862,
0.01685037463903427,
0.048119496554136276,
0.05012517794966698,
-0.06928066909313202,
0.01922... |
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 | [
-0.03845931962132454,
0.07281296700239182,
0.02623078227043152,
-0.03986483812332153,
0.022084517404437065,
-0.017323780804872513,
-0.0027437966782599688,
-0.0031669524032622576,
0.027083968743681908,
0.014669031836092472,
0.04251996800303459,
0.04859409108757973,
-0.06243593990802765,
0.0... |
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 | [
-0.04292921721935272,
0.075091153383255,
0.02600128948688507,
-0.036999594420194626,
0.021008746698498726,
-0.011868918314576149,
-0.00740513252094388,
-0.005849137436598539,
0.022872108966112137,
0.015873238444328308,
0.04756989702582359,
0.04310452193021774,
-0.06119884178042412,
0.00467... |
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 | [
-0.0004829554818570614,
-0.0013111146399751306,
0.01449994370341301,
-0.007030843757092953,
0.06822697073221207,
0.024526745080947876,
0.03858464956283569,
0.024737169966101646,
0.035831741988658905,
-0.04860895872116089,
0.003919385839253664,
0.05327128991484642,
-0.0040909950621426105,
-... |
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 | [
-0.011799106374382973,
-0.01606430485844612,
0.036855634301900864,
-0.020840633660554886,
0.06023738905787468,
-0.011846999637782574,
0.04492945969104767,
0.03819353133440018,
0.03257714584469795,
0.0023745503276586533,
0.04820738732814789,
0.00932046864181757,
0.028607839718461037,
0.0086... |
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 | [
-0.011799106374382973,
-0.01606430485844612,
0.036855634301900864,
-0.020840633660554886,
0.06023738905787468,
-0.011846999637782574,
0.04492945969104767,
0.03819353133440018,
0.03257714584469795,
0.0023745503276586533,
0.04820738732814789,
0.00932046864181757,
0.028607839718461037,
0.0086... |
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 | [
-0.0005478099919855595,
0.028410036116838455,
0.011470766738057137,
0.00541128683835268,
0.09987736493349075,
0.01880790665745735,
0.021508030593395233,
0.031297069042921066,
-0.03478458896279335,
-0.052093829959630966,
0.044901665300130844,
0.011150558479130268,
0.03712455555796623,
-0.01... |
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 | [
-0.0005478099919855595,
0.028410036116838455,
0.011470766738057137,
0.00541128683835268,
0.09987736493349075,
0.01880790665745735,
0.021508030593395233,
0.031297069042921066,
-0.03478458896279335,
-0.052093829959630966,
0.044901665300130844,
0.011150558479130268,
0.03712455555796623,
-0.01... |
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:
** (Dec 15, 2022)
- test_kernel_pca
- test_kernel_pca_consistent_transfor... | 25,164 | [
-0.01233625691384077,
0.03183869644999504,
-0.046048302203416824,
-0.017293868586421013,
0.041820235550403595,
-0.001437105587683618,
0.0186306219547987,
0.03769540786743164,
-0.01709725894033909,
0.02284202165901661,
0.05761507526040077,
0.030922235921025276,
0.00012544433411676437,
0.070... |
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 | [
-0.01233625691384077,
0.03183869644999504,
-0.046048302203416824,
-0.017293868586421013,
0.041820235550403595,
-0.001437105587683618,
0.0186306219547987,
0.03769540786743164,
-0.01709725894033909,
0.02284202165901661,
0.05761507526040077,
0.030922235921025276,
0.00012544433411676437,
0.070... |
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 | [
-0.01233625691384077,
0.03183869644999504,
-0.046048302203416824,
-0.017293868586421013,
0.041820235550403595,
-0.001437105587683618,
0.0186306219547987,
0.03769540786743164,
-0.01709725894033909,
0.02284202165901661,
0.05761507526040077,
0.030922235921025276,
0.00012544433411676437,
0.070... |
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 | [
-0.00883757509291172,
-0.04297048971056938,
0.012143908999860287,
0.04736290127038956,
0.03849555179476738,
-0.016131149604916573,
-0.0031964918598532677,
0.011558988131582737,
0.010766085237264633,
-0.024348851293325424,
0.0806025043129921,
0.011131137609481812,
0.003808689070865512,
0.01... |
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 | [
-0.00883757509291172,
-0.04297048971056938,
0.012143908999860287,
0.04736290127038956,
0.03849555179476738,
-0.016131149604916573,
-0.0031964918598532677,
0.011558988131582737,
0.010766085237264633,
-0.024348851293325424,
0.0806025043129921,
0.011131137609481812,
0.003808689070865512,
0.01... |
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 | [
-0.00883757509291172,
-0.04297048971056938,
0.012143908999860287,
0.04736290127038956,
0.03849555179476738,
-0.016131149604916573,
-0.0031964918598532677,
0.011558988131582737,
0.010766085237264633,
-0.024348851293325424,
0.0806025043129921,
0.011131137609481812,
0.003808689070865512,
0.01... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
0.007917718961834908,
0.04062815383076668,
0.016242584213614464,
-0.05248909443616867,
0.024424904957413673,
0.03417038172483444,
0.06166483089327812,
0.06682080030441284,
0.06027458235621452,
-0.01695110835134983,
0.038380641490221024,
0.07814456522464752,
0.011795648373663425,
0.02757577... |
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 | [
-0.0008850894519127905,
0.03523234650492668,
-0.0032674099784344435,
0.04543757811188698,
-0.013103372417390347,
-0.036372262984514236,
-0.023395871743559837,
-0.005213862285017967,
0.0016509020933881402,
0.005098698660731316,
0.013077999465167522,
0.011126887053251266,
-0.001443929155357182... |
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 | [
-0.011048519983887672,
-0.0047644865699112415,
0.013171270489692688,
-0.011741274036467075,
0.046126823872327805,
0.03855006396770477,
0.060253169387578964,
0.035229895263910294,
0.011939961463212967,
-0.009353576228022575,
0.044748228043317795,
0.03296726197004318,
0.010113682597875595,
0... |
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 | [
-0.011048519983887672,
-0.0047644865699112415,
0.013171270489692688,
-0.011741274036467075,
0.046126823872327805,
0.03855006396770477,
0.060253169387578964,
0.035229895263910294,
0.011939961463212967,
-0.009353576228022575,
0.044748228043317795,
0.03296726197004318,
0.010113682597875595,
0... |
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 | [
-0.019802933558821678,
-0.03239686042070389,
0.017364563420414925,
0.018072152510285378,
0.07236377894878387,
-0.04333197697997093,
0.0431334488093853,
0.009349759668111801,
0.024046489968895912,
-0.05034139007329941,
0.0588398240506649,
0.051548246294260025,
-0.008476991206407547,
0.01847... |
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 | [
-0.02868330478668213,
0.11766241490840912,
-0.00658166641369462,
-0.022836871445178986,
0.03601986542344093,
0.017601901665329933,
0.05352779105305672,
0.0577005073428154,
0.0406077541410923,
-0.020272616297006607,
0.023957382887601852,
0.04909490421414375,
-0.03707343339920044,
0.06526951... |
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 | [
0.026176070794463158,
0.0061490219086408615,
-0.022161291912198067,
-0.08349739015102386,
0.019651392474770546,
0.026769155636429787,
0.026446694508194923,
0.04724840074777603,
0.013528874143958092,
0.04307086765766144,
0.0338423065841198,
0.03592580184340477,
-0.0234755240380764,
0.055959... |
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 | [
0.02402578480541706,
-0.006122627295553684,
-0.027658658102154732,
-0.07821396738290787,
0.006539964582771063,
0.023565782234072685,
0.027328114956617355,
0.050291381776332855,
0.03297047317028046,
0.041382286697626114,
0.039965614676475525,
0.04002833366394043,
-0.030334364622831345,
0.05... |
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 | [
0.023563243448734283,
-0.0012959581799805164,
-0.0022571892477571964,
-0.05819038674235344,
0.049157459288835526,
0.016797997057437897,
0.009676354937255383,
0.06329403817653656,
0.008837422356009483,
0.041104383766651154,
0.03942243382334709,
0.04269607737660408,
-0.04152829572558403,
0.0... |
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 | [
0.033960163593292236,
-0.017477011308073997,
-0.02745499275624752,
-0.0690709799528122,
0.025385161861777306,
0.03370768204331398,
0.010129558853805065,
0.06857068091630936,
0.029299646615982056,
0.03167497366666794,
0.04844992607831955,
0.038783006370067596,
-0.023264208808541298,
0.03991... |
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 | [
-0.016549939289689064,
0.0014752143761143088,
-0.013977069407701492,
-0.06336178630590439,
0.018273718655109406,
0.017630111426115036,
0.029289692640304565,
0.0787244439125061,
0.015354136936366558,
0.02957167476415634,
0.03749553859233856,
0.05125858634710312,
-0.049361180514097214,
0.028... |
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 | [
0.021554164588451385,
-0.021145327016711235,
-0.0022882591001689434,
-0.04591752588748932,
0.059047628194093704,
0.019592665135860443,
0.010242379270493984,
0.05904963240027428,
0.009884203784167767,
0.04684087261557579,
0.04340796917676926,
0.04544398561120033,
-0.032417114824056625,
0.04... |
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 | [
0.008279635570943356,
0.01400902308523655,
-0.00913395918905735,
-0.031626470386981964,
0.05373672395944595,
0.012865671887993813,
0.0050887553952634335,
0.03239097073674202,
0.01506112515926361,
0.037167295813560486,
0.03461121395230293,
0.06286071240901947,
-0.035195089876651764,
0.04138... |
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 | [
0.04235127940773964,
-0.008238010108470917,
-0.019731828942894936,
-0.07394476234912872,
0.02015128917992115,
0.021075641736388206,
0.04003041237592697,
0.04529408738017082,
0.013196289539337158,
0.031148506328463554,
0.02714969404041767,
0.04263453185558319,
-0.021319331601262093,
0.04303... |
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 | [
-0.02538406103849411,
0.017362309619784355,
0.01260196790099144,
-0.016363682225346565,
0.07430806756019592,
0.004045585170388222,
0.050942786037921906,
0.00044315465493127704,
0.02146022766828537,
0.0116447564214468,
0.028016485273838043,
0.038106899708509445,
0.015037758275866508,
0.0169... |
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 | [
-0.02538406103849411,
0.017362309619784355,
0.01260196790099144,
-0.016363682225346565,
0.07430806756019592,
0.004045585170388222,
0.050942786037921906,
0.00044315465493127704,
0.02146022766828537,
0.0116447564214468,
0.028016485273838043,
0.038106899708509445,
0.015037758275866508,
0.0169... |
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 | [
0.0014018247602507472,
-0.028818562626838684,
-0.011259111575782299,
-0.010515364818274975,
-0.009332286193966866,
0.03152775764465332,
0.04223933443427086,
-0.0006829862832091749,
0.047378771007061005,
-0.0289479810744524,
0.04508465528488159,
0.07921060919761658,
0.015928572043776512,
-0... |
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 | [
-0.049945537000894547,
0.005907083861529827,
0.03007182851433754,
0.0044186906889081,
0.05894101411104202,
-0.03320111334323883,
0.028301838785409927,
0.05193236842751503,
0.0461108572781086,
-0.01181091833859682,
-0.009030738845467567,
0.06951208412647247,
0.014567140489816666,
0.00619451... |
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 | [
-0.03317965194582939,
0.035950917750597,
0.03294055163860321,
-0.0021539651788771152,
0.06171901896595955,
-0.025817591696977615,
0.02921946346759796,
0.043612219393253326,
0.04533909261226654,
-0.012395725585520267,
-0.0002504560397937894,
0.07239414751529694,
0.022417942062020302,
-0.007... |
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 | [
-0.053105466067790985,
0.013028583489358425,
0.03290247544646263,
0.007490420714020729,
0.060601282864809036,
-0.03555992990732193,
0.029964912682771683,
0.050997160375118256,
0.04444534704089165,
-0.01229913905262947,
-0.01337342243641615,
0.07416948676109314,
0.015404818579554558,
0.0052... |
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 | [
-0.03674058988690376,
0.01648315228521824,
-0.0251967404037714,
-0.016041692346334457,
0.005952164996415377,
0.023052530363202095,
0.012775911018252373,
0.04223662242293358,
-0.04236004501581192,
0.0169514250010252,
0.07223780453205109,
0.04876544699072838,
-0.013898196630179882,
0.0656428... |
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 | [
-0.007128502707928419,
0.048483707010746,
-0.002444219309836626,
-0.033788491040468216,
-0.015137129463255405,
0.01510701235383749,
0.05975774675607681,
-0.04016061872243881,
0.08845648914575577,
0.024014022201299667,
0.012256846763193607,
0.07799514383077621,
0.003825922030955553,
0.06638... |
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 | [
-0.012299920432269573,
0.06247552111744881,
-0.005861037410795689,
-0.03147314116358757,
-0.015016183257102966,
0.018290190026164055,
0.05796685814857483,
-0.03961321711540222,
0.09382405877113342,
0.0270641278475523,
0.013821649365127087,
0.07081035524606705,
-0.0034377763513475657,
0.061... |
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 | [
-0.029428891837596893,
-0.026853829622268677,
0.010835268534719944,
-0.016595477238297462,
0.046683572232723236,
0.00794805958867073,
0.029253976419568062,
0.015758048743009567,
0.011874320916831493,
0.031199688091874123,
0.05365584418177605,
0.009701083414256573,
-0.007764650508761406,
0.... |
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 | [
-0.02747235633432865,
-0.0060957251116633415,
0.00026438251370564103,
-0.022476620972156525,
0.06022346019744873,
0.00039464462315663695,
0.03575984016060829,
0.03497984632849693,
0.029745204374194145,
0.021214688196778297,
0.0398271307349205,
0.02688724920153618,
-0.03236996382474899,
0.0... |
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 | [
0.02638138271868229,
0.0679243952035904,
0.00794853176921606,
-0.01533015351742506,
-0.021689491346478462,
0.003700199304148555,
0.08362229913473129,
0.027743155136704445,
0.023680035024881363,
-0.005847094114869833,
-0.019489748403429985,
0.019444622099399567,
0.010760951787233353,
0.0664... |
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 | [
0.02638138271868229,
0.0679243952035904,
0.00794853176921606,
-0.01533015351742506,
-0.021689491346478462,
0.003700199304148555,
0.08362229913473129,
0.027743155136704445,
0.023680035024881363,
-0.005847094114869833,
-0.019489748403429985,
0.019444622099399567,
0.010760951787233353,
0.0664... |
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 | [
0.02638138271868229,
0.0679243952035904,
0.00794853176921606,
-0.01533015351742506,
-0.021689491346478462,
0.003700199304148555,
0.08362229913473129,
0.027743155136704445,
0.023680035024881363,
-0.005847094114869833,
-0.019489748403429985,
0.019444622099399567,
0.010760951787233353,
0.0664... |
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 | [
0.02638138271868229,
0.0679243952035904,
0.00794853176921606,
-0.01533015351742506,
-0.021689491346478462,
0.003700199304148555,
0.08362229913473129,
0.027743155136704445,
0.023680035024881363,
-0.005847094114869833,
-0.019489748403429985,
0.019444622099399567,
0.010760951787233353,
0.0664... |
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 | [
-0.0032619249541312456,
0.026644103229045868,
0.018156467005610466,
-0.011326746083796024,
0.07893750071525574,
0.03991943225264549,
0.06163749843835831,
0.007080403156578541,
0.010113708674907684,
0.035021428018808365,
0.03222838044166565,
-0.014326835982501507,
-0.011670751497149467,
0.0... |
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 | [
-0.0032619249541312456,
0.026644103229045868,
0.018156467005610466,
-0.011326746083796024,
0.07893750071525574,
0.03991943225264549,
0.06163749843835831,
0.007080403156578541,
0.010113708674907684,
0.035021428018808365,
0.03222838044166565,
-0.014326835982501507,
-0.011670751497149467,
0.0... |
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 | [
-0.020532213151454926,
-0.026357140392065048,
-0.009685484692454338,
0.01607172191143036,
-0.047815486788749695,
0.026513734832406044,
0.09196673333644867,
-0.04856395721435547,
-0.04491884261369705,
-0.005729696713387966,
0.08234520256519318,
0.023690115660429,
0.014732280746102333,
0.007... |
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 | [
-0.026367835700511932,
-0.007764179725199938,
-0.000019390476154512726,
-0.0012263469398021698,
-0.04710741713643074,
0.011160940863192081,
0.09228675067424774,
-0.04791998863220215,
-0.046273373067379,
-0.004521983675658703,
0.09539953619241714,
0.010830814018845558,
0.017452377825975418,
... |
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 | [
-0.01124954130500555,
-0.03320424631237984,
-0.0016953235026448965,
0.03241344913840294,
0.038692254573106766,
-0.004423463251441717,
0.049359314143657684,
0.01588219776749611,
-0.03400201350450516,
0.027718165889382362,
0.03684971481561661,
0.04533730819821358,
0.03940419852733612,
0.0597... |
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 | [
0.005469434894621372,
-0.036715466529130936,
0.008040101267397404,
0.03135424107313156,
0.0663730800151825,
0.00952216237783432,
0.04919179156422615,
0.039087455719709396,
-0.04184602200984955,
0.0057558040134608746,
0.031178291887044907,
0.040879394859075546,
0.0411505401134491,
0.0446731... |
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 | [
-0.010172744281589985,
-0.03111153654754162,
-0.0029405392706394196,
0.03456658869981766,
0.038912076503038406,
-0.0053308517672121525,
0.05015969276428223,
0.01594392955303192,
-0.0358559750020504,
0.028740614652633667,
0.03408462554216385,
0.045254532247781754,
0.03762795776128769,
0.058... |
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 | [
-0.006987307220697403,
-0.03603486716747284,
-0.003918876871466637,
0.04222315177321434,
0.043943051248788834,
0.010178268887102604,
0.05413133278489113,
0.03292069584131241,
-0.03835531324148178,
0.021421998739242554,
0.04473132640123367,
0.035414569079875946,
0.042324818670749664,
0.0485... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
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 | [
-0.006638310384005308,
0.03654571250081062,
0.048246368765830994,
0.02610507234930992,
0.12454091012477875,
0.037175584584474564,
0.06197855621576309,
0.05616217851638794,
0.02192394807934761,
-0.03558148071169853,
0.03291179612278938,
0.027423663064837456,
-0.004946049768477678,
0.0467560... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.