weka

weka / WekaClassification / 0.1.9

Weka Classification

Royalty Free
Language
Java
Metrics
API Calls - 43,459 Avg call duration - 21.41sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
"\nResults\n=======\n\nCorrectly Classified Instances       10956               91.3    %\nIncorrectly Classified Instances      1044                8.7    %\nKappa statistic                          0.9033\nMean absolute error                      0.0577\nRoot mean squared error                  0.1417\nRelative absolute error                 32.09   %\nRoot relative squared error             47.2406 %\nTotal Number of Instances            12000     \n"

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run weka/WekaClassification/0.1.9 -d '{
  "trainUrl": "data://weka/WekaSampleCollection/train.arff",
  "cv": 5,
  "options": "",
  "mode": "train",
  "modelUrl": "data://.algo/temp/model.txt",
  "type": "RandomForest"
}' --timeout 300
  
CLI Docs