Closed fabianlim closed 2 years ago
This pull request introduces 4 alerts and fixes 2 when merging 83ee5e7937f5b727e242f2c57faffc5ccd206579 into e06d186eaa67a9f42b183372933e9bbad64d8fd5 - view on LGTM.com
new alerts:
fixed alerts:
@fabianlim thanks! for integrating the optimal transport algorithm to aix360. The PR is merged.
Summary
Adding a White Box Explainer for Matchings, as described in the upcoming ICML 2022 publication.
Fabian Lim, Laura Wynter, Shiau Hong Lim. 2022. "Order Constraints in Optimal Transport". https://arxiv.org/abs/2110.07275.
Algorithm
Given a matching, provide an explaination in terms of returning alternate matchings that each focus on a sparse set of salient matches.
Package Dependencies
In
setup.py
we have the following dependency that is installed as anegg
'otoc @ git+https://github.com/IBM/otoc@main#egg=otoc'
In
examples/matching/matching-pairs-of-sentences.ipynb
we ask the user to install the below packages in order to execute the demoPOT==0.7.0
Example
An NLP-based example inspired from one of the figures in the paper is provided
TODO
tests
has been included in here..json
file and stored here.setup.py
. The python package is hosted publically at https://github.com/IBM/otoc.install_requires
as anegg
linkexamples/matching/data
examples/matching/models
tests/matching/data