Getting different results training on the same datasets each time
Mostrar comentarios más antiguos
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 comentarios
the cyclist
el 2 de Ag. de 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
el 3 de Ag. de 2023
the cyclist
el 5 de Ag. de 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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Gaussian Process Regression en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!