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

Self Influence only on self_influence method. #1069

Closed
wants to merge 5 commits into from

Conversation

cyrjano
Copy link
Contributor

@cyrjano cyrjano commented Nov 15, 2022

Summary:
Currently self influence in TracInCP can be calculated either by calling the self_influence method with an inputs_dataset or calling influence without an inputs_dataset. These changes unify the api so that only self_influence method is needed to calculate self influence.

Test Plan:

  • Run existing tracinCP unit tests.
  • Add and execute unit test for validation of arguments: test_tracin_validation.
  • Update and execute TracInCP_Tutorial notebook. Reviewers:

Subscribers:

Tasks:

Tags:

Summary:
Currently self influence in TracInCP can be calculated
either by calling the `self_influence` method with an
`inputs_dataset` or calling `influence` without an `inputs_dataset`.
These changes unify the api so that only `self_influence`
method is needed to calculate self influence.

Test Plan:
 - Run existing tracinCP unit tests.
 - Add and execute unit test for validation of arguments:
 test_tracin_validation.
 - Update and execute `TracInCP_Tutorial` notebook.
Reviewers:

Subscribers:

Tasks:

Tags:
@cyrjano cyrjano marked this pull request as ready for review November 16, 2022 00:11
@facebook-github-bot
Copy link
Contributor

@cyrjano has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cyrjano has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cyrjano has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants