Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
GMM blockify input vectors (#482)
Browse files Browse the repository at this point in the history
Resolves #426
  • Loading branch information
zero323 authored Aug 29, 2020
1 parent 2bee703 commit 48381b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions third_party/3/pyspark/ml/clustering.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class _GaussianMixtureParams(
HasTol,
HasAggregationDepth,
HasWeightCol,
HasBlockSize,
):
k: Param[int]
def getK(self) -> int: ...
Expand Down Expand Up @@ -97,7 +98,8 @@ class GaussianMixture(
maxIter: int = ...,
seed: Optional[int] = ...,
aggregationDepth: int = ...,
weightCol: Optional[str] = ...
weightCol: Optional[str] = ...,
blockSize: int = ...
) -> None: ...
def setParams(
self,
Expand All @@ -110,7 +112,8 @@ class GaussianMixture(
maxIter: int = ...,
seed: Optional[int] = ...,
aggregationDepth: int = ...,
weightCol: Optional[str] = ...
weightCol: Optional[str] = ...,
blockSize: int = ...
) -> GaussianMixture: ...
def setK(self, value: int) -> GaussianMixture: ...
def setMaxIter(self, value: int) -> GaussianMixture: ...
Expand All @@ -121,6 +124,7 @@ 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 48381b0

Please sign in to comment.