viadee / anchorsOnR

Implementation of the Anchors algorithm: Explain black-box ML models
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

Create a new supervised discretizer #46

Open MarvinBleier opened 5 years ago

MarvinBleier commented 5 years ago

Since we did not find a non-GPL CRAN-hosted package, that discretizes continuous data in a supervised manner #44 , a supervised discretizer should be implemented directly. It could resemble the implementations of viadee in the 'javaAnchorAdapters' package. https://github.com/viadee/javaAnchorAdapters/tree/master/DefaultConfigsExtension/src/main/java/de/viadee/xai/anchor/adapter/tabular/discretizer/impl

Useful discretizers could be FUSINTER (FUSINTERDiscretizer.java) see: FUSINTER_A_Method_for_Discretization_of_Continuous.pdf

or Ameva (AmevaDiscretizer.java) see: AMEVA 2009-Gonzalez-Abril-ESWA.pdf

or another discretizer, as supervised discretizations are currently being implemented and evaluated for the Java implementation of Anchors.

These should discretize as shown in the tests:

https://github.com/viadee/javaAnchorAdapters/tree/master/DefaultConfigsExtension/src/test/java/de/viadee/xai/anchor/adapter/tabular/discretizer/impl

MarvinBleier commented 5 years ago

For an extensive evaluation of supervised discretizers see: 2013-Garcia-IEEETKDE.pdf

TobiasGoerke commented 5 years ago

Important feature. However, I think #45 is to be prioritized.