I\'d like to write a \"smart monitor\" in Java that sends out an alert any time it detects oncoming performance issues. My Java app is writing data in a structured form
Perhaps Apache Spark MLlib will help you:
The linear SVM is a standard method for large-scale classification tasks. It is a linear method as described above in equation (1), with the loss function in the formulation given by the hinge loss:
L(w;x,y):=max{0,1−ywTx}.
By default, linear SVMs are trained with an L2 regularization. We also support alternative L1 regularization. In this case, the problem becomes a linear program.
The linear SVMs algorithm outputs an SVM model. Given a new data point, denoted by x, the model makes predictions based on the value of wTx. By the default, if wTx≥0 then the outcome is positive, and negative otherwise.