Skip to content

Conversation

@theogf
Copy link
Member

@theogf theogf commented Apr 17, 2020

As a prerequisite of #83, this is the implementation of ColVecs taken from Stheno.jl

theogf and others added 2 commits April 17, 2020 12:01
@theogf theogf requested a review from willtebbutt April 17, 2020 10:02
@willtebbutt
Copy link
Member

Thanks for sorting this @theogf .

I implemented ColVecs quite a while ago now. If I'm honest I would consider removing most of the methods implemented, including zero,view, iterate. Basically everything that isn't necessary for show / display / generally printing the object. As @devmotion points out, it might be possible to go down to a single method of getindex as well, which would be great.

@devmotion
Copy link
Member

It's also quite inconsistent that indexing yields arrays whereas iteration yields views. I guess that should be changed - maybe always return views? Then iterate could be removed.

@theogf
Copy link
Member Author

theogf commented Apr 17, 2020

Yeah I am removing everything necessary and rely on view only

@theogf
Copy link
Member Author

theogf commented Apr 17, 2020

I think this should be ready to merge.
I did not implement view as I don't think we will need it anyway...

Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

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

LGTM. Next to refactor out obsdim!

@theogf theogf merged commit c09ec42 into JuliaGaussianProcesses:master Apr 17, 2020
@theogf theogf deleted the colvecs branch November 24, 2020 16:33
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