This release updates the NumericalTransformer
by adding a new rounding
argument.
Users can now obtain numerical values with precision, either pre-specified or automatically computed from the given data.
- Add
rounding
argument toNumericalTransformer
- Issue #166 by @amontanez24 and @csala NumericalTransformer
rounding error with infinity - Issue #169 by @amontanez24- Add min and max arguments to NumericalTransformer - Issue #106 by @amontanez24
This release adds a new method to the CategoricalTransformer
to solve a bug where
the transformer becomes unusable after being pickled and unpickled if it had NaN
values in the data which it was fit on.
It also fixes some grammar mistakes in the documentation.
- CategoricalTransformer with NaN values cannot be pickled bug - Issue #164 by @pvk-developer and @csala
- docs: fix typo - PR #163 by @sbrugman
This release improves the HyperTransformer
memory usage when working with a
high number of columns or a high number of categorical values when using one hot encoding.
Boolean
,Datetime
andLabelEncoding
transformers fail with 2Dndarray
- Issue #160 by @pvk-developerHyperTransformer
: Memory usage increase whenreverse_transform
is called - Issue #156 by @pvk-developer and @AnupamaGangadhar
In this release a change in the HyperTransformer allows using it to transform and reverse transform a subset of the columns seen during training.
The anonymization functionality which was deprecated and not being used has also been removed along with the Faker dependency.
- Allow the HyperTransformer to be used on a subset of the columns - Issue #152 by @csala
- Remove faker - Issue #150 by @csala
This release changes the behavior of the HyperTransformer
to prevent it from
modifying any column in the given DataFrame
if the transformers
dictionary
is passed empty.
- If transformers is an empty dict, do nothing - Issue #149 by @csala
This release adds a new argument to the HyperTransformer
which gives control over
which transformers to use by default for each dtype
if no specific transformer
has been specified for the field.
This is also the first version to be officially released on conda.
- Add
dtype_transformers
argument to HyperTransformer - Issue #148 by @csala - Makes Copulas an optional dependency - Issue #144 by @fealho
This release fixes a bug that prevented the CategoricalTransformer
from working properly
when being passed data that contained numerical data only, without any strings, but also
contained None
or NaN
values.
- KeyError: nan - CategoricalTransformer fails on numerical + nan data only - Issue #142 by @csala
This release fixes a few minor bugs, including some which prevented RDT from fully working on Windows systems.
Thanks to this fixes, as well as a new testing infrastructure that has been set up, from now on RDT is officially supported on Windows systems, as well as on the Linux and macOS systems which were previously supported.
- TypeError: unsupported operand type(s) for: 'NoneType' and 'int' - Issue #132 by @csala
- Example does not work on Windows - Issue #114 by @csala
- OneHotEncodingTransformer producing all zeros - Issue #135 by @fealho
- OneHotEncodingTransformer support for lists and lists of lists - Issue #137 by @fealho
In this release we drop the support for the now officially dead Python 3.5 and introduce a new feature in the DatetimeTransformer which reduces the dimensionality of the generated numerical values while also ensuring that the reverted datetimes maintain the same level as time unit precision as the original ones.
- Drop Py35 support - Issue #129 by @csala
- Add option to drop constant parts of the datetimes - Issue #130 by @csala
Miunor bugfixing release.
- Handle NaNs in OneHotEncodingTransformer - Issue #118 by @csala
- OneHotEncodingTransformer fails if there is only one category - Issue #119 by @csala
- All NaN column produces NaN values enhancement - Issue #121 by @csala
- Make the CategoricalTransformer learn the column dtype and restore it back - Issue #122 by @csala
- Implement OneHot and Label encoding as transformers - Issue #112 by @csala
- Escape
column_name
in hypertransformer - Issue #110 by @csala
- Boolean Transformer fails to revert when there are NO nulls - Issue #103 by @JDTheRipperPC
This version comes with a brand new API and internal implementation, removing the old
metadata JSON from the user provided arguments, and making each transformer work only
with pandas.Series
of their corresponding data type.
As part of this change, several transformer names have been changed and a new BooleanTransformer and a feature to automatically decide which transformers to use based on dtypes have been added.
Unit test coverage has also been increased to 100%.
Special thanks to @JDTheRipperPC and @csala for the big efforts put in making this release possible.
- Drop the usage of meta - Issue #72 by @JDTheRipperPC
- Make CatTransformer.probability_map deterministic - Issue #25 by @csala
- Add attributes NullTransformer and col_meta - Issue #30 by @ManuelAlvarezC
- Integrate with CodeCov - Issue #89 by @csala
- Remake Sphinx Documentation - Issue #96 by @JDTheRipperPC
- Improve README - Issue #92 by @JDTheRipperPC
- Document RELEASE workflow - Issue #93 by @JDTheRipperPC
- Add support to Python 3.7 - Issue #38 by @ManuelAlvarezC
- Create way to pass HyperTransformer table dict - Issue #45 by @ManuelAlvarezC
- Add a numerical transformer for positive numbers.
- Add option to anonymize data on categorical transformer.
- Move the
col_meta
argument from method-level to class-level. - Move the logic for missing values from the transformers into the
HyperTransformer
. - Removed unreacheble lines in
NullTransformer
. Numbertransfomer
to set default value to 0 when the column is null.- Add a CLA for collaborators.
- Refactor performance-wise the transformers.
- Improve handling of NaN in NumberTransformer and CatTransformer.
- Add unittests for HyperTransformer.
- Remove unused methods
get_types
andimpute_table
from HyperTransformer. - Make NumberTransformer enforce dtype int on integer data.
- Make DTTransformer check data format before transforming.
- Add minimal API Reference.
- Merge
rdt.utils
intoHyperTransformer
class.
- First release on PyPI.