Does anyone know how one could access fuzzy logic from javascript? I have a good fuzzy library in Java and C++, but I wanted something I could run from HTML5/javascript.
In more simple words, A Fuzzy logic stat can be 0, 1 or in between these numbers i.e. 0.17 or 0.54. For example, In Boolean, we may say glass of hot water ( i.e 1 or High) or glass of cold water i.e. (0 or low), but in Fuzzy logic, We may say glass of warm water (neither hot nor cold).
Fuzzy searching matches the meaning, not necessarily the precise wording or specified phrases. It performs something the same as full-text search against data to see likely misspellings and approximate string matching.
Fuzzy logic is an approach to computing based on "degrees of truth" rather than the usual "true or false" (1 or 0) Boolean logic on which the modern computer is based. The idea of fuzzy logic was first advanced by Lotfi Zadeh of the University of California at Berkeley in the 1960s.
fuzzy inference process usually includes four parts: fuzzification, fuzzy rules base, inference method, and defuzzification, as shown in Figure 1: 1.
There are two projects avaliable:
https://github.com/marcolanaro/JS-Fuzzy - ready to use in browser
https://github.com/sebs/node-fuzzylogic - nodejs module, could be used in browser
Options are:
Options 1) or 2) could work fine depending upon the details of the situation. Option 3) is generally a bad idea unless it's a very specialized application that somehow makes it worth dealing with the distribution, maintenance, testing and user headaches of a plug-in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With