--
You received this message because you are subscribed to the Google Groups "LearnLib Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to learnlib-qa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/learnlib-qa/70b62490-80c3-4360-a2cf-35d6c5250c10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Teck,
Diego already mentioned all the relavant methods you need for running your passive learning setup. However, there have been a few requests lately regarding how to use the passive learning interfaces, so I created a small example [0] that learns a simple hypothesis given positive and negative samples.
Regarding you second question: Most of the LearnLib/AutomataLib code is intended as library code, so there is no "standalone" application that you can run from the commandline. However, you can write a small main method (similar to what the examples do) that
* reads the training set depending on the format you use,
* runs the passive learning algorithms of LearnLib,
* displays the hypothesis in the format you need
and create an executable JAR (e.g. via the maven-shade-plugin) that runs your main method.
Hope this helps,
Markus
[0] - https://github.com/LearnLib/learnlib/blob/develop/examples/src/main/java/de/learnlib/examples/passive/Example1.java
On Thu, May 16, 2019 at 12:59:46AM -0700, Teck Ping Khoo wrote:
> Hi
>
> I tried to find guides on how to use passive learning (eg RPNI) using
> learnlib but I could not find any.
>
> 1. Assuming I have an input file containing positive and negative words.
> What should the format of the input file be?
> 2. Is it possible to run the jar file directly on the input file using
> command line?
>
> Thanks!
> Teck Ping
>
> --
> You received this message because you are subscribed to the Google Groups "LearnLib Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to learn...@googlegroups.com.