Giter VIP home page Giter VIP logo

jfuzzylite's Issues

Create rules

Hello, I have been searching for a Fuzzy Logic related Java project and found this.

Can I use this API to create rules giving it some data?

Thank you in advance.

Probabilities of Mandani FIS output terms

Hello Dr,
first of all, thanks a lot for your wonderful work on jfuzzylite. It has really helped me a lot in my project. I have realized that the probabilities of the output for the terms of an output variable does not always add up to 1 and I would want you to assist me with a clarification on that.
Thanks.

jfuzzylite 5.0.1 in Maven

jfuzzylite 5.0 has a bug when using multiple propositions in antecedents joined by fuzzy operators AND and OR. This bug was fixed in jfuzzylite 5.0.1, which was submitted (multiple times) to Maven, but for strange reasons has not been updated in the central repository. Until then, the library must be downloaded manually from http://www.fuzzylite.com/downloads or from the git releases.

The error in jfuzzylite 5.0 occurs as follows:

Exception in thread "main" java.lang.RuntimeException: [syntax error] logical operator expects two operands, but found <3>
at com.fuzzylite.rule.Antecedent.load(Antecedent.java:246)
at com.fuzzylite.rule.Rule.load(Rule.java:203)
at com.fuzzylite.rule.Rule.parse(Rule.java:219)

Error when I want to use file importer (FLL format)

I'm trying to use the next code in Java for Android:

InputStream inputStream = context.getAssets().open("FuzzyRules.fll");
String content = IOUtils.toString(inputStream);
Engine engine = new FllImporter().fromString(content);

The content of file is the example ObstacleAvoidance (I just copy and paste). I validated the content in String and it is correct. I get and error when the Engine is built. The error obtained is:
java.lang.RuntimeException: [import error] expected a colon at here:

Is there any clue about that Error? thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.