How can I display the predicted labels in command window or in a text file.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Javid Hamdard
el 3 de Ag. de 2021
Comentada: Walter Roberson
el 11 de Ag. de 2021
I have trained two models: Model A is trained on 34 classes of words, and Model B is Trained on 14 classes of alphanumeric characters. I should load both models at the same time in order to recognize the word and alphanumeric characters series from vehicle license plate, and then display the predicted lables into command window or write the results to text file. Everthing work well until classification of each word and characters, but I don't know how to dispaly the classification result into text file or display the results into command window. Therefore, I am in dire need of your help. Thank you very much all of you.
7 comentarios
Walter Roberson
el 10 de Ag. de 2021
The part of the code that caused 'HRT 875326 %' to be displayed: show us that.
The part of the code that cause 'SEVEN 99.9979 %' to be displayed: show us that.
Javid Hamdard
el 11 de Ag. de 2021
Editada: Javid Hamdard
el 11 de Ag. de 2021
Respuesta aceptada
Walter Roberson
el 10 de Ag. de 2021
fprintf() or fwrite() to save the information into a file.
For display purposes, you will may need sprintf() or compose() or strjoin() or the [] (horzcat) operator.
3 comentarios
Walter Roberson
el 11 de Ag. de 2021
I looked back through my code and it looks okay.
Notice that I have the assignment statment
predictions_A = cell(1,nfiles);
so even if the number of files turns out to be 0, the variable should be defined.
Please post your current version of the code.
Más respuestas (0)
Ver también
Categorías
Más información sobre Graph and Network Algorithms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

