[Docs] Implementing Custom mean function documentation
See original GitHub issueHello, all. While Gaussian Processes are often described as not needing a mean (or only a zero, or constant one), that is not true, and being able to implement custom means would be incredibly useful.
I see in the docs that gpytorch.means.Mean
seems to be set aside for this specific purpose, but there exists no explanation (or examples) demonstrating how to use it.
Is there an obvious method of defining simple, custom means that I am not seeing? If not, I think a couple of basic examples would be helpful.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Custom Functions in Google Sheets | Apps Script
Custom functions start out bound to the spreadsheet they were created in. This means that a custom function written in one spreadsheet can't...
Read more >R Packages (2e) - 17 Function documentation
Rd files use a custom syntax, loosely based on LaTeX, and can be rendered to HTML, plain text, or pdf, as needed, for...
Read more >How to Write Doc Comments for the Javadoc Tool - Oracle
This document describes the style guide, tag and image conventions we use in documentation comments for Java programs written at Java Software, ...
Read more >Google Sheets function list - Google Docs Editors Help
Type Name Syntax
Array ARRAY_CONSTRAIN ARRAY_CONSTRAIN(input_range, num_rows, num_cols)
Array BYCOL BYCOL(array_or_range, LAMBDA)
Array BYROW BYROW(array_or_range, LAMBDA)
Read more >Built-in Functions — Python 3.11.1 documentation
This allows objects that implement a custom __getattr__() or ... a slash(/) appears in the parameter list of a function when invoking help()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dtort For that just use the constant mean, initialize the constant to
5
and then make the constant untrainable by settingrequires_grad=False
Sure, as u suggested I opened a discussion topic with my question!