Pyspark, Mongodb, AWS, Machine Learning.
ParamGridBuilder().addGrid(lr.maxIter, [1000]).addGrid(lr.regParam, [0.0001, 0.001, 0.005, 0.01, 0.05, 0.1, 0.5]).build() #setEstimatorParamMaps() takes ParamGridBuilder(). cv.setEstimatorParamMaps(paramGrid) cvmodel = cv.fit(train_va) We evaluate the model’s by using multi-class F1 score since