Live data from Hacker News

Fuzzy Logic

en.wikipedia.org

1–10 of 43 posts

Re: Fuzzy Logic

#3
Just earlier today I was reading through a lab available as part of the J programming language distribution covering fuzzy logic.

I'm sure I've read the Wikipedia page for fuzzy logic but the lab really helped to drive home some of the concepts. Additionally, it was a very cool application for J, which is often derided as being a strictly numerical tool. The lab describes itself as:

... how to create a linguistic inference system using fuzzy sets. Such systems of linguistic variables are referred to as fuzzy logic systems.

First we describe the concept of membership with nonfuzzy and fuzzy sets. Then we tackle fuzzy membership for scalar and array fuzzy sets, and later inference with array sets.

It really is better to work through the lab within the J system[0], but for those without it is browse-able in plain text online[1]

[0]: Help -> Studio -> Labs -> General Interest / Fuzzy Logic

[1]: https://github.com/jsoftware/labs_labs/blob/master/general/f...

Re: Fuzzy Logic

#5
post #4

A great application of this in real life is rice cookers.

I think washings machines, some digital cameras, and also a train station system in Japan were some other famous applications (from what I can remember).

Re: Fuzzy Logic

#7

Just earlier today I was reading through a lab available as part of the J programming language distribution covering fuzzy logic. I'm sure I've read the Wikipedia page for fuzzy logic but the lab really helped to drive home some of the concepts. Additionally, it was a very cool application for J, which is often derided as being a strictly numerical tool. The lab describes itself as: ... how to create a linguistic inf…

Looks interesting! Haven't heard about J before. I only knew Matlab toolbox for fuzzy sets/logic, and a C and another Java libraries. Shame GitHub syntax hightlight doesn't seem to work well with J files. Will check out the project and try to learn more about it, thanks!

Re: Fuzzy Logic

#8
"Fuzzy logic is a form of many-valued logic in which the truth values of variables may be any real number between 0 and 1 both inclusive. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely false."

Can someone explain how this is different than bayesian statistics?

Re: Fuzzy Logic

#9
post #8

"Fuzzy logic is a form of many-valued logic in which the truth values of variables may be any real number between 0 and 1 both inclusive. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely false." Can someone explain how this is different than bayesian statistics?

Bayesian statistics is one approach to modelling fuzziness and uncertainty, but fuzzy logic explores other approaches. For example, see https://en.wikipedia.org/wiki/Possibility_theory

Also fuzzy logic builds a "traditional" logical framework for deduction on terms, again this is a bit different from Bayesian approach, which is more abductive reasoning.

Re: Fuzzy Logic

#10
post #8

"Fuzzy logic is a form of many-valued logic in which the truth values of variables may be any real number between 0 and 1 both inclusive. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely false." Can someone explain how this is different than bayesian statistics?

Did you wake up early this morning? Can you always answer that by a clear yes or no? When do you draw the limit between them? At 7:30? So if you woke up at 7:29:59 you would answer Yes and later No.

Instead you could put a distribution (but NOT a probability distribution) for belonging in the set of early that would look something like this.

If you wake up before 6:30 it would definitely 100% be early and at 8:30 it would. Or at 8:30 it would not at all, 0%, be early. Between there we would put some kind of partly belonging to Early rises.

In probability it is either or, but lack of knowledge makes us, but put a probability on what it is. In fuzzy logic, it is a bit of both at the same time.

Post reply on HN