Skip to content
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

Improve show output for AbstractGPs objects #272

Open
theogf opened this issue Mar 14, 2022 · 0 comments
Open

Improve show output for AbstractGPs objects #272

theogf opened this issue Mar 14, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@theogf
Copy link
Member

theogf commented Mar 14, 2022

Right now this is disastrous mess, we should agree on what is the essential info and how to print it.
For example this is what the output of a FiniteGP returns:

AbstractGPs.FiniteGP{GP{AbstractGPs.ZeroMean{Float64}, TransformedKernel{SqExponentialKernel{Distances.Euclidean}, ScaleTransform{Float64}}}, StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, Diagonal{Float64, FillArrays.Fill{Float64, 1, Tuple{Base.OneTo{Int64}}}}}(
f: GP{AbstractGPs.ZeroMean{Float64}, TransformedKernel{SqExponentialKernel{Distances.Euclidean}, ScaleTransform{Float64}}}(AbstractGPs.ZeroMean{Float64}(), Squared Exponential Kernel (metric = Distances.Euclidean(0.0))
        - Scale Transform (s = 0.5))
x: -10.0:0.20202020202020202:10.0
Σy: [1.0e-8 0.0 … 0.0 0.0; 0.0 1.0e-8 … 0.0 0.0; … ; 0.0 0.0 … 1.0e-8 0.0; 0.0 0.0 … 0.0 1.0e-8]
)
@st-- st-- added the good first issue Good for newcomers label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants