Catalogue of Tools & Metrics for Trustworthy AI

These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.

CoGS



CoGS

CoGS is intended to be a simple search algorithm for the discovery of counterfactuals. 

This library can be used to discover counterfactuals for a rather general class of machine learning models, however there is no guarantee of optimality (the counterfactuals discovered may not be the closest possible to the initial point). 
Moreover, the library is relatively simple and can be used for educational purposes. See, for example, this Colab notebook for usage.

As the name suggests, CoGS is a genetic algorithm: it employs a population of candidate counterfactuals and does not require the machine learning model for which counterfactuals are sought to expose gradients. 

CoGS is implemented in Python for ease of use, and heavily relies on NumPy for speed.

About the tool


Developing organisation(s):





Type of approach:





Stakeholder group:




Tags:

  • ai assessment
  • counterfactual

Github stars:

  • 5

Github forks:

  • 1

Modify this tool

Use Cases

There is no use cases for this tool yet.

Would you like to submit a use case for this tool?

If you have used this tool, we would love to know more about your experience.

Add use case
Partnership on AI

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.