Getting different results training on the same datasets each time
Afficher commentaires plus anciens
I'm using 'fitrgp' to train my GPR model. I've specified hyperparameters I'd like it to optimize, but I'm getting slightly different results each time I train it on the same dataset. I know this is a feature of ML in general, but I'd like to know if there's any way to get a reproducible result each time.
I'm already using rng("default") and using the "expected-improvement-plus" acquisition function to improve the reproducibility.
I'd really appreciate any insight into if this is possible!
3 commentaires
the cyclist
le 2 Août 2023
If you have rng("default"), and no intervening calls to rng that affect the seed, I would expect you to get exactly the same results.
Can you post your code?
Katy
le 3 Août 2023
the cyclist
le 5 Août 2023
Sorry I did not see this reply earlier.
This documentation discusses reproducibility in parallel computations. It seems to have some distinct recommendations from the page you linked.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Gaussian Process Regression dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!