The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Extract Algorithm to Java Code

v123456v123456 Member Posts: 1 image Learner III
edited November 2018 in Help
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
Tagged:

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 image RM Data Scientist
    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
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • JEdwardJEdward RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 578 image Unicorn
    Naive bayes is a pretty simple algorithm. 
    You could take the distribution table from the model output and implement that in Java. 
Sign In or Register to comment.