1. Learn
  2. /
  3. Cursuri
  4. /
  5. Foundations of PySpark

Connected

exercițiu

Create the modeler

The Estimator you'll be using is a LogisticRegression from the pyspark.ml.classification submodule.

Instrucțiuni

100 XP
  • Import the LogisticRegression class from pyspark.ml.classification.
  • Create a LogisticRegression called lr by calling LogisticRegression() with no arguments.