Machine Learning using DB2 for z/OS data and Spark Part 1

Machine learning is getting popular in the recent years. With most enterprises data are stored in DB2 for z/OS, we will show you how to do machine learning using DB2 for z/OS data and Spark machine learning feature. With an easy to follow example, we will describe how to build a model, train it, test it, and save it using Scala. In Part 1, we will use VectorAssembler to create features as input to our model. In Part 2, we will use R formula.   Suppose we have a group of people with different age, gender, blood pressure (top value), cholesterol ratio, sodium level, potassium level, and the drug they take. We want to build a model to predict the drug (drugY, drugC, or drugX) they take. +—+——+——+——————+———-+———-+—–+ |AGE|GENDER|BP_TOP| CHOLESTEROL_RATIO|   …


Link to Full Article: Machine Learning using DB2 for z/OS data and Spark Part 1