-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bayesian Optimization #102
base: main
Are you sure you want to change the base?
Conversation
Cargo.toml
Outdated
@@ -20,6 +20,8 @@ num-integer = "0.1" | |||
opensrdk-linear-algebra = "0.8.4" | |||
opensrdk-kernel-method = "0.2.0" | |||
special = "0.8.1" | |||
optimize = "0.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
なんでそうなるー
いらない
ndarrayもいらない
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
外部ライブラリ使うことがそもそも不要
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
そうなるとここの最適化ってどうやればいいでしょう?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
まずはグリッドサーチって言ってなかったっけ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最適化よりむしろlinear algebraとndarrayを同居させるほうがよくない
それにどうしてもグリッドサーチいやだっていうならなんで直近使っててndarrayいらないcmaesを使わないんだ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
グリッドサーチの件は多分初耳ですけど覚えときます。
cmaesも考えたんですけど、あれってブラックボックス関数の最適化用だと思っていたので、今回はブラックボックス関数じゃないからcmaesより速いのがあるかなって勝手に考えちゃいました
use super::AcquisitionFunctions; | ||
|
||
pub struct UpperConfidenceBound { | ||
trial: f64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
明らかにusizeで保持して計算の時に都度キャストすべき
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最初適当にf64で設計してたのが残ってますね、そのように修正しておきます。
implement bayesian optimization