Getting different results training on the same datasets each time
Ältere Kommentare anzeigen
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 Kommentare
the cyclist
am 2 Aug. 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
am 3 Aug. 2023
the cyclist
am 5 Aug. 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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!