Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions third_party/3/pyspark/ml/regression.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,10 @@ class GeneralizedLinearRegression(JavaEstimator[GeneralizedLinearRegressionModel
linkPredictionCol: Param
variancePower: Param
linkPower: Param
def __init__(self, *, labelCol: str = ..., featuresCol: str = ..., predictionCol: str = ..., family: str = ..., link: Optional[str] = ..., fitIntercept: bool = ..., maxIter: int = ..., tol: float = ..., regParam: float = ..., weightCol: Optional[str] = ..., solver: str = ..., linkPredictionCol: Optional[str] = ..., variancePower: float = ..., linkPower: Optional[float] = ...) -> None: ...
def setParams(self, *, labelCol: str = ..., featuresCol: str = ..., predictionCol: str = ..., family: str = ..., link: Optional[str] = ..., fitIntercept: bool = ..., maxIter: int = ..., tol: float = ..., regParam: float = ..., weightCol: Optional[str] = ..., solver: str = ..., linkPredictionCol: Optional[str] = ..., variancePower: float = ..., linkPower: Optional[float] = ...) -> GeneralizedLinearRegression: ...
solver: Param
offsetCol: Param
def __init__(self, *, labelCol: str = ..., featuresCol: str = ..., predictionCol: str = ..., family: str = ..., link: Optional[str] = ..., fitIntercept: bool = ..., maxIter: int = ..., tol: float = ..., regParam: float = ..., weightCol: Optional[str] = ..., solver: str = ..., linkPredictionCol: Optional[str] = ..., variancePower: float = ..., linkPower: Optional[float] = ..., offsetCol: Optional[str] = ...) -> None: ...
def setParams(self, *, labelCol: str = ..., featuresCol: str = ..., predictionCol: str = ..., family: str = ..., link: Optional[str] = ..., fitIntercept: bool = ..., maxIter: int = ..., tol: float = ..., regParam: float = ..., weightCol: Optional[str] = ..., solver: str = ..., linkPredictionCol: Optional[str] = ..., variancePower: float = ..., linkPower: Optional[float] = ..., offsetCol: Optional[str] = ...) -> GeneralizedLinearRegression: ...
def setFamily(self, value: str) -> GeneralizedLinearRegression: ...
def getFamily(self) -> str: ...
def setLinkPredictionCol(self, value: str) -> GeneralizedLinearRegression: ...
Expand All @@ -245,6 +247,8 @@ class GeneralizedLinearRegression(JavaEstimator[GeneralizedLinearRegressionModel
def getVariancePower(self) -> float: ...
def setLinkPower(self, value: float) -> GeneralizedLinearRegression: ...
def getLinkPower(self) -> float: ...
def setOffsetCol(self, value: str) -> GeneralizedLinearRegression: ...
def getOffsetCol(self) -> str: ...

class GeneralizedLinearRegressionModel(JavaModel, JavaPredictionModel, JavaMLWritable, JavaMLReadable[GeneralizedLinearRegressionModel], HasTrainingSummary):
@property
Expand Down