ModelAdvisor does not take into account Model_justification.json. How to get UUID of a rule?
45 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Van Cuong
el 21 de Nov. de 2024 a las 9:36
I use Matlab R2022b. I have a Model_justification.json containing justifications for failed rules in ModelAdvisor. But when I run ModelAdvisor again. It does not take into account this jusfication file.
In justification file, there are UUID for rules failed. I would like to know how to get these UUID?
Thank you.
0 comentarios
Respuestas (1)
Sivsankar
el 26 de Nov. de 2024 a las 5:50
In MATLAB R2022b the Model Advisor does not have a feature to load an already created justification file of “json“ format. You can only enter rationale for the justifications. Refer the following documentation to learn more:
However, in the latest version of MATLAB, the Model Advisor allows you to load a justification file. Leverage the following documentation to understand how to load a justification file :
To get the IDs of the failed checks, you’ll need to create a script to run the Model Advisor programmatically and get the results. For that, you’ll need to create a Model Advisor Application object, set your model and run the Model Advisor App. You can fetch the results of the analysis using ‘getResults’ function. You can leverage the following MathWorks documentation to learn more about this function and how to implement it.
Hope this helps!
1 comentario
Ver también
Categorías
Más información sobre Organize and Deploy Model Advisor Checks 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!