Extract Algorithm to Java Code

v123456
v123456 New Altair Community Member
edited November 2024 in Community Q&A
Hi,

I used a Naive Bayes Algorithm to calculate some data. Because it obviously worked pretty well according to my X-Validation, I would like to extract the algorithm as a Java Code to use it in my Program. How is this possible?

Thank you very much!

Cheers
Felix

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,

    you can embed the java classes. Please be aware that you either need an OEM licence for that or be convenient to use AGPL licence.

    ~Martin
  • JEdward
    JEdward New Altair Community Member
    Naive bayes is a pretty simple algorithm. 
    You could take the distribution table from the model output and implement that in Java.