33 {
44 "cell_type" : " raw" ,
55 "metadata" : {
6- "raw_mimetype" : " text/restructuredtext" ,
76 "pycharm" : {
87 "name" : " #%% raw\n "
9- }
8+ },
9+ "raw_mimetype" : " text/restructuredtext"
1010 },
1111 "source" : [
1212 " .. _nb_algorithms_hyperparameters:"
2626 {
2727 "cell_type" : " raw" ,
2828 "metadata" : {
29- "raw_mimetype" : " text/restructuredtext" ,
3029 "pycharm" : {
3130 "name" : " #%% raw\n "
32- }
31+ },
32+ "raw_mimetype" : " text/restructuredtext"
3333 },
3434 "source" : [
3535 " .. admonition:: Info\n " ,
5151 },
5252 {
5353 "cell_type" : " code" ,
54- "execution_count" : 1 ,
54+ "execution_count" : null ,
5555 "metadata" : {
56+ "execution" : {
57+ "iopub.execute_input" : " 2022-07-29T18:21:25.160243Z" ,
58+ "iopub.status.busy" : " 2022-07-29T18:21:25.159678Z" ,
59+ "iopub.status.idle" : " 2022-07-29T18:21:25.282419Z" ,
60+ "shell.execute_reply" : " 2022-07-29T18:21:25.281202Z"
61+ },
5662 "pycharm" : {
5763 "name" : " #%%\n "
5864 }
5965 },
60- "outputs" : [
61- {
62- "data" : {
63- "text/plain" : [
64- " {'mating.jitter': <pymoo.core.variable.Choice at 0x7fddb9d20f10>,\n " ,
65- " 'mating.CR': <pymoo.core.variable.Real at 0x7fddb9d20eb0>,\n " ,
66- " 'mating.crossover': <pymoo.core.variable.Choice at 0x7fddb9b32ac0>,\n " ,
67- " 'mating.F': <pymoo.core.variable.Real at 0x7fddb9d20e20>,\n " ,
68- " 'mating.n_diffs': <pymoo.core.variable.Choice at 0x7fddb9d20dc0>,\n " ,
69- " 'mating.selection': <pymoo.core.variable.Choice at 0x7fddb9d20d60>}"
70- ]
71- },
72- "execution_count" : 1 ,
73- "metadata" : {},
74- "output_type" : " execute_result"
75- }
76- ],
66+ "outputs" : [],
7767 "source" : [
7868 " import json\n " ,
7969 " from pymoo.algorithms.soo.nonconvex.de import DE\n " ,
10797 },
10898 {
10999 "cell_type" : " code" ,
110- "execution_count" : 2 ,
100+ "execution_count" : null ,
111101 "metadata" : {
102+ "execution" : {
103+ "iopub.execute_input" : " 2022-07-29T18:21:25.288658Z" ,
104+ "iopub.status.busy" : " 2022-07-29T18:21:25.288217Z" ,
105+ "iopub.status.idle" : " 2022-07-29T18:21:37.210503Z" ,
106+ "shell.execute_reply" : " 2022-07-29T18:21:37.209863Z"
107+ },
112108 "pycharm" : {
113109 "name" : " #%%\n "
114110 }
115111 },
116- "outputs" : [
117- {
118- "name" : " stdout" ,
119- "output_type" : " stream" ,
120- "text" : [
121- " {'mutation.eta': 24.01087920319256, 'mutation.prob': 0.31947746041945063, 'crossover.zeta': 0.19712354833387533, 'crossover.eta': 0.06510354041781266, 'family_size': 9, 'n_parents': 10, 'n_offsprings': 2, 'pop_size': 122}\n " ,
122- " Best solution found: \n " ,
123- " X = [0.49931263 0.49971117 0.49995666 0.50012005 0.49995485 0.49954006\n " ,
124- " 0.50013753 0.49992644 0.50004025 0.50003723]\n " ,
125- " F = [8.13108862e-07]\n "
126- ]
127- }
128- ],
112+ "outputs" : [],
129113 "source" : [
130114 " from pymoo.algorithms.hyperparameters import SingleObjectiveSingleRun, HyperparameterProblem\n " ,
131115 " from pymoo.algorithms.soo.nonconvex.g3pcx import G3PCX\n " ,
168152 },
169153 {
170154 "cell_type" : " code" ,
171- "execution_count" : 3 ,
155+ "execution_count" : null ,
172156 "metadata" : {
157+ "execution" : {
158+ "iopub.execute_input" : " 2022-07-29T18:21:37.213740Z" ,
159+ "iopub.status.busy" : " 2022-07-29T18:21:37.213398Z" ,
160+ "iopub.status.idle" : " 2022-07-29T18:21:44.233047Z" ,
161+ "shell.execute_reply" : " 2022-07-29T18:21:44.232092Z"
162+ },
173163 "pycharm" : {
174164 "name" : " #%%\n "
175165 }
176166 },
177- "outputs" : [
178- {
179- "name" : " stdout" ,
180- "output_type" : " stream" ,
181- "text" : [
182- " {'mutation.eta': 10.202478525408438, 'mutation.prob': 0.18217181670454258, 'crossover.zeta': 0.2672212328003948, 'crossover.eta': 0.038505365248462986, 'family_size': 10, 'n_parents': 4, 'n_offsprings': 5, 'pop_size': 169}\n " ,
183- " Best solution found: \n " ,
184- " X = [0.49931151 0.49958918 0.49947128 0.50076286 0.50029319 0.50035433\n " ,
185- " 0.4995032 0.49959396 0.49910168 0.50016305]\n " ,
186- " F = [2.96104366e-06]\n "
187- ]
188- }
189- ],
167+ "outputs" : [],
190168 "source" : [
191169 " from pymoo.algorithms.hyperparameters import SingleObjectiveSingleRun, HyperparameterProblem\n " ,
192170 " from pymoo.algorithms.soo.nonconvex.g3pcx import G3PCX\n " ,
231209 },
232210 {
233211 "cell_type" : " code" ,
234- "execution_count" : 4 ,
212+ "execution_count" : null ,
235213 "metadata" : {
214+ "execution" : {
215+ "iopub.execute_input" : " 2022-07-29T18:21:44.237637Z" ,
216+ "iopub.status.busy" : " 2022-07-29T18:21:44.237353Z" ,
217+ "iopub.status.idle" : " 2022-07-29T18:22:00.709442Z" ,
218+ "shell.execute_reply" : " 2022-07-29T18:22:00.708080Z"
219+ },
236220 "pycharm" : {
237221 "name" : " #%%\n "
238222 }
239223 },
240- "outputs" : [
241- {
242- "name" : " stdout" ,
243- "output_type" : " stream" ,
244- "text" : [
245- " =================================================\n " ,
246- " n_gen | n_eval | f_avg | f_min \n " ,
247- " =================================================\n " ,
248- " 1 | 5 | 0.0011469191 | 0.0001158058\n " ,
249- " 2 | 10 | 0.0003004380 | 1.324378E-06\n " ,
250- " 3 | 15 | 0.0001083746 | 1.324378E-06\n " ,
251- " 4 | 20 | 0.0000604004 | 1.324378E-06\n " ,
252- " 5 | 25 | 6.940028E-06 | 1.324378E-06\n " ,
253- " 6 | 30 | 2.363478E-06 | 1.324378E-06\n " ,
254- " 7 | 35 | 2.184765E-06 | 1.324378E-06\n " ,
255- " 8 | 40 | 1.801311E-06 | 1.290965E-06\n " ,
256- " 9 | 45 | 1.457222E-06 | 7.690855E-07\n " ,
257- " 10 | 50 | 1.457222E-06 | 7.690855E-07\n " ,
258- " {'mutation.eta': 3.003840525176007, 'mutation.prob': 0.2613802441259011, 'crossover.zeta': 0.2092756091839343, 'crossover.eta': 0.13100894947710487, 'family_size': 9, 'n_parents': 7, 'n_offsprings': 4, 'pop_size': 63}\n " ,
259- " Best solution found: \n " ,
260- " X = [0.50058063 0.50049996 0.49944047 0.49958107 0.50008284 0.50007215\n " ,
261- " 0.49972702 0.50003434 0.49996608 0.50038491]\n " ,
262- " F = [1.31273882e-06]\n "
263- ]
264- }
265- ],
224+ "outputs" : [],
266225 "source" : [
267226 " from pymoo.algorithms.hyperparameters import HyperparameterProblem, MultiRun, stats_single_objective_mean\n " ,
268227 " from pymoo.algorithms.soo.nonconvex.g3pcx import G3PCX\n " ,
307266 },
308267 {
309268 "cell_type" : " code" ,
310- "execution_count" : 5 ,
269+ "execution_count" : null ,
311270 "metadata" : {
271+ "execution" : {
272+ "iopub.execute_input" : " 2022-07-29T18:22:00.714327Z" ,
273+ "iopub.status.busy" : " 2022-07-29T18:22:00.713885Z" ,
274+ "iopub.status.idle" : " 2022-07-29T18:22:17.733850Z" ,
275+ "shell.execute_reply" : " 2022-07-29T18:22:17.733006Z"
276+ },
312277 "pycharm" : {
313278 "name" : " #%%\n "
314279 }
315280 },
316- "outputs" : [
317- {
318- "name" : " stdout" ,
319- "output_type" : " stream" ,
320- "text" : [
321- " =================================================\n " ,
322- " n_gen | n_eval | f_avg | f_min \n " ,
323- " =================================================\n " ,
324- " 1 | 5 | 5.298000E+02 | 5.030000E+02\n " ,
325- " 2 | 10 | 4.895333E+02 | 4.276667E+02\n " ,
326- " 3 | 15 | 4.763333E+02 | 4.276667E+02\n " ,
327- " 4 | 20 | 4.571333E+02 | 4.276667E+02\n " ,
328- " 5 | 25 | 4.411333E+02 | 4.276667E+02\n " ,
329- " 6 | 30 | 4.382000E+02 | 4.276667E+02\n " ,
330- " 7 | 35 | 4.360667E+02 | 4.276667E+02\n " ,
331- " 8 | 40 | 4.200667E+02 | 3.850000E+02\n " ,
332- " 9 | 45 | 4.068667E+02 | 3.850000E+02\n " ,
333- " 10 | 50 | 4.068667E+02 | 3.850000E+02\n " ,
334- " {'mutation.eta': 22.546590161392896, 'mutation.prob': 0.13789985939149485, 'crossover.zeta': 0.20871365511506024, 'crossover.eta': 0.12039717249146664, 'family_size': 10, 'n_parents': 7, 'n_offsprings': 4, 'pop_size': 65}\n " ,
335- " Best solution found: \n " ,
336- " X = [0.5005912 0.499759 0.50062838 0.49857344 0.49949559 0.50094711\n " ,
337- " 0.49905868 0.49954207 0.49892447 0.50003376]\n " ,
338- " F = [6.24263744e-06]\n "
339- ]
340- }
341- ],
281+ "outputs" : [],
342282 "source" : [
343283 " from pymoo.algorithms.hyperparameters import HyperparameterProblem, MultiRun, stats_avg_nevals\n " ,
344284 " from pymoo.algorithms.soo.nonconvex.g3pcx import G3PCX\n " ,
389329 "name" : " python" ,
390330 "nbconvert_exporter" : " python" ,
391331 "pygments_lexer" : " ipython3" ,
392- "version" : " 3.8.8 "
332+ "version" : " 3.10.5 "
393333 },
394334 "pycharm" : {
395335 "stem_cell" : {
403343 },
404344 "nbformat" : 4 ,
405345 "nbformat_minor" : 4
406- }
346+ }
0 commit comments