Performance evaluation of machine learning models
Compare Watson cognitive service models and get various performance metrics
Machine learning models are numerous and are created to achieve specific tasks. This code pattern shows you a way to compare Watson cognitive service models to help you decide which model performs better for a particular set of data and which might be best for your needs. The code pattern gives you a platform to configure models, provide input data, and run and prepare performance evaluation statistics.
Cognitive services like the Watson services cover many AI scenarios. And in the machine learning world, different models are being created to achieve different tasks. With so many models available, how do you decide which model to use or which model is performing better? The correct question is, which model best fits your needs. This code pattern provides details about Watson cognitive service models for performance evaluation and comparison. The Watson Model Evaluation Workbench application gives you a platform to configure, execute, and test cognitive models, prepare performance evaluation metrics, and calculate performance statistics like confusion matrices and ROC curves. Different models perform differently for a given set of data, and this code pattern helps you determine which model is best for your needs.
- User launches the application.
- Cloud authenticates the request and redirects it to the application.
- Parses input data provided for evaluating the models.
- Invokes the adapter, which calls cognitive services like Natural Language Classifier and Natural Language Understanding.
- Parses the cognitive model services configuration.
- Connects to cognitive services.
- Gets response from cognitive services.
- Compares the expected result with the actual result and does performance evaluations.
- Performance results are sent back to client devices.
- Performance analysis is shown on the UI.
Find the detailed steps for this pattern in the README. The steps will show you how to:
- Determine the prerequisites.
- Create the cognitive models.
- Deploy the application to IBM Cloud.
- Deploy the application to the local machine.
- Run the application.
- Analyze the results.