Intel® oneAPI Data Analytics Library
Learn from community members on how to build compute-intensive applications that run efficiently on Intel® architecture.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

SVM Accuracy

Hemanth_D_Intel
Employee
339 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
339 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

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