Skip to content

Conversation

Jonathan-Salisbury
Copy link

Pull 22199 into scikit-learn ([https://github.com/https://github.com/scikit-learn/scikit-learn/pull/22199]) changed the shape of the array returned by GaussianProcessRegressor which in turn introduced a bug causing ANM.cause_or_effect to return incorrect results. This pull requests reshapes the returned array using .reshape(-1, 1).

Signed-off-by: Jonathan Salisbury <[email protected]>
Copy link

@zhangtj1996 zhangtj1996 left a comment

Choose a reason for hiding this comment

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

Yes, there is a bug. This bug is fixed by adding .reshape(-1,1) to the gp prediction.

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.

2 participants