Skip to content

Export Gumbi model to PyMC3 and example workflow for cross_validate  #4

@lilianschuster

Description

@lilianschuster

Thanks a lot for creating Gumbi. I was playing around a bit with it and I hope it will evolve further!
What I was trying to do is actually explained here: https://discourse.pymc.io/t/use-exact-gaussian-process-model-from-gpytorch-as-emulator-in-pymc3/8680. Do you think that I can use Gumbi to do sth. similar as done in GPyTorch ( https://docs.gpytorch.ai/en/stable/examples/01_Exact_GPs/Simple_GP_Regression.html) ?
If yes, is there a simple method to export the fitted gumbi model in order that the gumbi.predict can be used inside of "pure" pymc3 again (aesara compatible that it can run with the NUTs sampler) ?

Apart from that, I have another question: I was able to fit a GP of my data with Gumbi, however I could not really check its performance? Do you have an example code where you use the cross_validate method? I did not really manage to get it working:
I did:
gp.cross_validate(['melt_f', 'prcp_fac', 'temp_bias'], n_train = 200)

-> but then I got a TypeError: init() missing 1 required positional argument: 'outputs'. When I do gp.outputs, however, I get the right output name ?!

Thanks a lot in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions