Apache Sqoop Examples

Prerequisites of Apache Sqoop Examples The prerequisites for these examples are the same as for the previous post of Sqoop. These examples create a database “myddbb” and a table with values entered “mytable” and another empty table...

Linear Regression in Scala

The following post shows the steps to recreate an example of linear regression in Scala. Set the data set Defines the set of data to apply to the model. import org.apache.spark.ml.linalg.Vectors val df = spark.createDataFrame(Seq( (0, 60), (0, 56), (0, 54), (0, 62),...