0.10.0 - 2022-02-04¶
base¶
- Introduce
base.MiniBatchTransformer
. Add support for mini-batches tocompose.TransformerUnion
,compose.Select
, andpreprocessing.OneHotEncoder
.
checks¶
- Created this module to store estimator unit testing, rather than having it in the
utils
module.
compose¶
- Split
compose.Renamer
intocompose.Prefixer
andcompose.Suffixer
that respectively prepend and append a string to the features' name. - Changed
compose.Renamer
to allow feature renaming following a mapping.
evaluate¶
- Refactored
evaluate.progressive_validation
to work withapi.anomaly.base.AnomalyDetector
s.
facto¶
- Added
debug_one
method toBaseFM
.
feature_extraction¶
- Make the
by
parameter infeature_extraction.Agg
andfeature_extraction.TargetAgg
to be optional, allowing to calculate aggregates over the whole data. - Removed
feature_extraction.Lagger
andfeature_extraction.TargetLagger
. Their functionality can be reproduced by combiningfeature_extraction.Agg
andstats.Shift
. feature_extraction.Agg
andfeature_extraction.Target
now have astate
property. It returns apandas.Series
representing the current aggregates values within each group.
metrics¶
metrics.ROCAUC
works withbase.AnomalyDetectors
s.
misc¶
- Created this module to store some stuff that was in the
utils
module but wasn't necessarily shared between modules. - Implement
misc.CovMatrix
.
reco¶
- Renamed the
Recommender
base class intoRanker
. - Added a
rank
method to each recommender. - Removed
reco.SurpriseWrapper
as it wasn't really useful. - Added an
is_contextual
property to each ranker to indicate if a model makes use of contextual features or not.
stats¶
stats.Mean
,stats.Var
, andstats.Cov
each now have anupdate_many
method which accepts numpy arrays.
utils¶
- Removed
utils.Window
and usecollections.deque
instead where necessary.