Intel® oneAPI Data Analytics Library
Learn from community members on how to build compute-intensive applications that run efficiently on Intel® architecture.

SVM Accuracy

Hemanth_D_Intel
Employee
562 Views

I am working with the DAAL SVM. There is a procedure to get the predicted labels for a test dataset:

PredictionResult predictionResult = algorithm.compute();

NumericTable PredictionResult predictionResult = algorithm.compute();

NumericTable predictionResults = predictionResult.get(PredictionResultId.prediction);

 

predictionResults is an array of predicted labels.

Is there a way to get the prediction accuracy and the probability of prediction labels (similar to LibSVM or Logistic Regression).

The role of PredictionResultId.prediction is not evident to me. Do we need to extend the PredictionResultId class to get the accuracy and probabilities?

 

-Hemanth

0 Kudos
2 Replies
Andrey_N_Intel
Employee
562 Views

Hi Hemanth,

We plan to support probability of labels/prediction accuracy in one of future releases of Intel(R) DAAL. Thanks for asking.

Andrey

0 Kudos
Bulusheva__Anna
Beginner
562 Views
Hello! Do you support probability of labels/prediction accuracy now? And could I get distance to neighbor in KNN?
0 Kudos
Reply