0.4.1 - 2019-10-23¶
base¶
- Tests are now much more extensive, thanks mostly to the newly added estimator tags.
compose¶
- Added
compose.Renamer.
datasets¶
- Added
fetch_kdd99_http. - Added
fetch_sms. - Added
fetch_trec07p.
ensemble¶
- Removed
ensemble.HedgeBinaryClassifierbecause its performance was subpar. - Removed
ensemble.GroupRegressor, as this should be a special case ofensemble.StackingRegressor.
feature_extraction¶
- Fixed a bug where
feature_extraction.CountVectorizerandfeature_extraction.TFIDFVectorizercouldn't be pickled.
linear_model¶
linear_model.LogisticRegressionandlinear_model.LinearRegressionnow have anintercept_lrparameter.
metrics¶
- Metrics can now be composed using the
+operator, which is useful for evaluating multiple metrics at the same time. - Added
metrics.Rolling, which eliminates the need for a specific rolling implementation for each metric. - Each metric can now be passed a
sample_weightargument. - Added
metrics.WeightedF1. - Added
metrics.WeightedFBeta. - Added
metrics.WeightedPrecision. - Added
metrics.WeightedRecall.
neighbors¶
- Added
neighbors.KNeighborsRegressor. - Added
neighbors.KNeighborsClassifier.
optim¶
- Added
optim.AdaMax. - The
optimmodule has been reorganized into submodules; namelyoptim.schedulers,optim.initializers, andoptim.losses. The top-level now only contains optimizers. Some classes have been renamed accordingly. See the documentation for details. - Renamed
optim.VanillaSGDtooptim.SGD.
stats¶
- Added
stats.IQR. - Added
stats.RollingIQR. - Cythonized
stats.Meanandstats.Var.
stream¶
- Added
stream.shuffle. stream.iter_csvnow hasfractionandseedparameters to sample rows, deterministically or not.- Renamed
stream.iter_numpytostream.iter_array. stream.iter_csvcan now read from gzipped files.
time_series¶
time_series.Detrendernow has awindow_sizeparameter for detrending with a rolling mean.
tree¶
- Added
tree.RandomForestClassifier.
utils¶
- Fixed a bug where
utils.dotcould take longer than necessary.