This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new ea6b25767fb8 Revert "[SPARK-45396][PYTHON] Add doc entry for
`pyspark.ml.connect` module, and adds `Evaluator` to `__all__` at `ml.connect`"
ea6b25767fb8 is described below
commit ea6b25767fb86732c108c759fd5393caee22f129
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Thu Feb 15 09:20:57 2024 +0900
Revert "[SPARK-45396][PYTHON] Add doc entry for `pyspark.ml.connect`
module, and adds `Evaluator` to `__all__` at `ml.connect`"
This reverts commit 35b627a934b1ab28be7d6ba88fdad63dc129525a.
---
python/docs/source/reference/index.rst | 1 -
.../docs/source/reference/pyspark.ml.connect.rst | 122 ---------------------
python/pyspark/ml/connect/__init__.py | 3 +-
3 files changed, 1 insertion(+), 125 deletions(-)
diff --git a/python/docs/source/reference/index.rst
b/python/docs/source/reference/index.rst
index 6330636839cd..ed3eb4d07dac 100644
--- a/python/docs/source/reference/index.rst
+++ b/python/docs/source/reference/index.rst
@@ -31,7 +31,6 @@ Pandas API on Spark follows the API specifications of latest
pandas release.
pyspark.pandas/index
pyspark.ss/index
pyspark.ml
- pyspark.ml.connect
pyspark.streaming
pyspark.mllib
pyspark
diff --git a/python/docs/source/reference/pyspark.ml.connect.rst
b/python/docs/source/reference/pyspark.ml.connect.rst
deleted file mode 100644
index 1a3e6a593980..000000000000
--- a/python/docs/source/reference/pyspark.ml.connect.rst
+++ /dev/null
@@ -1,122 +0,0 @@
-.. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
-.. http://www.apache.org/licenses/LICENSE-2.0
-
-.. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-
-MLlib (DataFrame-based) for Spark Connect
-=========================================
-
-.. warning::
- The namespace for this package can change in the future Spark version.
-
-
-Pipeline APIs
--------------
-
-.. currentmodule:: pyspark.ml.connect
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- Transformer
- Estimator
- Model
- Evaluator
- Pipeline
- PipelineModel
-
-
-Feature
--------
-
-.. currentmodule:: pyspark.ml.connect.feature
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- MaxAbsScaler
- MaxAbsScalerModel
- StandardScaler
- StandardScalerModel
-
-
-Classification
---------------
-
-.. currentmodule:: pyspark.ml.connect.classification
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- LogisticRegression
- LogisticRegressionModel
-
-
-Functions
----------
-
-.. currentmodule:: pyspark.ml.connect.functions
-
-.. autosummary::
- :toctree: api/
-
- array_to_vector
- vector_to_array
-
-
-Tuning
-------
-
-.. currentmodule:: pyspark.ml.connect.tuning
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- CrossValidator
- CrossValidatorModel
-
-
-Evaluation
-----------
-
-.. currentmodule:: pyspark.ml.connect.evaluation
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- RegressionEvaluator
- BinaryClassificationEvaluator
- MulticlassClassificationEvaluator
-
-
-Utilities
----------
-
-.. currentmodule:: pyspark.ml.connect.io_utils
-
-.. autosummary::
- :template: autosummary/class_with_docs.rst
- :toctree: api/
-
- ParamsReadWrite
- CoreModelReadWrite
- MetaAlgorithmReadWrite
-
diff --git a/python/pyspark/ml/connect/__init__.py
b/python/pyspark/ml/connect/__init__.py
index e6115a62ccfe..2ee152f6a38a 100644
--- a/python/pyspark/ml/connect/__init__.py
+++ b/python/pyspark/ml/connect/__init__.py
@@ -28,14 +28,13 @@ from pyspark.ml.connect import (
evaluation,
tuning,
)
-from pyspark.ml.connect.evaluation import Evaluator
from pyspark.ml.connect.pipeline import Pipeline, PipelineModel
__all__ = [
"Estimator",
"Transformer",
- "Evaluator",
+ "Estimator",
"Model",
"feature",
"evaluation",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]