- new postmunge parameter inversion
- to recover formatting of source columns
- such as for example to invert predictions to original formatting of labels
- this method is intended as an improvement upon the labelsencoding_dict returned label set normalization dictionaries which were intended for this purpose
- note that for cases where columns were originally returned in multiple configurations
- inversion selects a path of inversion transformations based on heuristic of shortest depth
- giving priority to those paths of full information retention
- method supported by new optional processdict entries inverseprocess and info_retention
- inversion transformations now available for transformation categories: nmbr, nbr2, nbr3, mean, mea2, mea3, MADn, MAD2, MAD3, mnmx, mnm2, retn, text, txt2, ordl, ord2, ord3, bnry, bnr2, 1010, pwrs, pwr2, pwor, por2, bins, bint, boor, bnwd, bnwK, bnwM, bnwo, bnKo, bnMo, bene, bne7, bne9, bneo, bn7o, bn9o, log0, log1, logn, lgnm, sqrt, addd, sbtr, mltp, divd, rais, absl, bkt1, bkt2, bkt3, bkt4
- inversion can be passed to postmunge as one of {False, 'test', 'labels'}, where default is False
- where 'test' accepts a test set consistent in form to the train set returned from automunge(.)
- and 'labels' accepts a label set consistent in form to the label set returned from automunge(.)
- note that inversion operation also inspects parameters LabelSmoothing, pandasoutput and printstatus
- note that inversion operation is pending support for train sets upon which dimensionality reduction techniques were performed (such as PCA, feature importance, or Binary).
- recovery from smoothed labels is supported.
- note that categorical encodings (bnry, 1010, text, etc) had a few diferent conventions of plug values for various scenarios requiring them, now standardizing on the arbitrary string 'zzzinfill' as a plug value in categorical set encodings for cases where required for infill.
- so to be clear, 'zzzinfill' is now a reserved special character set for categorical encodings
- (this item becomes more customer facing with inversion)