0.5.0 - 2020-03-13¶
compat¶
- Added
compat.PyTorch2CremeRegressor. compat.SKL2CremeRegressorandcompat.SKL2CremeClassifiernow have an optionalbatch_sizeparameter in order to perform mini-batching.
compose¶
- Renamed
compose.Whitelistertocompose.Select. - Renamed
compose.Blacklistertocompose.Discard.
facto¶
- Added
facto.FFMClassifier. - Added
facto.FFMRegressor. - Added
facto.FwFMClassifier. - Added
facto.FwFMRegressor. - Added
facto.HOFMClassifier. - Added
facto.HOFMRegressor. - Refactored
facto.FMClassifier. - Refactored
facto.FMRegressor.
feature_selection¶
- Added
feature_selection.PoissonInclusion. - Removed
feature_selection.RandomDiscarderas it didn't make much sense.
feature_extraction¶
- Renamed
feature_extraction.CountVectorizertofeature_extraction.BagOfWords. - Renamed
feature_extraction.TFIDFVectorizertofeature_extraction.TFIDF. - Added
preprocessorandngram_rangeparameters tofeature_extraction.BagOfWords. - Added
preprocessorandngram_rangeparameters tofeature_extraction.TFIDF.
datasets¶
- The
datasetsmodule has been overhauled. Each dataset is now a class (e.g.fetch_electricityhas becomedatasets.Elec2). - Added
datasets.TrumpApproval. - Added
datasets.MaliciousURL. - Added
datasets.gen.SEA. - Added
datasets.Higgs. - Added
datasets.MovieLens100K. - Added
datasets.Bananas. - Added
datasets.Taxis. - Added
datasets.ImageSegments. - Added
datasets.SMTP
impute¶
- Added
impute.PreviousImputer.
linear_model¶
linear_model.FMClassifierhas been moved to thefactomodule.linear_model.FMRegressorhas been moved to thefactomodule.- Added
linear_model.ALMAClassifier.
metrics¶
- Added
metrics.ClassificationReport. - Added
metrics.TimeRolling. - The implementation of
metrics.ROCAUCwas incorrect. Using the trapezoidal rule instead of Simpson's rule seems to be more robust. metrics.PerClasshas been removed; it is recommended that you usemetrics.ClassificationReportinstead as it gives a better overview.
meta¶
- Moved
meta.TransformedTargetRegressorandmeta.BoxCoxRegressorto this module (they were previously in thecomposemodule). - Added
meta.PredClipper
model_selection¶
- Added
model_selection.expand_param_gridto generate a list of models from a grid of parameters. - Added the
model_selection.successive_halvingmethod for selecting hyperparameters. - The
online_scoreandonline_qa_scoremethods have been merged into a single method namedmodel_selection.progressive_val_score.
preprocessing¶
- Added
preprocessing.RBFSampler. - Added
preprocessing.MaxAbsScaler. - Added
preprocessing.RobustScaler. - Added
preprocessing.Binarizer. - Added
with_meanandwith_stdparameters topreprocessing.StandardScaler.
optim¶
- Added
optim.losses.BinaryFocalLoss. - Added the
optim.AMSGradoptimizer. - Added the
optim.Nadamoptimizer. - Added
optim.losses.Poisson. - Fixed a performance bug in
optim.NesterovMomentum.
reco¶
- Added
reco.FunkMF. - Renamed
reco.SVDtoreco.BiasedMF. - Renamed
reco.SGDBaselinetoreco.Baseline. - Models now expect a
dictinput withuseranditemfields.
sampling¶
- Added
sampling.RandomUnderSampler. - Added
sampling.RandomOverSampler. - Added
sampling.RandomSampler. - Added
sampling.HardSamplingClassifier. - Added
sampling.HardSamplingRegressor.
stats¶
- Added
stats.AbsMax. - Added
stats.RollingAbsMax.
stream¶
- Added
stream.iter_libsvm. stream.iter_csvnow supports reading from '.zip' files.- Added
stream.Cache. - Added a
dropparameter tostream.iter_csvto discard fields.