Skip to content

Commit

Permalink
Update katib example to use user profile (#1633)
Browse files Browse the repository at this point in the history
* Update katib example to use user profile

* make list
  • Loading branch information
richardsliu committed Feb 10, 2020
1 parent 23cc0f7 commit 4606c1e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions content/docs/components/hyperparameter-tuning/hyperparameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,22 @@ The random algorithm example uses an MXNet neural network to train an image
classification model using the MNIST dataset. The experiment runs three
training jobs with various hyperparameters and saves the results.

Run the following command to launch an experiment using the random algorithm
Run the following commands to launch an experiment using the random algorithm
example:

1. Download the example:
```
kubectl apply -f https://raw.githubusercontent.com/kubeflow/katib/master/examples/v1alpha3/random-example.yaml
curl https://raw.githubusercontent.com/kubeflow/katib/master/examples/v1alpha3/random-example.yaml --output random-example.yaml
```

1. Edit `random-example.yaml` and change the following line to use your Kubeflow user profile namespace:
```
Namespace: kubeflow
```

1. Deploy the example:
```
kubectl apply -f random-example.yaml
```

This example embeds the hyperparameters as arguments. You can embed
Expand All @@ -134,7 +145,7 @@ The output of the above command should look similar to this:

```
Name: random-example
Namespace: kubeflow
Namespace: <your user namespace>
Labels: controller-tools.k8s.io=1.0
Annotations: <none>
API Version: kubeflow.org/v1alpha3
Expand Down

0 comments on commit 4606c1e

Please sign in to comment.