SheffieldML / GPy

Gaussian processes framework in python
BSD 3-Clause "New" or "Revised" License
2.04k stars 562 forks source link

OU and Brownian kernels missing to_dict methods #717

Open ptomecek opened 5 years ago

ptomecek commented 5 years ago

It seems that some kernels (OU and Brownian to name two) are missing to_dict methods, preventing serialization of any kernel that is built on these. It would be great if all kernels could be unit tested for serialization.

ptomecek commented 5 years ago

Furthermore, it seems that "_build_from_input_dict" on CombinationKernel does not respect the "name" given to the combination kernel and present in the serialized form, so naming is lost during deserialization. Lastly, "White" kernel is another one missing to_dict.