July 2018
Intermediate to advanced
474 pages
13h 37m
English
This section walks through the steps to fine-tune the model.
logregFT = LogisticRegression( regParam=0.05, elasticNetParam=0.3, maxIter=15,labelCol = "label", featuresCol="features")
pipelineFT = Pipeline(stages=[vectorizer, logregFT])
pipeline_model_FT = pipelineFT.fit(trainDF)
predictDF_FT ...
Read now
Unlock full access