{'apiVersion': 'kubeflow.org/v1alpha3',
'items': [{'apiVersion': 'kubeflow.org/v1alpha3',
'kind': 'Experiment',
'metadata': {'creationTimestamp': '2020-03-04T10:46:49Z',
'finalizers': ['update-prometheus-metrics'],
'generation': 1,
'name': 'bayesianoptimization',
'namespace': 'anonymous',
'resourceVersion': '7036404',
'selfLink': '/apis/kubeflow.org/v1alpha3/namespaces/anonymous/experiments/bayesianoptimization',
'uid': '7360157b-5e05-11ea-8d71-42010aa00012'},
'spec': {'algorithm': {'algorithmName': 'bayesianoptimization',
'algorithmSettings': [{'name': 'random_state', 'value': '10'}]},
'maxFailedTrialCount': 3,
'maxTrialCount': 5,
'metricsCollectorSpec': {'collector': {'kind': 'StdOut'}},
'objective': {'goal': 0.9999,
'objectiveMetricName': 'Validation-accuracy',
'type': 'maximize'},
'parallelTrialCount': 5,
'parameters': [{'feasibleSpace': {'list': ['sgd', 'adam', 'ftrl']},
'name': '--optimizer',
'parameterType': 'categorical'},
{'feasibleSpace': {'max': '0.03', 'min': '0.01'},
'name': '--lr',
'parameterType': 'double'},
{'feasibleSpace': {'max': '5', 'min': '2'},
'name': '--num-layers',
'parameterType': 'int'}],
'trialTemplate': {'goTemplate': {'rawTemplate': 'apiVersion: "batch/v1"\nkind: Job\nmetadata:\n name: {{.Trial}}\n namespace: {{.NameSpace}}\nspec:\n template:\n spec:\n containers:\n - name: {{.Trial}}\n image: docker.io/kubeflowkatib/mxnet-mnist\n command:\n - "python3"\n - "/opt/mxnet-mnist/mnist.py"\n - "--batch-size=64"\n {{- with .HyperParameters}}\n {{- range .}}\n - "{{.Name}}={{.Value}}"\n {{- end}}\n {{- end}}\n restartPolicy: Never'}}},
'status': {'conditions': [{'lastTransitionTime': '2020-03-04T10:46:49Z',
'lastUpdateTime': '2020-03-04T10:46:49Z',
'message': 'Experiment is created',
'reason': 'ExperimentCreated',
'status': 'True',
'type': 'Created'},
{'lastTransitionTime': '2020-03-04T10:47:03Z',
'lastUpdateTime': '2020-03-04T10:47:03Z',
'message': 'Experiment is running',
'reason': 'ExperimentRunning',
'status': 'True',
'type': 'Running'}],
'currentOptimalTrial': {'bestTrialName': 'bayesianoptimization-d5blztvn',
'observation': {'metrics': [{'name': 'Validation-accuracy',
'value': 0.978404}]},
'parameterAssignments': [{'name': '--optimizer', 'value': 'sgd'},
{'name': '--lr', 'value': '0.021196507397563884'},
{'name': '--num-layers', 'value': '4'}]},
'runningTrialList': ['bayesianoptimization-gs7b6g25'],
'startTime': '2020-03-04T10:46:49Z',
'succeededTrialList': ['bayesianoptimization-52tsscjq',
'bayesianoptimization-65fnsn5t',
'bayesianoptimization-d5blztvn',
'bayesianoptimization-s8qwszvr'],
'trials': 5,
'trialsRunning': 1,
'trialsSucceeded': 4}},
{'apiVersion': 'kubeflow.org/v1alpha3',
'kind': 'Experiment',
'metadata': {'creationTimestamp': '2020-03-04T10:50:02Z',
'finalizers': ['update-prometheus-metrics'],
'generation': 2,
'name': 'tfjob-example',
'namespace': 'anonymous',
'resourceVersion': '7037043',
'selfLink': '/apis/kubeflow.org/v1alpha3/namespaces/anonymous/experiments/tfjob-example',
'uid': 'e6d578d8-5e05-11ea-8d71-42010aa00012'},
'spec': {'algorithm': {'algorithmName': 'random',
'algorithmSettings': [{}]},
'maxFailedTrialCount': 3,
'maxTrialCount': 12,
'metricsCollectorSpec': {'collector': {'kind': 'TensorFlowEvent'},
'source': {'fileSystemPath': {'kind': 'Directory',
'path': '/var/log/katib/tfevent/'}}},
'objective': {'goal': 0.9999,
'objectiveMetricName': 'accuracy_1',
'type': 'maximize'},
'parallelTrialCount': 4,
'parameters': [{'feasibleSpace': {'max': '200', 'min': '100'},
'name': '--batch_size',
'parameterType': 'int'}],
'trialTemplate': {'goTemplate': {'rawTemplate': 'apiVersion: "kubeflow.org/v1"\nkind: TFJob\nmetadata:\n name: {{.Trial}}\n namespace: {{.NameSpace}}\nspec:\n tfReplicaSpecs:\n Worker:\n replicas: 1\n restartPolicy: OnFailure\n template:\n spec:\n containers:\n - name: tensorflow\n image: gcr.io/kubeflow-ci/tf-mnist-with-summaries:1.0\n imagePullPolicy: Always\n command:\n - "python"\n - "/var/tf_mnist/mnist_with_summaries.py"\n - "--log_dir=/train/metrics"\n {{- with .HyperParameters}}\n {{- range .}}\n - "{{.Name}}={{.Value}}"\n {{- end}}\n {{- end}}'}}},
'status': {'completionTime': None,
'conditions': [{'lastTransitionTime': '2020-03-04T10:50:02Z',
'lastUpdateTime': '2020-03-04T10:50:02Z',
'message': 'Experiment is created',
'reason': 'ExperimentCreated',
'status': 'True',
'type': 'Created'}],
'currentOptimalTrial': {'bestTrialName': '',
'observation': {'metrics': None},
'parameterAssignments': None},
'startTime': '2020-03-04T10:50:02Z'}}],
'kind': 'ExperimentList',
'metadata': {'continue': '',
'resourceVersion': '7037091',
'selfLink': '/apis/kubeflow.org/v1alpha3/namespaces/anonymous/experiments'}}