Commit graph

10 commits

Author SHA1 Message Date
abigailt
367cae679b ModelOutputType is now a Flag instead of regular enum. Combinations of the base flags are provided for all of the previous output types for convenience. All checks in the code now use the basic flags and not the complex types.
Signed-off-by: abigailt <abigailt@il.ibm.com>
2024-07-03 13:29:37 +03:00
abigailt
2895b40f05 Addressing review comments
Signed-off-by: abigailt <abigailt@il.ibm.com>
2024-06-19 11:17:17 +03:00
abigailt
846de0f753 Remove check of correct shape of predictions which becomes too complicated with the new output types supported.
Signed-off-by: abigailt <abigailt@il.ibm.com>
2024-05-02 18:56:31 +03:00
abigailt
5e19d4ae27 New model output types + single implementation of score method that supports multiple output types. Existing tests pass. Still need more tests for new types.
Signed-off-by: abigailt <abigailt@il.ibm.com>
2024-03-07 19:00:09 +02:00
abigailgold
8a9ef80146
Increase version to 0.2.0 (#74)
* Remove tensorflow dependency if not using keras model
* Remove xgboost dependency if not using xgboost model
* Documentation updates

Signed-off-by: abigailt <abigailt@il.ibm.com>
2023-05-08 12:50:55 +03:00
abigailgold
d52fcd0041
Formatting (#68)
Fix most flake/lint errors and ignore a few others

Signed-off-by: abigailt <abigailt@il.ibm.com>
2022-12-25 15:13:57 +02:00
abigailt
77a6e08c8e Keras regression support 2022-07-24 18:45:50 +03:00
abigailt
1cc73b3da1 Check for mismatch between model output type and actual output 2022-07-20 13:33:19 +03:00
natali
50317a8d67 fix for keras model check_and_transform_label_format requires nb_classes 2022-07-03 09:59:41 +03:00
abigailgold
fe676fa426
New model wrappers (#32)
* keras wrapper + blackbox classifier wrapper (fix #7)

* fix error in NCP calculation

* Update notebooks

* Fix #25 (incorrect attack_feature indexes for social feature in notebook)

* Consistent naming of internal parameters
2022-05-12 15:44:29 +03:00