AI 2

Before we understand the approach to testing Machine Learning applications, let’s look at the steps involved in building them. The following are the general steps involved in building a machine learning application as recommended by the Amazon Machine Learning portal:

  • Frame the core ML problem(s) in terms of what is observed and what answer you want the model to predict.
  • Collect, clean, and prepare data to make it suitable for consumption by ML model training algorithms. Visualize and analyze the data to run sanity checks to validate the quality of the data and to understand the data.
  • Often, the raw data (input variables) and answer (target) are not represented in a way that can be used to train a highly predictive model. Therefore, you typically should attempt to construct more predictive input representations or features from the raw variables.
  • Feed the resulting features to the learning algorithm to build models and evaluate the quality of the models on data that was held out from model building.
  • Use the model to generate predictions of the target answer for new data instances.

The first step “What to predict” forms the basis for the rest in the sequence above. Now, there are occasions where “rule-based systems” can be useful to build a solution instead of using Machine Learning techniques. Zuci did a webinar a year ago titled, “Smart Phones, Smart Apps call for Smarter Tests” where we discussed the differences between rule-based systems and  next generation solutions such as Machine Learning. Check out the video to know more.

Going back to the two organizations that we were in discussions with, the question “What to predict” was the actual application/solution/product, the companies were building. While one of the companies used Machine Learning to build a prediction solution for the Investment sector, the Machine Learning based prediction solution designed by the other company was targeted at multiple industries such as Retail, Healthcare and Financial Services.

Both the organizations had a team of Data Scientists (Ph. D’s in Mathematics/Statistics), who came up with the mathematical models for the machine learning algorithms. The mathematical models were converted to software programs using a team of software architects. Front end developers participated in building visually rich user interfaces for the applications using technologies such as JavaScript, HTML5, CSS, Angular, React and others.

So, how did the organizations handle Testing? What was Zuci’s role in Testing the applications?

(To be Continued …)

 

Read more

Testing Artificial Intelligence systems – Myth vs Reality (Part 4)

Testing Artificial Intelligence systems – Myth vs Reality (Part 3)

Testing Artificial Intelligence systems – Myth vs Reality

Similar posts

Machine Learning and Artificial Intelligence: Software Testing to get “smarter”?

Who is Brad Parscale?