* Reuse code between generalize and transform methods
* Option to get encoder from user
* Consistent encoding for decision tree and generalizations (separate from target model encoding)
* Squashed commit of wrappers:
Wrapper minimizer
* apply dataset wrapper on minimizer
* apply changes on minimization notebook
* add black_box_access and unlimited_queries params
Dataset wrapper anonymizer
Add features_names to ArrayDataset
and allow providing features names in QI and Cat features not just indexes
update notebooks
categorical features and QI passed by indexes
dataset include feature names and is_pandas param
add pytorch Dataset
Remove redundant code.
Use data wrappers in model wrapper APIs.
add generic dataset components
Create initial version of wrappers for models
* Fix handling of categorical features
* add german credit notebook to showcase new features (minimize only some features and categorical features)
* add notebook to show minimization data on a regression problem
* QI updates
* update code to support training ML on QI features
* fix code so features that are not from QI should not be part of generalizations
and add description
* merging two branches, training on QI and on all data
* adding tests and asserts
* support categorical features
* update the documentation and readme
added a test for the case where cells are supplied as a param.
* add big tests (adult test and iris)
and fixed bugs
* update transform to return numpy if original data is numpy
* added nursery test
* break loop if there is an illegal level
* Stop pruning one step before passing accuracy threshold
* adding asserts and fix DecisionTreeClassifier init
* Fix tests
Co-authored-by: abigailt <abigailt@il.ibm.com>
* Fixes related to corner cases in calculating generalizations
* Fix print
* Fix corner cases in transform as well
* Improve prints + bug fixes in calculation of feature to remove
* Notebook demonstrating ai minimization