“…val data = Vector( Vector("1", "0", "10"), Vector("0", "0", "10"), Vector("1", "0", "10"), Vector("0", "1", "20"), Vector("0", "0", "10"), Vector("1", "1", "20"), Vector("1", "0", "10")) val gain = InfoGainTransformer() .setNFeatures (2) .setSelectNF ( (4), DenseVector(numList.take(4).toArray)) } IDA. For IDA, cut points are computed in parallel, in order to get the most recent computed cut point, data is reduced to get the latest set of cuts.…”