@@ -425,7 +425,8 @@ class SelectPercentile(_BaseFilter):
425
425
SelectFpr: Select features based on a false positive rate test.
426
426
SelectFdr: Select features based on an estimated false discovery rate.
427
427
SelectFwe: Select features based on family-wise error rate.
428
- GenericUnivariateSelect: Univariate feature selector with configurable mode.
428
+ GenericUnivariateSelect: Univariate feature selector with configurable
429
+ mode.
429
430
"""
430
431
@_deprecate_positional_args
431
432
def __init__ (self , score_func = f_classif , * , percentile = 10 ):
@@ -507,11 +508,13 @@ class SelectKBest(_BaseFilter):
507
508
chi2: Chi-squared stats of non-negative features for classification tasks.
508
509
f_regression: F-value between label/feature for regression tasks.
509
510
mutual_info_regression: Mutual information for a continuous target.
510
- SelectPercentile: Select features based on percentile of the highest scores.
511
+ SelectPercentile: Select features based on percentile of the highest
512
+ scores.
511
513
SelectFpr: Select features based on a false positive rate test.
512
514
SelectFdr: Select features based on an estimated false discovery rate.
513
515
SelectFwe: Select features based on family-wise error rate.
514
- GenericUnivariateSelect: Univariate feature selector with configurable mode.
516
+ GenericUnivariateSelect: Univariate feature selector with configurable
517
+ mode.
515
518
"""
516
519
@_deprecate_positional_args
517
520
def __init__ (self , score_func = f_classif , * , k = 10 ):
@@ -586,11 +589,13 @@ class SelectFpr(_BaseFilter):
586
589
mutual_info_classif:
587
590
f_regression: F-value between label/feature for regression tasks.
588
591
mutual_info_regression: Mutual information between features and the target.
589
- SelectPercentile: Select features based on percentile of the highest scores.
592
+ SelectPercentile: Select features based on percentile of the highest
593
+ scores.
590
594
SelectKBest: Select features based on the k highest scores.
591
595
SelectFdr: Select features based on an estimated false discovery rate.
592
596
SelectFwe: Select features based on family-wise error rate.
593
- GenericUnivariateSelect: Univariate feature selector with configurable mode.
597
+ GenericUnivariateSelect: Univariate feature selector with configurable
598
+ mode.
594
599
"""
595
600
@_deprecate_positional_args
596
601
def __init__ (self , score_func = f_classif , * , alpha = 5e-2 ):
@@ -652,11 +657,13 @@ class SelectFdr(_BaseFilter):
652
657
chi2: Chi-squared stats of non-negative features for classification tasks.
653
658
f_regression: F-value between label/feature for regression tasks.
654
659
mutual_info_regression: Mutual information for a contnuous target.
655
- SelectPercentile: Select features based on percentile of the highest scores.
660
+ SelectPercentile: Select features based on percentile of the highest
661
+ scores.
656
662
SelectKBest: Select features based on the k highest scores.
657
663
SelectFpr: Select features based on a false positive rate test.
658
664
SelectFwe: Select features based on family-wise error rate.
659
- GenericUnivariateSelect: Univariate feature selector with configurable mode.
665
+ GenericUnivariateSelect: Univariate feature selector with configurable
666
+ mode.
660
667
"""
661
668
@_deprecate_positional_args
662
669
def __init__ (self , score_func = f_classif , * , alpha = 5e-2 ):
@@ -715,11 +722,13 @@ class SelectFwe(_BaseFilter):
715
722
f_classif: ANOVA F-value between label/feature for classification tasks.
716
723
chi2: Chi-squared stats of non-negative features for classification tasks.
717
724
f_regression: F-value between label/feature for regression tasks.
718
- SelectPercentile: Select features based on percentile of the highest scores.
725
+ SelectPercentile: Select features based on percentile of the highest
726
+ scores.
719
727
SelectKBest: Select features based on the k highest scores.
720
728
SelectFpr: Select features based on a false positive rate test.
721
729
SelectFdr: Select features based on an estimated false discovery rate.
722
- GenericUnivariateSelect: Univariate feature selector with configurable mode.
730
+ GenericUnivariateSelect: Univariate feature selector with configurable
731
+ mode.
723
732
"""
724
733
@_deprecate_positional_args
725
734
def __init__ (self , score_func = f_classif , * , alpha = 5e-2 ):
@@ -783,7 +792,8 @@ class GenericUnivariateSelect(_BaseFilter):
783
792
chi2: Chi-squared stats of non-negative features for classification tasks.
784
793
f_regression: F-value between label/feature for regression tasks.
785
794
mutual_info_regression: Mutual information for a continuous target.
786
- SelectPercentile: Select features based on percentile of the highest scores.
795
+ SelectPercentile: Select features based on percentile of the highest
796
+ scores.
787
797
SelectKBest: Select features based on the k highest scores.
788
798
SelectFpr: Select features based on a false positive rate test.
789
799
SelectFdr: Select features based on an estimated false discovery rate.
0 commit comments