Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yup, this has done it #82

Merged

Conversation

pat-alt
Copy link
Member

@pat-alt pat-alt commented Mar 21, 2024

No description provided.

@pat-alt pat-alt linked an issue Mar 21, 2024 that may be closed by this pull request
Comment on lines 5 to 7
counterfactual_data = TaijaData.load_linearly_separable() |>
x -> (Float32.(x[1]), x[2]) |>
x -> CounterfactualData(x...)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
counterfactual_data = TaijaData.load_linearly_separable() |>
x -> (Float32.(x[1]), x[2]) |>
x -> CounterfactualData(x...)
counterfactual_data =
TaijaData.load_linearly_separable() |>
x -> (Float32.(x[1]), x[2]) |> x -> CounterfactualData(x...)


# Search:
generator = GenericGenerator()
ce = generate_counterfactual(x, target, counterfactual_data, M, generator)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
ce = generate_counterfactual(x, target, counterfactual_data, M, generator)
ce = generate_counterfactual(x, target, counterfactual_data, M, generator)

Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.05%. Comparing base (cb2af89) to head (e880e0c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   96.00%   96.05%   +0.05%     
==========================================
  Files          15       15              
  Lines         575      583       +8     
==========================================
+ Hits          552      560       +8     
  Misses         23       23              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pat-alt pat-alt merged commit 3e8115c into main Mar 21, 2024
16 checks passed
@pat-alt pat-alt deleted the 81-fix-interoperability-with-counterfactualexplanationsjl branch March 21, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix interoperability with CounterfactualExplanations.jl
1 participant