Add sparse input support to ensemble.AdaBoostClassifier and
ensemble.AdaBoostRegressor meta-estimators.
By Hamzeh Alsalhi.
Memory improvements of decision trees, by Arnaud Joly.
Decision trees can now be built in best-first manner by using max_leaf_nodes
as the stopping criteria. Refactored the tree code to use either a
stack or a priority queue for tree building.
By Peter Prettenhofer and Gilles Louppe.
Decision trees can now be fitted on fortran- and c-style arrays, and
non-continuous arrays without the need to make a copy.
If the input array has a different dtype than np.float32, a
fortran-style copy will be made since fortran-style memory layout has speed
advantages. By Peter Prettenhofer and Gilles Louppe.
Speed improvement of regression trees by optimizing the
the computation of the mean square error criterion. This lead
to speed improvement of the tree, forest and gradient boosting tree
modules. By Arnaud Joly
The img_to_graph and grid_tograph functions in
sklearn.feature_extraction.image now return np.ndarray
instead of np.matrix when return_as=np.ndarray. See the
Notes section for more information on compatibility.
Changed the internal storage of decision trees to use a struct array.
This fixed some small bugs, while improving code and providing a small
speed gain. By Joel Nothman.
Reduce memory usage and overhead when fitting and predicting with forests
of randomized trees in parallel with n_jobs != 1 by leveraging new
threading backend of joblib 0.8 and releasing the GIL in the tree fitting
Cython code. By Olivier Grisel and Gilles Louppe.
Speed improvement of the sklearn.ensemble.gradient_boosting module.
By Gilles Louppe and Peter Prettenhofer.
Various enhancements to the sklearn.ensemble.gradient_boosting
module: a warm_start argument to fit additional trees,
a max_leaf_nodes argument to fit GBM style trees,
a monitor fit argument to inspect the estimator during training, and
refactoring of the verbose code. By Peter Prettenhofer.
Faster sklearn.ensemble.ExtraTrees by caching feature values.
By Arnaud Joly.
Faster depth-based tree building algorithm such as decision tree,
random forest, extra trees or gradient tree boosting (with depth based
growing strategy) by avoiding trying to split on found constant features
in the sample subset. By Arnaud Joly.
Add min_weight_fraction_leaf pre-pruning parameter to tree-based
methods: the minimum weighted fraction of the input samples required to be
at a leaf node. By Noel Dawe.
Added metrics.pairwise_distances_argmin_min, by Philippe Gervais.
Added predict method to cluster.AffinityPropagation and
cluster.MeanShift, by Mathieu Blondel.
Vector and matrix multiplications have been optimised throughout the
library by Denis Engemann, and Alexandre Gramfort.
In particular, they should take less memory with older NumPy versions
(prior to 1.7.2).
Precision-recall and ROC examples now use train_test_split, and have more
explanation of why these metrics are useful. By Kyle Kastner
The training algorithm for decomposition.NMF is faster for
sparse matrices and has much lower memory complexity, meaning it will
scale up gracefully to large datasets. By Lars Buitinck.
Added svd_method option with default value to “randomized” to
decomposition.FactorAnalysis to save memory and
significantly speedup computation by Denis Engemann, and
Alexandre Gramfort.
Changed cross_validation.StratifiedKFold to try and
preserve as much of the original ordering of samples as possible so as
not to hide overfitting on datasets with a non-negligible level of
samples dependency.
By Daniel Nouri and Olivier Grisel.
Add multi-output support to gaussian_process.GaussianProcessRegressor
by John Novak.
Support for precomputed distance matrices in nearest neighbor estimators
by Robert Layton and Joel Nothman.
Norm computations optimized for NumPy 1.6 and later versions by
Lars Buitinck. In particular, the k-means algorithm no longer
needs a temporary data structure the size of its input.
dummy.DummyClassifier can now be used to predict a constant
output value. By Manoj Kumar.
dummy.DummyRegressor has now a strategy parameter which allows
to predict the mean, the median of the training set or a constant
output value. By Maheshakya Wijewardena.
Multi-label classification output in multilabel indicator format
is now supported by metrics.roc_auc_score and
metrics.average_precision_score by Arnaud Joly.
Significant performance improvements (more than 100x speedup for
large problems) in isotonic.IsotonicRegression by
Andrew Tulloch.
Speed and memory usage improvements to the SGD algorithm for linear
models: it now uses threads, not separate processes, when n_jobs>1.
By Lars Buitinck.
Grid search and cross validation allow NaNs in the input arrays so that
preprocessors such as preprocessing.Imputer can be trained within the cross
validation loop, avoiding potentially skewed results.
Ridge regression can now deal with sample weights in feature space
(only sample space until then). By Michael Eickenberg.
Both solutions are provided by the Cholesky solver.
Several classification and regression metrics now support weighted
samples with the new sample_weight argument:
metrics.accuracy_score,
metrics.zero_one_loss,
metrics.precision_score,
metrics.average_precision_score,
metrics.f1_score,
,
,
,
,
,
,
.
By .
Speed up of the sample generator
datasets.make_multilabel_classification. By Joel Nothman.