Home Forums Kamanja Forums Problems & Solutions Adding model using add model command

This topic contains 1 reply, has 1 voice, and was last updated by  William Tarver 6 months ago.

  • Author
    Posts
  • #27388 Reply

    Vipin

    In documentation (http://documentation.kamanja.org/architecture/kamanja-components.html ) there is a list of supported mining model types is given.
    So if i have to use NAIVEBAYESMODEL  i will use “add model NAIVEBAYESMODEL” command  and will provide the path of the model. Please correct me here if i am wrong.

    So if my model is in scala i can directly use “add model scala” instead of “add model NAIVEBAYESMODEL” and provide path to my model. If this is correct, then i can execute any model which is not listed in the documentation ? Please correct me if i m wrong.

  • #27394 Reply

    William Tarver

    Hi Vipin,

    <span style=”color: #3a3a3a; font-family: Glegoo;”>I took a look at the documentation and it is misleading. Everything in that list starting from BASELINEMODEL to TREEMODEL are all types of PMML models that we have verified. If you wanted to add a </span><span style=”color: #3a3a3a; font-family: Glegoo;”>NAIVEBAYESMODEL, you’d actually want to run “kamanja add model pmml” and provide the path to your model. The command syntax is as such:</span>

    kamanja add model pmml input MODELNAME namespace.name MODELVERSION nn.nn.nn MESSAGENAME namespace.name TENANTID <tenantId>

    I’ve opened a documentation bug https://github.com/LigaData/Kamanja/issues/1540 to help clear up confusion.

Reply To: Adding model using add model command
Your information: