File: index.html

package info (click to toggle)
octave-fuzzy-logic-toolkit 0.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,024 kB
  • sloc: makefile: 147
file content (598 lines) | stat: -rw-r--r-- 23,309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Octave Fuzzy Logic Toolkit</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
    <script type="text/javascript" async
      src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML">
    </script>
    <style>
    var {
      font-style: italics;
      font-weight: bold;
    }
    td {
      vertical-align: top;
    }
    </style>
  </head>
  <body>
    <div class="bg-dark">
      <div class="container-xl">
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
          <div class="container-fluid">
            <a class="navbar-brand" href=https://gnu-octave.github.io/packages/fuzzy-logic-toolkit>
              <img src="assets/fuzzy-logic-toolkit.png" alt="fuzzy-logic-toolkit" class="d-inline-block align-top" width="25" height="25">
              Octave Fuzzy Logic Toolkit
            </a>
            <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
              <ul class="navbar-nav">
                <li class="nav-item">
                  <a class="nav-link" href="https://gnu-octave.github.io/packages/">
                  <img src="assets/octave-logo.svg" alt="GNU Octave logo" class="d-inline-block align-top" width="25" height="25">
                    Octave Packages
                  </a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="https://www.octave.org">
                    <i class="fas fa-home"></i>
                    GNU Octave website
                  </a>
                </li>
              </ul>
            </div>
          </div>
        </nav>
      </div>
    </div>
    <div class="container-xl my-4">
      <div class="card rounded">
        <div class="card-header card-header-mod">
          <div class="row d-flex flex-wrap align-items-center">
            <div class="col-sm-3 col-md-2 mb-2 mb-sm-0">
              <img src="assets/fuzzy-logic-toolkit.png" class="d-block m-auto" alt="fuzzy-logic-toolkit">
            </div>
            <div class="col-sm-9 col-md-10">
              <h3 class="d-inline-block mr-2">fuzzy-logic-toolkit</h3>
              <b>0.6.2&nbsp;2025-05-15</b>
              <p class="indent">
                A mostly MATLAB-compatible fuzzy logic toolkit for Octave.
              </p>
            </div>
          </div>
        </div>
        <div class="card-body">
           <p>Select Category:
             <select name="cat" onchange="location = this.options[this.selectedIndex].value;">
             <option value="#Evaluation">Evaluation</option>
             <option value="#Plotting">Plotting</option>
             <option value="#File Input/Output of Fuzzy Inference Systems">File Input/Output of Fuzzy Inference Systems</option>
             <option value="#Command-Line Creation and Modification of Fuzzy Inference Systems">Command-Line Creation and Modification of Fuzzy Inference Systems</option>
             <option value="#Text Representation of Fuzzy Inference Systems">Text Representation of Fuzzy Inference Systems</option>
             <option value="#Membership Functions">Membership Functions</option>
             <option value="#T-Norms and S-Norms (in addition to max/min)">T-Norms and S-Norms (in addition to max/min)</option>
             <option value="#Complete Fuzzy Inference System Demos">Complete Fuzzy Inference System Demos</option>
             <option value="#Fuzzy Clustering Functions">Fuzzy Clustering Functions</option>
             </select>
           <p>

           <h3 class="category">
             <a name="Evaluation">Evaluation</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="defuzz.html">defuzz</a>
                   </code></b>
                 </td>
                 <td>For a given domain, set of fuzzy function values, and defuzzification
method, return the defuzzified (crisp) value of the fuzzy function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="evalfis.html">evalfis</a>
                   </code></b>
                 </td>
                 <td>Return the crisp output(s) of an FIS for each row in a matrix of crisp
input values.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="evalmf.html">evalmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain, set of parameters, membership function type, and
optional hedge and not_flag, return the corresponding y-values for the
membership function.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Plotting">Plotting</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="gensurf.html">gensurf</a>
                   </code></b>
                 </td>
                 <td>Generate and plot a surface (or 2-dimensional curve) showing one FIS
output as a function of two (or one) of the FIS inputs.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="plotmf.html">plotmf</a>
                   </code></b>
                 </td>
                 <td>Plot the membership functions defined for the specified FIS input or
output variable on a single set of axes.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="File Input/Output of Fuzzy Inference Systems">File Input/Output of Fuzzy Inference Systems</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="readfis.html">readfis</a>
                   </code></b>
                 </td>
                 <td>Read the information in an FIS file, and using this information, create
and return an FIS structure.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="writefis.html">writefis</a>
                   </code></b>
                 </td>
                 <td>Save the specified FIS currently in the Octave workspace to a file named
by the user.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Command-Line Creation and Modification of Fuzzy Inference Systems">Command-Line Creation and Modification of Fuzzy Inference Systems</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="addmf.html">addmf</a>
                   </code></b>
                 </td>
                 <td>Add a membership function to an existing FIS structure and return the
updated FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="addrule.html">addrule</a>
                   </code></b>
                 </td>
                 <td>Add a list of rules to an existing FIS structure and return the updated
FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="addvar.html">addvar</a>
                   </code></b>
                 </td>
                 <td>Add an input or output variable to an existing FIS structure and return
the updated FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="newfis.html">newfis</a>
                   </code></b>
                 </td>
                 <td>Create and return a new FIS structure using the argument values
provided.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="rmmf.html">rmmf</a>
                   </code></b>
                 </td>
                 <td>Remove a membership function from an existing FIS structure and return
the updated FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="rmvar.html">rmvar</a>
                   </code></b>
                 </td>
                 <td>Remove an input or output variable from an existing FIS structure and
return the updated FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="setfis.html">setfis</a>
                   </code></b>
                 </td>
                 <td>Set a property (field) value of an FIS structure and return the updated
FIS.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Text Representation of Fuzzy Inference Systems">Text Representation of Fuzzy Inference Systems</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="getfis.html">getfis</a>
                   </code></b>
                 </td>
                 <td>Return or print the property (field) values of an FIS structure
specified by the arguments.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="showfis.html">showfis</a>
                   </code></b>
                 </td>
                 <td>Print all of the property (field) values of the FIS structure and its
substructures.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="showrule.html">showrule</a>
                   </code></b>
                 </td>
                 <td>Show the rules for an FIS structure in verbose, symbolic, or indexed
format.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Membership Functions">Membership Functions</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="dsigmf.html">dsigmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A1 C1 A2 C2]), return
the corresponding Y values for the difference between two sigmoidal
membership functions.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="gauss2mf.html">gauss2mf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [SIG1 C1 SIG2 C2]),
return the corresponding Y values for the two-sided Gaussian composite
membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="gaussmf.html">gaussmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [SIG C]), return the
corresponding Y values for the Gaussian membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="gbellmf.html">gbellmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B C]), return the
corresponding Y values for the generalized bell-shaped membership
function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="pimf.html">pimf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B C D]), return the
corresponding Y values for the pi-shaped membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="psigmf.html">psigmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A1 C1 A2 C2]), return
the corresponding Y values for the product of two sigmoidal membership
functions.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="sigmf.html">sigmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A C]), return the
corresponding Y values for the sigmoidal membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="smf.html">smf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B]), return the
corresponding Y values for the S-shaped membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="trapmf.html">trapmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B C D]), return the
corresponding Y values for the trapezoidal membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="trimf.html">trimf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B C]), return the
corresponding Y values for the triangular membership function.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="zmf.html">zmf</a>
                   </code></b>
                 </td>
                 <td>For a given domain X and parameters PARAMS (or [A B]), return the
corresponding Y values for the Z-shaped membership function.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="T-Norms and S-Norms (in addition to max/min)">T-Norms and S-Norms (in addition to max/min)</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="algebraic_product.html">algebraic_product</a>
                   </code></b>
                 </td>
                 <td>Return the algebraic product of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="algebraic_sum.html">algebraic_sum</a>
                   </code></b>
                 </td>
                 <td>Return the algebraic sum of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="bounded_difference.html">bounded_difference</a>
                   </code></b>
                 </td>
                 <td>Return the bounded difference of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="bounded_sum.html">bounded_sum</a>
                   </code></b>
                 </td>
                 <td>Return the bounded sum of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="drastic_product.html">drastic_product</a>
                   </code></b>
                 </td>
                 <td>Return the drastic product of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="drastic_sum.html">drastic_sum</a>
                   </code></b>
                 </td>
                 <td>Return the drastic sum of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="einstein_product.html">einstein_product</a>
                   </code></b>
                 </td>
                 <td>Return the Einstein product of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="einstein_sum.html">einstein_sum</a>
                   </code></b>
                 </td>
                 <td>Return the Einstein sum of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="hamacher_product.html">hamacher_product</a>
                   </code></b>
                 </td>
                 <td>Return the Hamacher product of the input.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="hamacher_sum.html">hamacher_sum</a>
                   </code></b>
                 </td>
                 <td>Return the Hamacher sum of the input.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Complete Fuzzy Inference System Demos">Complete Fuzzy Inference System Demos</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="cubic_approx_demo.html">cubic_approx_demo</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of the Octave Fuzzy Logic Toolkit to approximate a
non-linear function using a Sugeno-type FIS with linear output
functions.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="heart_disease_demo_1.html">heart_disease_demo_1</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of newfis, addvar, addmf, and addrule to build and
evaluate an FIS.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="heart_disease_demo_2.html">heart_disease_demo_2</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of the Octave Fuzzy Logic Toolkit to read and
evaluate a Sugeno-type FIS stored in a file.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="investment_portfolio_demo.html">investment_portfolio_demo</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of the Octave Fuzzy Logic Toolkit to read and
evaluate a Mamdani-type FIS stored in a file.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="linear_tip_demo.html">linear_tip_demo</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of linear output membership functions to simulate
constant membership functions.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="mamdani_tip_demo.html">mamdani_tip_demo</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of the Octave Fuzzy Logic Toolkit to read and
evaluate a Mamdani-type FIS stored in a file.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="sugeno_tip_demo.html">sugeno_tip_demo</a>
                   </code></b>
                 </td>
                 <td>Demonstrate the use of the Octave Fuzzy Logic Toolkit to read and
evaluate a Sugeno-type FIS with multiple outputs stored in a text file.</td>
               </tr>
             </tbody>
           </table>
           <h3 class="category">
             <a name="Fuzzy Clustering Functions">Fuzzy Clustering Functions</a>
           </h3>
           <table class="table table-striped">
             <tbody>
               <tr>
                 <td>
                   <b><code>
                   <a href="fcm.html">fcm</a>
                   </code></b>
                 </td>
                 <td>Using the Fuzzy C-Means algorithm, calculate and return the soft
partition of a set of unlabeled data points.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="gustafson_kessel.html">gustafson_kessel</a>
                   </code></b>
                 </td>
                 <td>Using the Gustafson-Kessel algorithm, calculate and return the soft
partition of a set of unlabeled data points.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="partition_coeff.html">partition_coeff</a>
                   </code></b>
                 </td>
                 <td>Return the partition coefficient for a given soft partition.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="partition_entropy.html">partition_entropy</a>
                   </code></b>
                 </td>
                 <td>Return the partition entropy for a given soft partition.</td>
               </tr>
               <tr>
                 <td>
                   <b><code>
                   <a href="xie_beni_index.html">xie_beni_index</a>
                   </code></b>
                 </td>
                 <td>Return the Xie-Beni validity index for a given soft partition.</td>
               </tr>
             </tbody>
           </table>

        </div>
      </div>
    </div>

  </body>
</html>