Skip to content

Multi-ouput Gaussian Process Coregion models with Hadamard product #454

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

Merged
merged 6 commits into from
Dec 6, 2022

Conversation

danhphan
Copy link
Member

This PR adds an example of how to implement Intrinsic Coregionalization Model (ICM) and Linear Coregionalization Model (LCM) using a Hamadard product between Coregion kernel and input kernels.

We model the average spin rates of several pitchers on different game dates from a baseball dataset.

Cc @bwengals @fonnesbeck

Let me know if it needs to update anythings.

Thank you.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@review-notebook-app
Copy link

review-notebook-app bot commented Nov 1, 2022

View / edit / reply to this conversation on ReviewNB

fonnesbeck commented on 2022-11-01T13:32:46Z
----------------------------------------------------------------

"how to implement the Intrinsic..."

"Hadamard product between the Coregion kernel..."

"information about ICM..."

"please check out the talk..."

"by Mauricio Alvarez..."

"in different games..."


@review-notebook-app
Copy link

review-notebook-app bot commented Nov 1, 2022

View / edit / reply to this conversation on ReviewNB

fonnesbeck commented on 2022-11-01T13:32:47Z
----------------------------------------------------------------

If you add a copy() to the assignment to adf it will avoid the warning in the next cell.


@review-notebook-app
Copy link

review-notebook-app bot commented Nov 1, 2022

View / edit / reply to this conversation on ReviewNB

fonnesbeck commented on 2022-11-01T13:32:48Z
----------------------------------------------------------------

Might add a line describing the advantage of LCM (or why you might want to use it over ICM)


@review-notebook-app
Copy link

review-notebook-app bot commented Nov 1, 2022

View / edit / reply to this conversation on ReviewNB

fonnesbeck commented on 2022-11-01T13:32:49Z
----------------------------------------------------------------

Perhaps bump tuning to 2000 to try and get rid of the divergences.


Copy link
Member Author

danhphan commented Nov 3, 2022

Hi yes, thanks Chris, I will address these comments this weekend!

@danhphan
Copy link
Member Author

danhphan commented Nov 6, 2022

Thank you Chris, I have updated the notebook according to your suggestions. Let me know if it needs any further changes.

Also will need one more reviewer for this notebook. Thanks!

@review-notebook-app
Copy link

review-notebook-app bot commented Nov 7, 2022

View / edit / reply to this conversation on ReviewNB

bwengals commented on 2022-11-07T23:19:41Z
----------------------------------------------------------------

Though I don't mind being associated with this at all, I didn't write any of it! I think you deserve full credit here Danh, and Chris too via the data.


danhphan commented on 2022-11-12T07:34:30Z
----------------------------------------------------------------

Hi Bill, I would like to keep the authors like that. Since several parts of this notebook are from your previous codes of ICM on PyMC3. Besides, it makes sense to include the mentors, as they also involve a lot in the ideas and suggestions of the notebook's content. Thank you.

@review-notebook-app
Copy link

review-notebook-app bot commented Nov 7, 2022

View / edit / reply to this conversation on ReviewNB

bwengals commented on 2022-11-07T23:19:42Z
----------------------------------------------------------------

Same watermark as gp-kron,

%watermark -n -u -v -iv -w -p aesara,aeppl,xarray

Copy link
Member Author

Hi Bill, I would like to keep the authors like that. Since several parts of this notebook are from your previous codes of ICM on PyMC3. Besides, it makes sense to include the mentors, as they also involve a lot in the ideas and suggestions of the notebook's content. Thank you.


View entire conversation on ReviewNB

Copy link
Member Author

Hi, thank you Bill, I have updated it :)

Copy link
Member

@OriolAbril OriolAbril left a comment

Choose a reason for hiding this comment

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

left two very minor comments

@danhphan
Copy link
Member Author

Thanks @OriolAbril. The notebook has been updated with reference and watermark :)

@danhphan
Copy link
Member Author

Hi @OriolAbril @fonnesbeck If no further changes, this PR should be good to be merged. Thank you!

Copy link
Member

@fonnesbeck fonnesbeck left a comment

Choose a reason for hiding this comment

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

LGTM

@fonnesbeck fonnesbeck merged commit 6623c92 into pymc-devs:main Dec 6, 2022
@danhphan
Copy link
Member Author

danhphan commented Dec 8, 2022

Hi, thank you @fonnesbeck !

@danhphan danhphan deleted the mogp-lcm-hadamard branch December 8, 2022 05:42
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.

3 participants