1. Learn
  2. /
  3. คอร์ส
  4. /
  5. Foundations of PySpark

Connected

แบบฝึกหัด

Create the modeler

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

คำแนะนำ

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