NaiveBayesMultinomial

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

"\nResults\n=======\n\nCorrectly Classified Instances       10092               84.1    %\nIncorrectly Classified Instances      1908               15.9    %\nKappa statistic                          0.8232\nMean absolute error                      0.0322\nRoot mean squared error                  0.1708\nRelative absolute error                 17.8981 %\nRoot relative squared error             56.9451 %\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/NaiveBayesMultinomial/0.1.1