Skip to content

Commit

Permalink
Resync with pyspark-stubs (revert blockify gmm)
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Sep 23, 2020
1 parent b9ac4f8 commit fab00f1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions python/pyspark/ml/clustering.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ from pyspark.ml.util import (
from pyspark.ml.wrapper import JavaEstimator, JavaModel, JavaParams, JavaWrapper
from pyspark.ml.param.shared import (
HasAggregationDepth,
HasBlockSize,
HasCheckpointInterval,
HasDistanceMeasure,
HasFeaturesCol,
Expand Down Expand Up @@ -71,7 +70,6 @@ class _GaussianMixtureParams(
HasTol,
HasAggregationDepth,
HasWeightCol,
HasBlockSize,
):
k: Param[int]
def __init__(self, *args: Any): ...
Expand Down Expand Up @@ -115,8 +113,7 @@ class GaussianMixture(
maxIter: int = ...,
seed: Optional[int] = ...,
aggregationDepth: int = ...,
weightCol: Optional[str] = ...,
blockSize: int = ...
weightCol: Optional[str] = ...
) -> None: ...
def setParams(
self,
Expand All @@ -129,8 +126,7 @@ class GaussianMixture(
maxIter: int = ...,
seed: Optional[int] = ...,
aggregationDepth: int = ...,
weightCol: Optional[str] = ...,
blockSize: int = ...
weightCol: Optional[str] = ...
) -> GaussianMixture: ...
def setK(self, value: int) -> GaussianMixture: ...
def setMaxIter(self, value: int) -> GaussianMixture: ...
Expand All @@ -141,7 +137,6 @@ class GaussianMixture(
def setSeed(self, value: int) -> GaussianMixture: ...
def setTol(self, value: float) -> GaussianMixture: ...
def setAggregationDepth(self, value: int) -> GaussianMixture: ...
def setBlockSize(self, value: int) -> GaussianMixture: ...

class GaussianMixtureSummary(ClusteringSummary):
@property
Expand Down

0 comments on commit fab00f1

Please sign in to comment.