Fuzzy logic in java

本小妞迷上赌 提交于 2020-03-18 06:56:12

问题


I have been given a new project module which involves fuzzy logic. It is to determine different Hydrometeors using fuzzy logic method.I have very little idea about what fuzzy logic is. So I would like to have some advice from people who have already done projects using fuzzy logic in Java (like what are the basic programming strategies I can adopt).

I have come across a fuzzy logc API. People who have used it please comment on how useful it is.


回答1:


Fuzzy logic is an abstract concept that is completely independant of programming lanuages. The basic idea is that instead of boolean logic where any statement is either "true" or "false", you use a continuum where a statement can be anywhere between "100% true" and "0% true". This allows you to model some real-world scenarios much better than boolean logic, but of course requires different (more complex) rules for combining statements.

I have not used the API library you linked to, but it looks pretty well-maintained at first glance (it has been updated regularly, there is a recent release, and even an eclipse plugin).




回答2:


We developed a fuzzy logic matching algorithm in Java to find similarity in Strings.

https://github.com/intuit/fuzzy-matcher

In real life cases where a binary result is not enough and want to find similar matches, Fuzzy logic is widely useful.

For example if you have a set of names like

["John Doe","Jack Miller","Jon Doe","J Doe","Miller J"]

And want to group similar names together and find a probability on how similar they are

So running the library will group ["John Doe","Jon Doe","J Doe"] together and group ["Jack Miller","Miller J"] together

The GitHub page is well documented and see if that helps in understanding how fuzzy logic works.



来源:https://stackoverflow.com/questions/3491283/fuzzy-logic-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!