How to measure how long it takes to run on test set ?

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 5 de Dic. de 2020

4 comentarios

so like this timeit(Y_knn)
No, like this
timeit(@() knn.predict(Xtest))
thank you
I am glad to be of help!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Parallel Computing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 5 de Dic. de 2020

Editada:

el 5 de Dic. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by