NaiveBayesMultinomialUpdateable

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

"\nResults\n=======\n\nCorrectly Classified Instances        8923               74.3583 %\nIncorrectly Classified Instances      3077               25.6417 %\nKappa statistic                          0.715 \nMean absolute error                      0.0517\nRoot mean squared error                  0.2188\nRelative absolute error                 28.7555 %\nRoot relative squared error             72.9571 %\nTotal Number of Instances            12000     \n"

Install & Use

Use

curl -X POST -d '{
"trainUrl":"data://weka/WekaSampleCollection/train.arff",
"cv":5,
"options":"",
"mode":"train",
"modelUrl":"data://.algo/temp/model.txt"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/weka/NaiveBayesMultinomialUpdateable/0.1.1