@@ -97,7 +97,7 @@ We start from the ``minimal_benchmark`` example. Its dataset only defines
9797 <pre class =" code-cell-equiv" > <div class =' display_example_benchmark' >
9898
9999 <div class =' sd-tab-set' >
100- <input checked =" checked" id =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -0' name =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d ' type =' radio' ><label for =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -0' >objective.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseObjective</span >
100+ <input checked =" checked" id =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -0' name =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b ' type =' radio' ><label for =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -0' >objective.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseObjective</span >
101101 <span class =" kn" >import</span ><span class =" w" > </span ><span class =" nn" >numpy</span ><span class =" w" > </span ><span class =" k" >as</span ><span class =" w" > </span ><span class =" nn" >np</span >
102102
103103
@@ -135,7 +135,7 @@ We start from the ``minimal_benchmark`` example. Its dataset only defines
135135 <span class =" k" >return</span > <span class =" nb" >dict</span ><span class =" p" >(</span ><span class =" n" >X_hat</span ><span class =" o" >=</span ><span class =" mi" >1</span ><span class =" p" >)</span >
136136 </pre ></div >
137137 </div >
138- <input id =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -1' name =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d ' type =' radio' ><label for =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -1' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
138+ <input id =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -1' name =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b ' type =' radio' ><label for =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -1' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
139139 <span class =" kn" >import</span ><span class =" w" > </span ><span class =" nn" >numpy</span ><span class =" w" > </span ><span class =" k" >as</span ><span class =" w" > </span ><span class =" nn" >np</span >
140140
141141 <span class =" k" >class</span ><span class =" w" > </span ><span class =" nc" >Dataset</span ><span class =" p" >(</span ><span class =" n" >BaseDataset</span ><span class =" p" >):</span >
@@ -150,7 +150,7 @@ We start from the ``minimal_benchmark`` example. Its dataset only defines
150150 <span class =" k" >return</span > <span class =" nb" >dict</span ><span class =" p" >(</span ><span class =" n" >X</span ><span class =" o" >=</span ><span class =" n" >X</span ><span class =" p" >)</span >
151151 </pre ></div >
152152 </div >
153- <input id =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -2' name =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d ' type =' radio' ><label for =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -2' >solvers/gd.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseSolver</span >
153+ <input id =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -2' name =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b ' type =' radio' ><label for =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -2' >solvers/gd.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseSolver</span >
154154 <span class =" kn" >import</span ><span class =" w" > </span ><span class =" nn" >numpy</span ><span class =" w" > </span ><span class =" k" >as</span ><span class =" w" > </span ><span class =" nn" >np</span >
155155
156156
@@ -202,7 +202,7 @@ We start from the ``minimal_benchmark`` example. Its dataset only defines
202202 <span class =" k" >return</span > <span class =" p" >{</span ><span class =" s1" >' ; X_hat' ; </span ><span class =" p" >:</span > <span class =" bp" >self</span ><span class =" o" >.</span ><span class =" n" >X_hat</span ><span class =" p" >}</span >
203203 </pre ></div >
204204 </div >
205- <input id =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -3' name =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d ' type =' radio' ><label for =' example-benchmark-56b2093551e94b18b1bbaf35cc246d9d -3' >config.yml</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" c1" >#loaded from minimal_benchmark/config.yml</span >
205+ <input id =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -3' name =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b ' type =' radio' ><label for =' example-benchmark-1b4b0f481d9245bfaddc7b534694794b -3' >config.yml</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" c1" >#loaded from minimal_benchmark/config.yml</span >
206206 <span class =" nt" >plot_configs</span ><span class =" p" >:</span >
207207 <span class =" w" > </span ><span class =" nt" >Subopt. (log)</span ><span class =" p" >:</span >
208208 <span class =" w" > </span ><span class =" nt" >plot_kind</span ><span class =" p" >:</span ><span class =" w" > </span ><span class =" l l-Scalar l-Scalar-Plain" >objective_curve</span >
@@ -240,7 +240,7 @@ n_samples=...`` print confirms it runs once for each combination.
240240 .. raw :: html
241241
242242 <div class =" output_subarea output_html rendered_html output_result" >
243- <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_j_40ojvf /prepare_example
243+ <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_vsgt4qq7 /prepare_example
244244 </pre ></div >
245245 </pre >
246246
@@ -286,7 +286,7 @@ and skips all preparation work. Each status line now reads
286286 .. raw :: html
287287
288288 <div class =" output_subarea output_html rendered_html output_result" >
289- <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_j_40ojvf /prepare_example
289+ <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_vsgt4qq7 /prepare_example
290290 </pre ></div >
291291 </pre >
292292
@@ -370,7 +370,7 @@ and in the right form before ``get_data()`` ever runs.
370370 <pre class =" code-cell-equiv" > <div class =' display_example_benchmark' >
371371 <p >We now update the following files:</p ><br />
372372 <div class =' sd-tab-set' >
373- <input checked =" checked" id =' example-benchmark-dd72d6c7905c4dbcad7ccc4074c6de37 -0' name =' example-benchmark-dd72d6c7905c4dbcad7ccc4074c6de37 ' type =' radio' ><label for =' example-benchmark-dd72d6c7905c4dbcad7ccc4074c6de37 -0' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
373+ <input checked =" checked" id =' example-benchmark-929f13db875440b58dea2eb014896a79 -0' name =' example-benchmark-929f13db875440b58dea2eb014896a79 ' type =' radio' ><label for =' example-benchmark-929f13db875440b58dea2eb014896a79 -0' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
374374 <span class =" kn" >import</span ><span class =" w" > </span ><span class =" nn" >numpy</span ><span class =" w" > </span ><span class =" k" >as</span ><span class =" w" > </span ><span class =" nn" >np</span >
375375
376376 <span class =" k" >class</span ><span class =" w" > </span ><span class =" nc" >Dataset</span ><span class =" p" >(</span ><span class =" n" >BaseDataset</span ><span class =" p" >):</span >
@@ -419,7 +419,7 @@ n_samples=...`` print confirms both combinations are executed.
419419 .. raw :: html
420420
421421 <div class =" output_subarea output_html rendered_html output_result" >
422- <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_j_40ojvf /prepare_example
422+ <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_vsgt4qq7 /prepare_example
423423 </pre ></div >
424424 </pre >
425425
@@ -502,7 +502,7 @@ parameter combinations that differ only in ignored dimensions and runs
502502 <pre class =" code-cell-equiv" > <div class =' display_example_benchmark' >
503503 <p >We now update the following files:</p ><br />
504504 <div class =' sd-tab-set' >
505- <input checked =" checked" id =' example-benchmark-1e7c2cdaff4d4c37bfab8fb8b7f6cb72 -0' name =' example-benchmark-1e7c2cdaff4d4c37bfab8fb8b7f6cb72 ' type =' radio' ><label for =' example-benchmark-1e7c2cdaff4d4c37bfab8fb8b7f6cb72 -0' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
505+ <input checked =" checked" id =' example-benchmark-fe39a6d681f4420f881ef050ccf60d2a -0' name =' example-benchmark-fe39a6d681f4420f881ef050ccf60d2a ' type =' radio' ><label for =' example-benchmark-fe39a6d681f4420f881ef050ccf60d2a -0' >datasets/simulated.py</label ><div class =' sd-tab-content' ><div class =" highlight" ><pre ><span ></span ><span class =" kn" >from</span ><span class =" w" > </span ><span class =" nn" >benchopt</span ><span class =" w" > </span ><span class =" kn" >import</span > <span class =" n" >BaseDataset</span >
506506 <span class =" kn" >import</span ><span class =" w" > </span ><span class =" nn" >numpy</span ><span class =" w" > </span ><span class =" k" >as</span ><span class =" w" > </span ><span class =" nn" >np</span >
507507
508508 <span class =" k" >class</span ><span class =" w" > </span ><span class =" nc" >Dataset</span ><span class =" p" >(</span ><span class =" n" >BaseDataset</span ><span class =" p" >):</span >
@@ -551,7 +551,7 @@ prints exactly twice.
551551 .. raw :: html
552552
553553 <div class =" output_subarea output_html rendered_html output_result" >
554- <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_j_40ojvf /prepare_example
554+ <pre class =" code-cell-equiv" ><div class =" highlight" ><pre ><span ></span ><span class =" gp" >$ </span >benchopt<span class =" w" > </span >prepare<span class =" w" > </span >temp_benchmark_vsgt4qq7 /prepare_example
555555 </pre ></div >
556556 </pre >
557557
@@ -586,7 +586,7 @@ per-parameter processing at all.
586586
587587.. rst-class :: sphx-glr-timing
588588
589- **Total running time of the script: ** (0 minutes 0.037 seconds)
589+ **Total running time of the script: ** (0 minutes 0.047 seconds)
590590
591591
592592.. _sphx_glr_download_auto_examples_run_benchopt_prepare.py :
0 commit comments