July 2018
Intermediate to advanced
474 pages
13h 37m
English
This section will walk through the steps of applying our model and evaluating the results.
features = df.columns[1:]
from pyspark.ml.feature import VectorAssemblerfeature_vectors = VectorAssembler( inputCols = features, outputCol = "features")
df = feature_vectors.transform(df)
Read now
Unlock full access