Support Vector Machine for Java?

后端 未结 4 1988
你的背包
你的背包 2021-01-31 05:05

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

4条回答
  •  甜味超标
    2021-01-31 05:40

    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.

提交回复
热议问题