Giter VIP home page Giter VIP logo

inferrer's People

Contributors

marcofavorito avatar steynvl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inferrer's Issues

Is there a way to learn a complete DFA?

Hi, I was using your RPNI implementation in a project I'm working on, and I notice that it learns an incomplete DFA. Here's an example:
incomplete_dfa

In a complete DFA, every transition should be defined in every state. But the last state is undefined for each transition. I understand that, implicitly, this state transitions to a sink state on each input. That's all well and good, but for my use case, it would be really nice if I could have the explicit, complete DFA. Is there a simple switch I can flip to make this happen? Thanks!

endless processing when the length of single string sample > 5

For the sample below :
%22+
Math
.ran
dom(
)+%2
233e
call: python /usr/local/bin/inferrer/cli.py /tmp/params/rnd /tmp/no rpni
Gives the result of:
(t|r|o|n|m|h|e|d|a|M|3|2|.|+|)|(|%)*

While for the sample below, only extends the last item:
%22+
Math
.ran
dom(
)+%2
233eab
call: python /usr/local/bin/inferrer/cli.py /tmp/params/rnd /tmp/no rpni
---->go into endless processing

From top, the process of "python" takes 100% cpu.

What is the correct way of running the nlstar algorithm?

Hi, I'm trying to run the nlstar algorithm on the examples on the /resources folder but the process won't terminate. I don't know if I'm doing it incorrectly or if the process is just meant to take a while. Support will be greatly appreciated.

python cli.py resources/positive_01.txt resources/negative_01.txt nlstar --show-dfa

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.