NaiveBayes

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

"\nResults\n=======\n\nCorrectly Classified Instances        8778               73.15   %\nIncorrectly Classified Instances      3222               26.85   %\nKappa statistic                          0.7015\nMean absolute error                      0.0536\nRoot mean squared error                  0.2308\nRelative absolute error                 29.8094 %\nRoot relative squared error             76.9527 %\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/NaiveBayes/0.1.1