BayesianOptimization
BayesianOptimization copied to clipboard
Use enum in place of string for acquistion function
Using enums instead of string is easier for command completion.

Which avoids the error when typing 'pi' instead of the correct 'poi'.
This implementation accepts both enum and strings and is thus backward compatible.