RSE-Sheffield / GPy

Gaussian processes framework in python
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Refactor (new code) for clarity and ease of maintenance #12

Open bobturneruk opened 4 years ago

bobturneruk commented 4 years ago

If we look at a line like this (it extends over several lines):

https://github.com/RSE-Sheffield/GPy/blob/801a72d7ea7f41862a963405860a00acdc294ef4/GPy/kern/src/lfm/lfmXlfm.py#L137

This probably began as good, pragmatic matlab code to get a job done. But in Python, it would benefit from a few changes such as: