Skip to content

Add convergence_conditions field to generators #156

@pat-alt

Description

@pat-alt

Currently, convergence conditions are determined by specifying the converge_when argument of the generate_counterfactual method. If this is set to :generator_conditions, then convergence is defined as "gradients approaching zero".

This keeps things "clean" in the sense that generators really only differ in terms of their objective function. In other words, specifying a different decision threshold for Wachter does not change the fact that it's still Wachter.

For usability though, it's nice to be able to specify "Wachter ($\gamma=0.5)$" and "Wachter ($\gamma=0.9)$", for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions