Skip to content

Commit

Permalink
notebook updates
Browse files Browse the repository at this point in the history
  • Loading branch information
claesenm committed Jul 9, 2015
1 parent 061d509 commit 80155bf
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
5 changes: 4 additions & 1 deletion docs/notebooks/notebooks/basic-parabola.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

Minimizing a simple function
============================

In this example we will use various Optunity solvers to minimize the
following simple 2d parabola:

Expand Down Expand Up @@ -117,5 +120,5 @@ the resulting statistics. This may take a while to run.
plt.show()
.. image:: basic-parabola_files/output_13_0.png
.. image:: basic-parabola_files/output_14_0.png

7 changes: 5 additions & 2 deletions docs/notebooks/notebooks/basic-sobol.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

Sobol sequences vs. random search
=================================

In this example we will show the difference between a 2-d Sobol sequence
and sampling uniformly at random in 2 dimensions. We will use the
``sobol`` and ``random-search`` solvers. The Sobol sequence has lower
Expand Down Expand Up @@ -33,7 +36,7 @@ We run the random search solver and Sobol sequence solver.
plt.show()
.. image:: basic-sobol_files/output_5_0.png
.. image:: basic-sobol_files/output_6_0.png


.. code:: python
Expand All @@ -46,5 +49,5 @@ We run the random search solver and Sobol sequence solver.
plt.show()
.. image:: basic-sobol_files/output_6_0.png
.. image:: basic-sobol_files/output_7_0.png

Binary file modified docs/notebooks/notebooks/basic-sobol_files/output_6_0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion notebooks/basic-parabola.ipynb
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"metadata": {
"signature": "sha256:56f96cf17697048e79058823a57f2bcddffd55678dfbbcba6f2b6ae8a0b99738"
"signature": "sha256:08536b5a012dfb3a9e8071fce4988475921ede81f5c1ebb027b6abe4d98c6eab"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Minimizing a simple function"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
10 changes: 9 additions & 1 deletion notebooks/basic-sobol.ipynb
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"metadata": {
"signature": "sha256:76d106a667f764c05f8e328c2c61d384271f257b4788949e961d3abe124c4479"
"signature": "sha256:a9c4a9a9c17425f0c4dee9c022493e0eaafd320840d081a275493f517e2968e6"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Sobol sequences vs. random search"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 80155bf

Please sign in to comment.