# CustomMean with AbstractGPs

**URL:** https://discourse.julialang.org/t/custommean-with-abstractgps/118406
**Category:** Statistics
**Tags:** question
**Created:** [August 20, 2024, 9:02am UTC](https://discourse.julialang.org/t/custommean-with-abstractgps/118406 "2024-08-20T09:02:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stefanocovino](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefanocovino/32/51944_2.png) [@stefanocovino](https://discourse.julialang.org/u/stefanocovino)
#### Post date: [August 20, 2024, 9:02am UTC](https://discourse.julialang.org/t/custommean-with-abstractgps/118406/1 "2024-08-20T09:02:09Z")

</div>

Hello,

I’m trying to write a CustomMean with AbstractGPs using a function with parameters, i.e. f(x,a,b,c), typically x has dimension 1. However, I can’t understand how I can manage the parameters.

Has anyone a working example to show?

Thanks,  
Stefano
