Skip to content

Commit e3733c5

Browse files
committed
cleaned up showcase
1 parent 1f92d9c commit e3733c5

File tree

1 file changed

+77
-150
lines changed

1 file changed

+77
-150
lines changed

docs/Showcase.ipynb

Lines changed: 77 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"execution_count": 1,
3939
"metadata": {
4040
"execution": {
41-
"iopub.execute_input": "2022-02-11T12:46:02.022654Z",
42-
"iopub.status.busy": "2022-02-11T12:46:02.019720Z",
43-
"iopub.status.idle": "2022-02-11T12:46:04.581653Z",
44-
"shell.execute_reply": "2022-02-11T12:46:04.580593Z",
45-
"shell.execute_reply.started": "2022-02-11T12:46:02.022559Z"
41+
"iopub.execute_input": "2022-02-11T14:00:00.636135Z",
42+
"iopub.status.busy": "2022-02-11T14:00:00.635667Z",
43+
"iopub.status.idle": "2022-02-11T14:00:01.606620Z",
44+
"shell.execute_reply": "2022-02-11T14:00:01.605916Z",
45+
"shell.execute_reply.started": "2022-02-11T14:00:00.636013Z"
4646
}
4747
},
4848
"outputs": [],
@@ -56,37 +56,11 @@
5656
"execution_count": 2,
5757
"metadata": {
5858
"execution": {
59-
"iopub.execute_input": "2022-02-11T12:46:04.584463Z",
60-
"iopub.status.busy": "2022-02-11T12:46:04.584224Z",
61-
"iopub.status.idle": "2022-02-11T12:46:04.603533Z",
62-
"shell.execute_reply": "2022-02-11T12:46:04.601616Z",
63-
"shell.execute_reply.started": "2022-02-11T12:46:04.584428Z"
64-
},
65-
"tags": []
66-
},
67-
"outputs": [
68-
{
69-
"name": "stdout",
70-
"output_type": "stream",
71-
"text": [
72-
"/media/sf_Dropbox/code/fuzzylogic/src\n"
73-
]
74-
}
75-
],
76-
"source": [
77-
"%cd ~/Desktop/sf_Dropbox/code/fuzzylogic/src"
78-
]
79-
},
80-
{
81-
"cell_type": "code",
82-
"execution_count": 3,
83-
"metadata": {
84-
"execution": {
85-
"iopub.execute_input": "2022-02-11T12:46:04.608263Z",
86-
"iopub.status.busy": "2022-02-11T12:46:04.606545Z",
87-
"iopub.status.idle": "2022-02-11T12:46:04.892135Z",
88-
"shell.execute_reply": "2022-02-11T12:46:04.890034Z",
89-
"shell.execute_reply.started": "2022-02-11T12:46:04.608206Z"
59+
"iopub.execute_input": "2022-02-11T14:00:01.607900Z",
60+
"iopub.status.busy": "2022-02-11T14:00:01.607645Z",
61+
"iopub.status.idle": "2022-02-11T14:00:01.620872Z",
62+
"shell.execute_reply": "2022-02-11T14:00:01.619723Z",
63+
"shell.execute_reply.started": "2022-02-11T14:00:01.607866Z"
9064
}
9165
},
9266
"outputs": [],
@@ -97,63 +71,16 @@
9771
"T = Domain(\"test\", 0, 30, res=0.1)"
9872
]
9973
},
100-
{
101-
"cell_type": "code",
102-
"execution_count": 4,
103-
"metadata": {
104-
"execution": {
105-
"iopub.execute_input": "2022-02-11T12:46:04.897438Z",
106-
"iopub.status.busy": "2022-02-11T12:46:04.895155Z",
107-
"iopub.status.idle": "2022-02-11T12:46:05.032721Z",
108-
"shell.execute_reply": "2022-02-11T12:46:05.031941Z",
109-
"shell.execute_reply.started": "2022-02-11T12:46:04.897254Z"
110-
},
111-
"tags": []
112-
},
113-
"outputs": [],
114-
"source": [
115-
"import fuzzylogic"
116-
]
117-
},
11874
{
11975
"cell_type": "code",
12076
"execution_count": 5,
12177
"metadata": {
12278
"execution": {
123-
"iopub.execute_input": "2022-02-11T12:46:05.036151Z",
124-
"iopub.status.busy": "2022-02-11T12:46:05.035393Z",
125-
"iopub.status.idle": "2022-02-11T12:46:05.082539Z",
126-
"shell.execute_reply": "2022-02-11T12:46:05.081757Z",
127-
"shell.execute_reply.started": "2022-02-11T12:46:05.036116Z"
128-
},
129-
"tags": []
130-
},
131-
"outputs": [
132-
{
133-
"data": {
134-
"text/plain": [
135-
"(1, 2, 0)"
136-
]
137-
},
138-
"execution_count": 5,
139-
"metadata": {},
140-
"output_type": "execute_result"
141-
}
142-
],
143-
"source": [
144-
"fuzzylogic.__version__"
145-
]
146-
},
147-
{
148-
"cell_type": "code",
149-
"execution_count": 6,
150-
"metadata": {
151-
"execution": {
152-
"iopub.execute_input": "2022-02-11T12:46:05.085220Z",
153-
"iopub.status.busy": "2022-02-11T12:46:05.083703Z",
154-
"iopub.status.idle": "2022-02-11T12:46:06.231179Z",
155-
"shell.execute_reply": "2022-02-11T12:46:06.230445Z",
156-
"shell.execute_reply.started": "2022-02-11T12:46:05.085166Z"
79+
"iopub.execute_input": "2022-02-11T14:00:01.736363Z",
80+
"iopub.status.busy": "2022-02-11T14:00:01.735715Z",
81+
"iopub.status.idle": "2022-02-11T14:00:02.099682Z",
82+
"shell.execute_reply": "2022-02-11T14:00:02.098869Z",
83+
"shell.execute_reply.started": "2022-02-11T14:00:01.736295Z"
15784
}
15885
},
15986
"outputs": [
@@ -177,14 +104,14 @@
177104
},
178105
{
179106
"cell_type": "code",
180-
"execution_count": 7,
107+
"execution_count": 6,
181108
"metadata": {
182109
"execution": {
183-
"iopub.execute_input": "2022-02-11T12:46:06.232997Z",
184-
"iopub.status.busy": "2022-02-11T12:46:06.232335Z",
185-
"iopub.status.idle": "2022-02-11T12:46:06.525264Z",
186-
"shell.execute_reply": "2022-02-11T12:46:06.524531Z",
187-
"shell.execute_reply.started": "2022-02-11T12:46:06.232962Z"
110+
"iopub.execute_input": "2022-02-11T14:00:02.101098Z",
111+
"iopub.status.busy": "2022-02-11T14:00:02.100800Z",
112+
"iopub.status.idle": "2022-02-11T14:00:02.430325Z",
113+
"shell.execute_reply": "2022-02-11T14:00:02.428760Z",
114+
"shell.execute_reply.started": "2022-02-11T14:00:02.101064Z"
188115
}
189116
},
190117
"outputs": [
@@ -208,14 +135,14 @@
208135
},
209136
{
210137
"cell_type": "code",
211-
"execution_count": 8,
138+
"execution_count": 7,
212139
"metadata": {
213140
"execution": {
214-
"iopub.execute_input": "2022-02-11T12:46:06.527151Z",
215-
"iopub.status.busy": "2022-02-11T12:46:06.526472Z",
216-
"iopub.status.idle": "2022-02-11T12:46:06.821245Z",
217-
"shell.execute_reply": "2022-02-11T12:46:06.820216Z",
218-
"shell.execute_reply.started": "2022-02-11T12:46:06.527130Z"
141+
"iopub.execute_input": "2022-02-11T14:00:02.432683Z",
142+
"iopub.status.busy": "2022-02-11T14:00:02.432237Z",
143+
"iopub.status.idle": "2022-02-11T14:00:02.752773Z",
144+
"shell.execute_reply": "2022-02-11T14:00:02.751743Z",
145+
"shell.execute_reply.started": "2022-02-11T14:00:02.432629Z"
219146
}
220147
},
221148
"outputs": [
@@ -239,14 +166,14 @@
239166
},
240167
{
241168
"cell_type": "code",
242-
"execution_count": 9,
169+
"execution_count": 8,
243170
"metadata": {
244171
"execution": {
245-
"iopub.execute_input": "2022-02-11T12:46:06.823496Z",
246-
"iopub.status.busy": "2022-02-11T12:46:06.822846Z",
247-
"iopub.status.idle": "2022-02-11T12:46:07.114798Z",
248-
"shell.execute_reply": "2022-02-11T12:46:07.113732Z",
249-
"shell.execute_reply.started": "2022-02-11T12:46:06.823444Z"
172+
"iopub.execute_input": "2022-02-11T14:00:02.754616Z",
173+
"iopub.status.busy": "2022-02-11T14:00:02.754274Z",
174+
"iopub.status.idle": "2022-02-11T14:00:03.066898Z",
175+
"shell.execute_reply": "2022-02-11T14:00:03.065777Z",
176+
"shell.execute_reply.started": "2022-02-11T14:00:02.754579Z"
250177
}
251178
},
252179
"outputs": [
@@ -277,14 +204,14 @@
277204
},
278205
{
279206
"cell_type": "code",
280-
"execution_count": 10,
207+
"execution_count": 9,
281208
"metadata": {
282209
"execution": {
283-
"iopub.execute_input": "2022-02-11T12:46:07.117099Z",
284-
"iopub.status.busy": "2022-02-11T12:46:07.116320Z",
285-
"iopub.status.idle": "2022-02-11T12:46:07.503653Z",
286-
"shell.execute_reply": "2022-02-11T12:46:07.502843Z",
287-
"shell.execute_reply.started": "2022-02-11T12:46:07.117075Z"
210+
"iopub.execute_input": "2022-02-11T14:00:03.072354Z",
211+
"iopub.status.busy": "2022-02-11T14:00:03.070409Z",
212+
"iopub.status.idle": "2022-02-11T14:00:03.546087Z",
213+
"shell.execute_reply": "2022-02-11T14:00:03.545267Z",
214+
"shell.execute_reply.started": "2022-02-11T14:00:03.072127Z"
288215
}
289216
},
290217
"outputs": [
@@ -328,26 +255,26 @@
328255
},
329256
{
330257
"cell_type": "code",
331-
"execution_count": 11,
258+
"execution_count": 10,
332259
"metadata": {
333260
"execution": {
334-
"iopub.execute_input": "2022-02-11T12:46:07.505704Z",
335-
"iopub.status.busy": "2022-02-11T12:46:07.505042Z",
336-
"iopub.status.idle": "2022-02-11T12:46:07.905406Z",
337-
"shell.execute_reply": "2022-02-11T12:46:07.904635Z",
338-
"shell.execute_reply.started": "2022-02-11T12:46:07.505669Z"
261+
"iopub.execute_input": "2022-02-11T14:00:03.549056Z",
262+
"iopub.status.busy": "2022-02-11T14:00:03.548767Z",
263+
"iopub.status.idle": "2022-02-11T14:00:03.947664Z",
264+
"shell.execute_reply": "2022-02-11T14:00:03.946497Z",
265+
"shell.execute_reply.started": "2022-02-11T14:00:03.549018Z"
339266
}
340267
},
341268
"outputs": [
342269
{
343270
"data": {
344271
"text/plain": [
345-
"{Set(<function minus.<locals>.f at 0x7fe6af756f70>): 0.5443310539518174,\n",
346-
" Set(<function very.<locals>.f at 0x7fe6af7564c0>): 0.6400000000000001,\n",
347-
" Set(<function bounded_sum.<locals>.f at 0x7fe6aee54550>): 0.8359591794226543}"
272+
"{Set(<function minus.<locals>.f at 0x7f2ba31c34c0>): 0.5443310539518174,\n",
273+
" Set(<function very.<locals>.f at 0x7f2ba31c3550>): 0.6400000000000001,\n",
274+
" Set(<function bounded_sum.<locals>.f at 0x7f2ba31ba4c0>): 0.8359591794226543}"
348275
]
349276
},
350-
"execution_count": 11,
277+
"execution_count": 10,
351278
"metadata": {},
352279
"output_type": "execute_result"
353280
},
@@ -387,26 +314,26 @@
387314
},
388315
{
389316
"cell_type": "code",
390-
"execution_count": 12,
317+
"execution_count": 11,
391318
"metadata": {
392319
"execution": {
393-
"iopub.execute_input": "2022-02-11T12:46:07.907267Z",
394-
"iopub.status.busy": "2022-02-11T12:46:07.906614Z",
395-
"iopub.status.idle": "2022-02-11T12:46:08.226085Z",
396-
"shell.execute_reply": "2022-02-11T12:46:08.221558Z",
397-
"shell.execute_reply.started": "2022-02-11T12:46:07.907244Z"
320+
"iopub.execute_input": "2022-02-11T14:00:03.950001Z",
321+
"iopub.status.busy": "2022-02-11T14:00:03.949556Z",
322+
"iopub.status.idle": "2022-02-11T14:00:04.299699Z",
323+
"shell.execute_reply": "2022-02-11T14:00:04.298889Z",
324+
"shell.execute_reply.started": "2022-02-11T14:00:03.949955Z"
398325
}
399326
},
400327
"outputs": [
401328
{
402329
"data": {
403330
"text/plain": [
404-
"{Set(<function bounded_sigmoid.<locals>.f at 0x7fe6af775310>): 0.5,\n",
405-
" Set(<function bounded_sigmoid.<locals>.f at 0x7fe6aeee2f70>): 0.012195121951219511,\n",
406-
" Set(<function MIN.<locals>.F at 0x7fe6aeeb1670>): 0.5}"
331+
"{Set(<function bounded_sigmoid.<locals>.f at 0x7f2ba31baee0>): 0.5,\n",
332+
" Set(<function bounded_sigmoid.<locals>.f at 0x7f2ba305bee0>): 0.012195121951219511,\n",
333+
" Set(<function MIN.<locals>.F at 0x7f2ba3045550>): 0.5}"
407334
]
408335
},
409-
"execution_count": 12,
336+
"execution_count": 11,
410337
"metadata": {},
411338
"output_type": "execute_result"
412339
},
@@ -446,14 +373,14 @@
446373
},
447374
{
448375
"cell_type": "code",
449-
"execution_count": 13,
376+
"execution_count": 12,
450377
"metadata": {
451378
"execution": {
452-
"iopub.execute_input": "2022-02-11T12:46:08.227993Z",
453-
"iopub.status.busy": "2022-02-11T12:46:08.227718Z",
454-
"iopub.status.idle": "2022-02-11T12:46:08.623446Z",
455-
"shell.execute_reply": "2022-02-11T12:46:08.622825Z",
456-
"shell.execute_reply.started": "2022-02-11T12:46:08.227959Z"
379+
"iopub.execute_input": "2022-02-11T14:00:04.301233Z",
380+
"iopub.status.busy": "2022-02-11T14:00:04.300963Z",
381+
"iopub.status.idle": "2022-02-11T14:00:04.610831Z",
382+
"shell.execute_reply": "2022-02-11T14:00:04.609763Z",
383+
"shell.execute_reply.started": "2022-02-11T14:00:04.301198Z"
457384
}
458385
},
459386
"outputs": [
@@ -503,14 +430,14 @@
503430
},
504431
{
505432
"cell_type": "code",
506-
"execution_count": 14,
433+
"execution_count": 13,
507434
"metadata": {
508435
"execution": {
509-
"iopub.execute_input": "2022-02-11T12:46:08.627214Z",
510-
"iopub.status.busy": "2022-02-11T12:46:08.626935Z",
511-
"iopub.status.idle": "2022-02-11T12:46:08.718524Z",
512-
"shell.execute_reply": "2022-02-11T12:46:08.717185Z",
513-
"shell.execute_reply.started": "2022-02-11T12:46:08.627181Z"
436+
"iopub.execute_input": "2022-02-11T14:00:04.612617Z",
437+
"iopub.status.busy": "2022-02-11T14:00:04.612278Z",
438+
"iopub.status.idle": "2022-02-11T14:00:04.718613Z",
439+
"shell.execute_reply": "2022-02-11T14:00:04.717544Z",
440+
"shell.execute_reply.started": "2022-02-11T14:00:04.612574Z"
514441
}
515442
},
516443
"outputs": [
@@ -577,14 +504,14 @@
577504
},
578505
{
579506
"cell_type": "code",
580-
"execution_count": 15,
507+
"execution_count": 14,
581508
"metadata": {
582509
"execution": {
583-
"iopub.execute_input": "2022-02-11T12:46:08.720385Z",
584-
"iopub.status.busy": "2022-02-11T12:46:08.720107Z",
585-
"iopub.status.idle": "2022-02-11T12:46:14.799250Z",
586-
"shell.execute_reply": "2022-02-11T12:46:14.798457Z",
587-
"shell.execute_reply.started": "2022-02-11T12:46:08.720351Z"
510+
"iopub.execute_input": "2022-02-11T14:00:04.720094Z",
511+
"iopub.status.busy": "2022-02-11T14:00:04.719775Z",
512+
"iopub.status.idle": "2022-02-11T14:00:05.401916Z",
513+
"shell.execute_reply": "2022-02-11T14:00:05.400727Z",
514+
"shell.execute_reply.started": "2022-02-11T14:00:04.720060Z"
588515
},
589516
"tags": []
590517
},

0 commit comments

Comments
 (0)