Fuzzy logic in java

元气小坏坏 提交于 2019-12-04 12:21:15

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).

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.

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