jActivity2PMML

Published by teco-kit on November 5, 2016
Saturday, November 5, 2016

This package illustrates how to deploy our code to create PMML models for sensor data collected via jActivity. You can run the function getPMML(json_file) by handing over a JSON file containing "sensor", "label" and "classifier" information.

Example: {"sensor" : ["devicemotion","deviceorientation"], "label" : "('walking', 'standing')", "classifier" : "rpart"}

To install and run the package in OpenCPU, do the following:

Install in R

library(devtools) install_github("jActivity2PMML")

#Load the app library(opencpu) opencpu$browse("/library/jActivity2PMML/www")


2

Technologies: 
R
Developed by: 
KIT
License: 
Other
Rating: 
No votes yet