Borrar filtros
Borrar filtros

How to use observational weights in fitrgp?

27 visualizaciones (últimos 30 días)
Andreas
Andreas el 2 de Oct. de 2024
Comentada: Umar el 9 de Oct. de 2024 a las 0:39
Is there a way to introduce observational weights in the Gaussian Process Regression (fitrgp) routine? This seems to be possible for other machine learning methods such as fitrensemble.
  7 comentarios
Andreas
Andreas el 9 de Oct. de 2024 a las 0:12
Hi Umar,
First of all thank you very much for your very detailed response - much appreciated!
I read through your code example for the implementation steps for the custom loss function. What I'm not sure I understand is where the custom loss function is utilized during the model training. It appears to me that "weightedLoss" is only called after the training to evalute the model performance by means of a weighted MSE. This wouldn't affect the training process but only the post-training analytics. Is that right or am I missing anything?
Umar
Umar el 9 de Oct. de 2024 a las 0:39
Hi @Andreas,
You are correct in noting that the current implementation only evaluates performance post-training without affecting the training process itself. To effectively integrate observation weights into GPR modeling in MATLAB would require either workaround methods or switching to a platform that supports such functionality more natively.
Feel free to reach out if you have any further questions or need more clarification on this topic!

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by