1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Foundations of PySpark

Connected

Bài tập

Create the modeler

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

Hướng dẫn

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