Skip to content

Commit 7eeee1a

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 175ded7caaeb1685ca29e26d9b7c7ee58467316d
1 parent 737ac20 commit 7eeee1a

File tree

1,089 files changed

+3341
-3338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,089 files changed

+3341
-3338
lines changed
-11 Bytes
Binary file not shown.
-11 Bytes
Binary file not shown.

dev/_downloads/plot_iterative_imputer_variants_comparison.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"\n# Imputing missing values with variants of IterativeImputer\n\n\nThe :class:`sklearn.impute.IterativeImputer` class is very flexible - it can be\nused with a variety of estimators to do round-robin regression, treating every\nvariable as an output in turn.\n\nIn this example we compare some estimators for the purpose of missing feature\nimputation with :class:`sklearn.imputeIterativeImputer`::\n\n :class:`~sklearn.linear_model.BayesianRidge`: regularized linear regression\n :class:`~sklearn.tree.DecisionTreeRegressor`: non-linear regression\n :class:`~sklearn.ensemble.ExtraTreesRegressor`: similar to missForest in R\n :class:`~sklearn.neighbors.KNeighborsRegressor`: comparable to other KNN\n imputation approaches\n\nOf particular interest is the ability of\n:class:`sklearn.impute.IterativeImputer` to mimic the behavior of missForest, a\npopular imputation package for R. In this example, we have chosen to use\n:class:`sklearn.ensemble.ExtraTreesRegressor` instead of\n:class:`sklearn.ensemble.RandomForestRegressor` (as in missForest) due to its\nincreased speed.\n\nNote that :class:`sklearn.neighbors.KNeighborsRegressor` is different from KNN\nimputation, which learns from samples with missing values by using a distance\nmetric that accounts for missing values, rather than imputing them.\n\nThe goal is to compare different estimators to see which one is best for the\n:class:`sklearn.impute.IterativeImputer` when using a\n:class:`sklearn.linear_model.BayesianRidge` estimator on the California housing\ndataset with a single value randomly removed from each row.\n\nFor this particular pattern of missing values we see that\n:class:`sklearn.ensemble.ExtraTreesRegressor` and\n:class:`sklearn.linear_model.BayesianRidge` give the best results.\n\n"
18+
"\n# Imputing missing values with variants of IterativeImputer\n\n\nThe :class:`sklearn.impute.IterativeImputer` class is very flexible - it can be\nused with a variety of estimators to do round-robin regression, treating every\nvariable as an output in turn.\n\nIn this example we compare some estimators for the purpose of missing feature\nimputation with :class:`sklearn.imputeIterativeImputer`:\n\n* :class:`~sklearn.linear_model.BayesianRidge`: regularized linear regression\n* :class:`~sklearn.tree.DecisionTreeRegressor`: non-linear regression\n* :class:`~sklearn.ensemble.ExtraTreesRegressor`: similar to missForest in R\n* :class:`~sklearn.neighbors.KNeighborsRegressor`: comparable to other KNN\n imputation approaches\n\nOf particular interest is the ability of\n:class:`sklearn.impute.IterativeImputer` to mimic the behavior of missForest, a\npopular imputation package for R. In this example, we have chosen to use\n:class:`sklearn.ensemble.ExtraTreesRegressor` instead of\n:class:`sklearn.ensemble.RandomForestRegressor` (as in missForest) due to its\nincreased speed.\n\nNote that :class:`sklearn.neighbors.KNeighborsRegressor` is different from KNN\nimputation, which learns from samples with missing values by using a distance\nmetric that accounts for missing values, rather than imputing them.\n\nThe goal is to compare different estimators to see which one is best for the\n:class:`sklearn.impute.IterativeImputer` when using a\n:class:`sklearn.linear_model.BayesianRidge` estimator on the California housing\ndataset with a single value randomly removed from each row.\n\nFor this particular pattern of missing values we see that\n:class:`sklearn.ensemble.ExtraTreesRegressor` and\n:class:`sklearn.linear_model.BayesianRidge` give the best results.\n\n"
1919
]
2020
},
2121
{

dev/_downloads/plot_iterative_imputer_variants_comparison.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
variable as an output in turn.
99
1010
In this example we compare some estimators for the purpose of missing feature
11-
imputation with :class:`sklearn.imputeIterativeImputer`::
11+
imputation with :class:`sklearn.imputeIterativeImputer`:
1212
13-
:class:`~sklearn.linear_model.BayesianRidge`: regularized linear regression
14-
:class:`~sklearn.tree.DecisionTreeRegressor`: non-linear regression
15-
:class:`~sklearn.ensemble.ExtraTreesRegressor`: similar to missForest in R
16-
:class:`~sklearn.neighbors.KNeighborsRegressor`: comparable to other KNN
17-
imputation approaches
13+
* :class:`~sklearn.linear_model.BayesianRidge`: regularized linear regression
14+
* :class:`~sklearn.tree.DecisionTreeRegressor`: non-linear regression
15+
* :class:`~sklearn.ensemble.ExtraTreesRegressor`: similar to missForest in R
16+
* :class:`~sklearn.neighbors.KNeighborsRegressor`: comparable to other KNN
17+
imputation approaches
1818
1919
Of particular interest is the ability of
2020
:class:`sklearn.impute.IterativeImputer` to mimic the behavior of missForest, a

dev/_downloads/scikit-learn-docs.pdf

8.52 KB
Binary file not shown.

dev/_images/iris.png

0 Bytes
-27 Bytes
-27 Bytes
-250 Bytes
-250 Bytes

0 commit comments

Comments
 (0)