Skip to content
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

Jupyter hyperopt fix #153

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/jupyter-src/juliacon_2023.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"If you want to do hyper parameter optimization, uncomment/remove all code that comes from here on. The following is for demonstration purpose only. \n",
"\n",
"Let's check if the train function is working for a given set of hyperparameters."
]
},
Expand All @@ -793,7 +795,7 @@
"source": [
"# check if the train function is working for a set of given (random) hyperparameters\n",
"# ([ ETA, BETA1, BETA2, BATCHDUR, LASTWEIGHT, SCHEDULER, LOSS], RESOURCE, INDEX)\n",
"train!([0.0001, 0.9, 0.999, 4.0, 0.7, :Random, :MSE], 8.0, 1) "
"train!([0.0001, 0.9, 0.999, 4.0, 0.7, :Random, :MSE], 8.0, 1)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/jupyter-src/juliacon_2023_distributedhyperopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using DistributedHyperOpt # add via `add "https://github.com/ThummeTo/Distribu

nprocs()
workers = addprocs(5)
@everywhere include(joinpath(@__DIR__, "workshop_module.jl"))
@everywhere include(joinpath(@__DIR__, "juliacon_2023.jl"))

# creating paths for log files (logs), parameter sets (params) and hyperparameter plots (plots)
for dir ∈ ("logs", "params", "plots")
Expand Down
Loading